Skip to content
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

AttributeError: 'TaxonomyDb' object has not attribute 'parent_path' #3

Open
5 tasks
Shahab-Sa opened this issue Mar 8, 2020 · 0 comments
Open
5 tasks

Comments

@Shahab-Sa
Copy link

Shahab-Sa commented Mar 8, 2020

Hi Simon,
I installed metax and metax_py2 Conda environments. Activated metax Conda environment and run pip install .
Running the jupyter notebook Metagenomics Bench.ipynb to generate all plots on Ubuntu 18.04 LTS, I got some problems which I mention step-by-step. I stuck at the last one!

  • FileNotFoundError: [Errno 2] File b'compiled_reports.tsv' does not exist: b'compiled_reports.tsv'

  • I decompressed compiled_reports.tsv.gz

  • NameError: name 'vr_numreads' is not defined

  • I removed this line!

  • FileNotFoundError: [Errno 2] No such file or directory: 'pdf/all_truth.pr_curve.pdf'

  • I created empty folder pdf in the plotting folder.

  • FileNotFoundError: /home/mx/metax/taxonomy/20180425/nodes.dmp

  • I downloaded NCBI taxonomy, created this folder and extracted it in this path.

  • AttributeError: 'TaxonomyDb' object has not attribute 'parent_path'
    It relates to this line of code: path = tax_db.parent_path(taxid, warn_missing=False)

image

Do you know where is the problem?
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant