-
Notifications
You must be signed in to change notification settings - Fork 131
Remove usage of aria2 module #811
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
Conversation
30fe8f7
to
b6d0a1c
Compare
IMHO, modules should do one thing, as they do in their pure form on nf-core, unless there is a clear advantage to coupling things together (for example, using a mapper like minimap2 and piping the output to samtools to get BAM or CRAM output instantly and reduce storage usage). And if a module needs to be patched, (IMO) it should preserve its original functionality as closely as possible. This way, it can be reused in other parts of the pipeline just like the unpatched one, since we can only keep one copy in the repository. If I see "aria2", I would expect it to let me download a file, but if it also assumes that the downloaded file is a tarball and unpacks it, that breaks any use case where the downloaded file is not a tarball. In mag we don't have many patched modules either, only this one and
That's a fair point, but in this case it's only one extra job, and only if you use CheckM. I guess there are other parts of MAG where this could be significantly improved. For example, |
But, on second thought, maybe we could just use |
OK fair point @dialvarezs ! I think maybe we should go with your I'm trying to remember why I made the standalone |
@nf-core-bot fix linting |
Thanks again @dialvarezs ! |
Remove a overly specific and a bit ugly patch of aria2 module to download and untar the CheckM db.
Updates the module.
And also update other "util" modules:
PR checklist
nf-core pipelines lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).