Closed jarrodscott closed 4 years ago
@jarrodscott You have indeed stumbled upon a bug! Thank you very much for bringing this to our attention. :)
The error occurred because I forgot to initialize the --kegg-data-dir
parameter in multiple input cases. Rather silly, but it is now fixed, so if you update your master branch and try again, I believe it should work now.
Please let me know if you have any further issues!
@ivagljiva success! Thanks for getting this sorted out soooooo fast :)
Hi!
Odd little problem. For some reason when I run
anvi-estimate-metabolism --external-genomes external-genomes.txt -O output.txt --kegg-data-dir /PATH/to/DB
I get an error. See below for the error with--debug
flag. The odd thing is that I can run the command every other way with--kegg-data-dir
. For example, using one of the genomes from the--external-genomes
file works fine like this:anvi-estimate-metabolism -c _Arcobacter_porcinus_117434-contigs.db --kegg-data-dir /PATH/to/DB -O output.txt
(INPUT 1). Works with contig.db in metagenome mode (INPUT 1), with a profile.db and a collection/bin (INPUT 2).I tried setting path variables before running the command (
KEGG
,kegg_data_dir
,kegg_modules_db_path
,kegg_modules_db
, etc)...No luck. Always defaults back todata/misc/KEGG
. Although I am not sure this would ever work :)The only way I could get it to work was changing line 207 of
kegg.py
fromdata/misc/KEGG
to my db path.If this is really a bug, sorry I can't offer a real solution :/