Gibbons-Lab / medi

Metagenomic Estimation of Dietary Intake and Content.
Apache License 2.0
8 stars 4 forks source link

Fix workflow in build_kraken.nf #12

Closed gfackelmann closed 2 months ago

gfackelmann commented 2 months ago

In the build_kraken.nf workflow in line 161, self_classify() needs build_kraken_db.out, otherwise it will run build_kraken_db() and self_classify() at the same time and produce an error in the self_classify step stating that not all the necessary files were downloaded (in our case the specific error was kraken2: database ("./medi_db") does not contain necessary file taxo.k2d) and the process will stop. Thanks for making this great tool!

cdiener commented 2 months ago

Sorry about that. You are absolutely right.