-
Notifications
You must be signed in to change notification settings - Fork 735
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
Remove AMRFinderPlus DB update on each invocation #5232
Conversation
Remove the AMRFinderPlus DB update which is invoked on each Bakta execution, nevertheless, it should be downloaded and installed during the DB download via bakta_db download.
I think it was @jasmezz who added this in because the module wasn't working without it IIRC ? |
Yes, the amrfinder update line comes from here (see also the original bug report in the PR description).
And now in your PR it seems to work again without the line! I am really confused about this flakiness. |
This is really interesting/odd. For Bakta we often see issues with AMRFinderPlus that we cannot reproduce or don't know what is causing these. No, I haven't tested it locally. I just recognized this line and wanted to throw in my 0.02$ as a tool developer that, in principle, this should work w/o this extra invocation of |
That's alright, thank you! I'd prefer to approve your PR of course. I am investigating the issue locally with conda. Stay tuned, this might take a while. |
I cannot find any errors with removing the line on any of conda/singularity/docker. So let's go ahead with this PR. 👍 |
Go ahead and merge @oschwengers 🚀 I need the module asap, so will need to do merge myself if you won't ;) |
Thanks a lot @jasmezz! I'd love to merge this but, unfortunately, I do not have write permissions. |
* master: Added contrast limited adaptive histogram equalization module (nf-core#5268) Leviosam2 index (nf-core#5316) Add subworkflow mapAD (nf-core#5239) Remove AMRFinderPlus DB update on each invocation (nf-core#5232) Revert "add paths in output directive in cellranger cout module" (nf-core#5306) Revert "update kallistobustools count output list" (nf-core#5307) Igv reports (nf-core#5263) Remove unnecessary .view() in subworkflows/nf-core/vcf_phase_shapeit5 & tests/modules/nf-core/shapeit5/ligate/main.nf (nf-core#5280) Add wittyer as module (nf-core#5171) Bamstats (nf-core#4474) gatk4_asereadcounter add updated meta and nf-tests (nf-core#5164) 4557 new module kaijumergeoutputs + stub Kraken2/Kraken2 (nf-core#5249) add cram/index support to bwamem2 (nf-core#5248) Add README to modules build with Docker (nf-core#4935) update paths for VEP (nf-core#5281) nf-test bases2fastq (nf-core#5272) Add module seqfu/stats (nf-core#5275)
* master: Added contrast limited adaptive histogram equalization module (nf-core#5268) Leviosam2 index (nf-core#5316) Add subworkflow mapAD (nf-core#5239) Remove AMRFinderPlus DB update on each invocation (nf-core#5232) Revert "add paths in output directive in cellranger cout module" (nf-core#5306) Revert "update kallistobustools count output list" (nf-core#5307) Igv reports (nf-core#5263) Remove unnecessary .view() in subworkflows/nf-core/vcf_phase_shapeit5 & tests/modules/nf-core/shapeit5/ligate/main.nf (nf-core#5280) Add wittyer as module (nf-core#5171) Bamstats (nf-core#4474) gatk4_asereadcounter add updated meta and nf-tests (nf-core#5164) 4557 new module kaijumergeoutputs + stub Kraken2/Kraken2 (nf-core#5249) add cram/index support to bwamem2 (nf-core#5248) Add README to modules build with Docker (nf-core#4935) update paths for VEP (nf-core#5281) nf-test bases2fastq (nf-core#5272) Add module seqfu/stats (nf-core#5275) Added gt/gff3validator (nf-core#4718) Added liftoff (nf-core#5209)
Remove the AMRFinderPlus DB update which is invoked on each Bakta execution, nevertheless, it should be downloaded and installed during the DB download via bakta_db download. Co-authored-by: Jasmin Frangenberg <[email protected]>
Remove the AMRFinderPlus DB update which is invoked on each Bakta execution, nevertheless, it should be downloaded and installed during the DB download via bakta_db download. Co-authored-by: Jasmin Frangenberg <[email protected]>
Remove the AMRFinderPlus DB update which is invoked on each Bakta execution, nevertheless, it should be downloaded and installed during the DB download via bakta_db download. Co-authored-by: Jasmin Frangenberg <[email protected]>
I removed the AMRFinderPlus DB update from the Bakta
main.nf
which seems to be invoked on each execution of Bakta. AMRFinderPlus db should be downloaded and installed automatically and transparently during the Bakta DB download viabakta_db download
-> https://github.com/oschwengers/bakta/blob/d6443639958750c3bece5822e84978271d1a4dc7/bakta/db.py#L247Maybe I'm missing something, but if not, this would be a waste of bandwidth and significantly increase wall clock run times.