# Error in Batch correction step in workflow4metabolomics

**URL:** <https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371>\
**Category:** Uncategorized\
**Tags:** metabolomics, usinggalaxy, workflow4metabolomics, iwc-workflows\
**Created:** [January 27, 2026, 7:40am UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371 "2026-01-27T07:40:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhisek\_Dey](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Abhisek\_Dey](https://help.galaxyproject.org/u/Abhisek_Dey)\
**Post date:** [January 27, 2026, 7:40am UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/1 "2026-01-27T07:40:57Z")

</div>

I am analyzing metabolomics data with workflow4metabolomics pipeline . I have only normal samples no QC, Pool, and blank samples in our experiment. I want to do batch correction but getting following error when I perform batch correction tool -

one additional query if i don’t have those data still I can perform my metabolomics analysis ?

```auto
Error in check.err(table.check) : 
- - - - - - - - -

Error: less than 2 pools specified in at least one batch in sample metadata.
Make sure this is not due to errors in your sampleType coding.

- - - - - - - - -
Calls: meth3L -> check.err
Execution halted
 

```

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 27, 2026, 5:04pm UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/2 "2026-01-27T17:04:37Z")

</div>

Hi @Abhisek_Dey

Which protocol are you following? These details will help:

1. tutorial link (if following one)
2. workflow link (if using one)
3. full name/version of the tool that produced this error (top of the tool form)
4. how this job was set up – find this information on the job information Details page (using the i-icon)

If you share links for the item 1 above then a link to the shared history that would include everything else. Or, you can explain directly, maybe with screenshots. How to. → [How to get faster help with your question](https://help.galaxyproject.org/t/how-to-get-faster-help-with-your-question/11469)

Then, as a guess for why this message was reported

> [@Abhisek\_Dey](#):
>
> ```auto
> Error: less than 2 pools specified in at least one batch in sample metadata.
> Make sure this is not due to errors in your sampleType coding.
> 
> ```

It seems the tool is reporting that it expected replicates for one of the batches. Meaning, at least two samples per batch. This seems important for a batch correction step, any tool, otherwise, there is nothing to compare within a “batch” using just one sample.

And for the larger question here

> [@Abhisek\_Dey](#):
>
> one additional query if i don’t have those data still I can perform my metabolomics analysis ?

I’m not sure if you need to reorganize your data or if this is all you have, but if you don’t have two samples then batch correction at a minimum is likely not possible. Whether the remainder of the protocol is possible is hard to answer without seeing more details. You might need to find an example that sets up the data the way you plan to and then follow the modified protocol. This could involve parameter differences, or different tools. We can try to point you to the scientists who can answer the larger questions if you share where the protocol was sourced from originally.

Let’s start there, thanks! 🙂

---

<div class="post-metadata">

**Author:** ![Abhisek\_Dey](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Abhisek\_Dey](https://help.galaxyproject.org/u/Abhisek_Dey)\
**Post date:** [January 28, 2026, 5:54pm UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/3 "2026-01-28T17:54:25Z")

</div>

HMDB MS search tool is not working, giving blank output in the workflow for metabolomics ([https://workflow4metabolomics.usegalaxy.fr/](https://workflow4metabolomics.usegalaxy.fr/)). I have already the required file needed as an input. I provided the screenshot of the input file , which I processed with the given tutorial link below with lcms data.

**Got the output in HMDB Tool generated file** - Testing HMDB server connexion (1 time(s) )…  
Status: 200 The HMDB server returns that your request (connexion test) was fulfilled  
All searches should be sent successfully to HMDB…(Set verbose to “High” for more information!)

**got the error -** Error GETing [https://www.hmdb.ca/spectra/ms/search:](https://www.hmdb.ca/spectra/ms/search:) Gateway Timeout at /shared/ifbstor1/galaxy/shed\_tools/toolshed.g2.bx.psu.edu/repos/fgiacomoni/hmdb\_ms\_search/29195cb5d378/hmdb\_ms\_search/lib/hmdb.pm line 638.

([Hands-on: Mass spectrometry: LC-MS analysis / Mass spectrometry: LC-MS analysis / Metabolomics](https://training.galaxyproject.org/training-material/topics/metabolomics/tutorials/lcms/tutorial.html#stopover-debriefing-and-preparation-for-next-steps))

 ![Screenshot from 2026-01-28 23-13-17](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/d/d79cd2beaed15b72e013de68dfe3af5c39e60c0a.png)

- List item

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 28, 2026, 10:17pm UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/4 "2026-01-28T22:17:56Z")

</div>

Great! Thanks for sharing more details and let’s keep this tutorial’s questions all together since they seem to be related.

Would you like to generate a share link to the history that contains the error? This will allow us to see all of the data and tool details in context. Then we can tease out whether this is something you should adjust in the usage or inputs versus a technical issue on the server. We can reach out to the [https://workflow4metabolomics.usegalaxy.fr/](https://workflow4metabolomics.usegalaxy.fr/) administrators as well with that context.

How to generate the link. → [How to get faster help with your question](https://help.galaxyproject.org/t/how-to-get-faster-help-with-your-question/11469). You can paste that back here in your next reply. Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![Abhisek\_Dey](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Abhisek\_Dey](https://help.galaxyproject.org/u/Abhisek_Dey)\
**Post date:** [January 29, 2026, 7:37am UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/5 "2026-01-29T07:37:15Z")

</div>

Following website is not working can anyone help ?  
[https://workflow4metabolomics.usegalaxy.fr/](https://workflow4metabolomics.usegalaxy.fr/)

---

<div class="post-metadata">

**Author:** ![Abhisek\_Dey](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@Abhisek\_Dey](https://help.galaxyproject.org/u/Abhisek_Dey)\
**Post date:** [January 29, 2026, 7:40am UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/6 "2026-01-29T07:40:37Z")

</div>

Sir,  
Greetings of the day. I hope you are doing well.  
The website of workflow for metabolomics is not working currently . [https://workflow4metabolomics.usegalaxy.fr/](https://workflow4metabolomics.usegalaxy.fr/)  
Kindly help me

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [January 29, 2026, 10:56pm UTC](https://help.galaxyproject.org/t/error-in-batch-correction-step-in-workflow4metabolomics/17371/7 "2026-01-29T22:56:59Z")

</div>

> [@Abhisek\_Dey](#):
>
> [https://workflow4metabolomics.usegalaxy.fr/](https://workflow4metabolomics.usegalaxy.fr/)

Hi @Abhisek_Dey

### Server access

I am able to load up the website today. Are you able to at least log in?

We had a report back on October from another user. They were having some issues at the server.

- Our topic at this forum → [Is W4M under maintenance?](https://help.galaxyproject.org/t/is-w4m-under-maintenance/16448)

Where I was checking at the dedicated community forum the server hosts for discussions

> [@Is W4M under maintenance?](https://help.galaxyproject.org/t/is-w4m-under-maintenance/16448/2):
>
> Also, I don’t see any topics at the dedicated support forum about a problem yet. People are asking about protocol, not reporting job delays.
> 
> - [Workflow4Metabolomics - IFB Community Support](https://community.france-bioinformatique.fr/c/workflow4metabolomics/10)

I don’t see any topics about the batch correction step having a technical issue in their workflows (or, I missed it) but I do see people asking about other tool errors and getting direct help. This is one example. The community is waiting for more information about the error to help.

- [Unable to run some process on W4M - Workflow4Metabolomics - IFB Community Support](https://community.france-bioinformatique.fr/t/unable-to-run-some-process-on-w4m/6716)

> **Note about the forum's default language**
>
> The forum hosts discussions in French by default but that can be adjusted for anyone who has an account there. I don’t speak French well enough to read/write myself, and I wanted to test using a browser level translation, so I just tried this using [Google Chrome and turned on automatic translation from French to English](https://support.google.com/chrome/answer/173424). It works great! It allows the entire site to be navigated even without an account all in your own language. You can write back in English and the community will be able to read your messages with the Discourse translation settings, or with using the browser-level translations (how I did it or with another browser’s language options).

### How to get help with your current error on the W4M server

1. Share your history with error here and we can try to help with the usage. Using Galaxy is about the same no matter which server you are working at. Then, if it needs more, we can help you to report this to the administrators at their forum with the context we create here from the review.

2. Share your error with the error directly at the [W4M](https://community.france-bioinformatique.fr/c/workflow4metabolomics/10) site. You can get usage help the same as here but also two more things: help with making scientific or logical decisions when using their workflow (since these are the authors) and help with any issues that might be at a lower level on the server (the administrators who run the server).

We hope this helps to explain! It can be difficult to diagnose tool errors without seeing all of the details. I’ll watch for your reply. If you decide to create a topic at the other forum, you are welcome to link it back here to let us know! Thanks! 🙂

* * *

* * *

**Sharing an error for feedback**

If you are not sure how to generate a history share link to the history that contains the workflow output with the error, please see this guide. There is a toggle in the application, then you copy the link and paste it back into your messages.

- Go here → [How to get faster help with your question](https://help.galaxyproject.org/t/how-to-get-faster-help-with-your-question/11469)
- And use this link → [FAQ: Sharing your History](https://training.galaxyproject.org/training-material/faqs/galaxy/histories_sharing.html)

**Xref**

Galaxy Training Network ( **GTN** ) versions of the workflow that you can run at other UseGalaxy servers. Check the “Available at these Galaxies” pull-down menu on each to learn which.

- [GTN Contributor: Workflow4Metabolomics core team](https://training.galaxyproject.org/training-material/hall-of-fame/workflow4metabolomics/)

**IWC** versions of their workflows. These are production quality and are appropriate for HTP use cases.

- [Intergalactic Workflow Commission](https://iwc.galaxyproject.org/?q=w4m) (q=w4m)

* * *

* * *
