jtamames / SqueezeMeta

A complete pipeline for metagenomic analysis
GNU General Public License v3.0
346 stars 81 forks source link

Spades unequal amount of reads #770

Closed oyac closed 5 months ago

oyac commented 5 months ago

Hello,

I am running my samples in sequential mode, and I did the trimming with trimmomatic first. When it gets to the assembly, with Spades, I get the error " Pair of read files contain unequal amount of reads". Is there a way to fix this, or a workaround?

Thanks!

jtamames commented 5 months ago

Hello Did you run trimmomatic in SqueezeMeta? If so, try running it externally and then provide the resulting fastq. If not, check that you are specifying the correct fastq files. Best, J

oyac commented 5 months ago

Hi , Yes, I used the --cleaning flag so it would run in SqueezeMeta. So, the best option is to run it externally? Thanks,

fpusan commented 5 months ago

Are the original fastq files properly paired?

oyac commented 5 months ago

Yes, the original ones are properly paired.

fpusan commented 5 months ago

Then try as Javier suggested and run trimommatic externally. I will leave this open so we remember to look at this potential bug. Can you share your syslog file with us so we can replicate as best as possible?

oyac commented 5 months ago

Hi, today i started the project in another folder, from the sample that had gone wrong and it went further without any problems.

Thanks,

jtamames commented 5 months ago

Glad to hear! Did you run trimmomatic externally, or in SqueezeMeta as before? Best, J

oyac commented 5 months ago

I started from zero, running trimmomatic within SqueezeMeta.

Cheers,

jtamames commented 5 months ago

Then it works properly. Thanks a lot! Closing issue

fpusan commented 5 months ago

Indeed, I just tested --cleaning on a sequential run with a mock dataset and got no errors