Need help running snippy for bacterial genome

I am running snippy for the E. coli sequences using one of my isolates as reference. Was able to do some but for some getting this error “ Fatal error: Exit code 2 ()”. I’d appreciate any suggestions.

Possible cause it shows:
Error Type: Memory Allocation Error
Severity: High

Likely Cause: The ‘samtools sort’ command is failing because the memory allocation parameter ‘-m’ is set to 0 bytes, which is below the minimum required value of 1M.

Recommended Solution:

  1. Open the job configuration or command script where the ‘samtools sort’ command is specified.

  2. Locate the ‘-m’ parameter in the ‘samtools sort’ command.

  3. Set the ‘-m’ parameter to a value greater than or equal to 1M. A typical value could be 2G or 4G, depending on the available memory and the size of the data being processed.

  4. Rerun the job with the updated memory setting.

Welcome @Sudipta_Talukder

Yes, we are looking into the issue with the updated job container for the default version of Snippy.

The current workaround is to fall back to using a prior version that is not impacted: Snippy 4.4.5+galaxy2

That uses a slightly different software stack. To be clear: the memory allocated is probably not really 0 MB but should be based on the job container resources. The resources will never be less than 1 MB, which is still not enough! This is what we are investigating.

The other option is to try at a different server such as UseGalaxy.eu or UseGalaxy.org.au for now. Moving data between servers is easy and encouraged! :slight_smile:

This was uncovered late last week. I’ll follow up more and link a ticket if one is needed. Thank you for reporting the issue here and our apologies for the current troubles!

Update – tracking ticket at Configuration issue snippy 4.6.0+galaxy0 && 4.5.0 · Issue #1415 · galaxyproject/usegalaxy-tools · GitHub