I'm looking forward to running this software on my metagenome contigs, however while following along with the tutorial I came across an error, that I'm not sure how to resolve. Also I hope did this issue submission, correctly. So apologies if I messed it up!
Thank you in advance!
Josh
Current Behavior
Running the autometa-taxonomy-lca script produces an error looking for a non-existent ncbi dmp file called delnodes.dmp. I tracked the Blame within ncbi.py, and it looks like an addition/edit 3 months ago dealing with unclassified sequences.
I setup the ncbi database using autometa-update-databases --update-ncbi, and there is no delnodes.dmp file after its completion of the diamond blast database.
Is there a step I'm missing to create that file?
Steps to Reproduce
autometa-taxonomy-lca --blast autometa/blastp.tsv --dbdir databases/autometa/ncbi/ --lca-output autometa/lca.tsv --sseqid2taxid-output autometa/lca.sseqid2taxid.tsv --lca-error-taxids autometa/lca.errorTaxids.tsv
Traceback (most recent call last):
File "/home/cooperjo/miniconda3/envs/autometa2/bin/autometa-taxonomy-lca", line 10, in <module>
sys.exit(main())
File "/home/cooperjo/miniconda3/envs/autometa2/lib/python3.9/site-packages/autometa/taxonomy/lca.py", line 777, in main
lca = LCA(dbdir=args.dbdir, verbose=args.verbose, cache=args.cache)
File "/home/cooperjo/miniconda3/envs/autometa2/lib/python3.9/site-packages/autometa/taxonomy/lca.py", line 78, in __init__
super().__init__(dbdir, verbose=verbose)
File "/home/cooperjo/miniconda3/envs/autometa2/lib/python3.9/site-packages/autometa/taxonomy/ncbi.py", line 109, in __init__
self.delnodes = self.parse_delnodes()
File "/home/cooperjo/miniconda3/envs/autometa2/lib/python3.9/site-packages/autometa/taxonomy/ncbi.py", line 399, in parse_delnodes
fh = open(self.delnodes_fpath)
FileNotFoundError: [Errno 2] No such file or directory: '/home/cooperjo/databases/autometa/ncbi/delnodes.dmp'
Expected Behavior
Should have produced the following files:
blastp.tsv
lca.tsv
lca.sseqid2taxid.tsv
lca.errorTaxids.tsv
Apologies! After I submitted the issue, I figured out the problem. I had to tar -zxvf the taxdump.tar.gz archive and it populated all the files. Sorry for the confusion.
Hi,
I'm looking forward to running this software on my metagenome contigs, however while following along with the tutorial I came across an error, that I'm not sure how to resolve. Also I hope did this issue submission, correctly. So apologies if I messed it up!
Thank you in advance!
Josh
Current Behavior
Running the autometa-taxonomy-lca script produces an error looking for a non-existent ncbi dmp file called delnodes.dmp. I tracked the Blame within ncbi.py, and it looks like an addition/edit 3 months ago dealing with unclassified sequences.
I setup the ncbi database using autometa-update-databases --update-ncbi, and there is no delnodes.dmp file after its completion of the diamond blast database.
Is there a step I'm missing to create that file?
Steps to Reproduce
Expected Behavior
Should have produced the following files: blastp.tsv lca.tsv lca.sseqid2taxid.tsv lca.errorTaxids.tsv
Environment Information