Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPAdes error correction takes very long for some samples #144

Closed
samnooij opened this issue May 12, 2020 · 4 comments
Closed

SPAdes error correction takes very long for some samples #144

samnooij opened this issue May 12, 2020 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@samnooij
Copy link
Collaborator

I have been running a number bacterial metagenomes through Jovian and for some of the samples the de novo assembly step takes much longer than what seems normal. When looking through the log files, it seems SPAdes's error correction step takes several days (5 or more), whereas the assembly itself only takes a few hours. With other samples of similar size this is no issue and error correction finishes in < 12 hours.

This seems to be a known issue with SPAdes (see ablab/spades#152). As a workaround it is suggested to skip the error correction step with the --only-assembler parameter.

This error occurs with SPAdes version 3.11.0-py36_0 (the current standard in Jovian). I can manually update to a newer version (3.14.0 is available via conda now) and see if that helps. Otherwise, I can try the suggested workaround of skipping error correction and hope that strictly trimmed reads (Jovian strict setting: SLIDINGWINDOW:5:30 with trimmomatic) yield decent assemblies.

@aschuerch
Copy link
Collaborator

I would really recommend to use the --only-assembler option and to skip the error correction option. I am not sure how it works for metagenomes, but for whole genomes, the error correction option introduces errors sometimes, especially if you are dealing with a mixture of strains (which might well be the case in a metagenome).

@samnooij
Copy link
Collaborator Author

Thanks for the information @aschuerch ! I will give --only-assembler a try on these metagenomes then. :)

@DennisSchmitz DennisSchmitz added this to the 0.9.8 milestone May 12, 2020
@DennisSchmitz DennisSchmitz added the enhancement New feature or request label May 12, 2020
@DennisSchmitz
Copy link
Owner

Thanks to you both for the information! :)

@amberhendriks also mentioned on slack that updating to the latest version doesn't fix this issue. Something to assess for the next release.

@florianzwagemaker
Copy link
Collaborator

The --only-assembler option was included in DennisSchmitz/jovian@a879dfa

Haven't seen any problems with assembly since, so we'll close this issue for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants