biobakery / MetaPhlAn

MetaPhlAn is a computational tool for profiling the composition of microbial communities from metagenomic shotgun sequencing data
http://segatalab.cibio.unitn.it/tools/metaphlan/index.html
MIT License
292 stars 85 forks source link

FileNotFoundError: [Errno 2] Metaphlan4_Data_SGB2GTDB.tsv #211

Closed JustinGibbons closed 1 year ago

JustinGibbons commented 1 year ago

When running sgb_to_gtdb_profile.py I got the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/apps/anaconda/anaconda3/envs/Metaphlan4/lib/python3.10/site-packages/metaphlan/utils/Metaphlan4_Data_SGB2GTDB.tsv'

Looking in the indicated directory I found a file named:

mpa_vOct22_CHOCOPhlAnSGB_202212_SGB2GTDB.tsv 

Which matched the version of the nucleotide database I was using so I created a copy of the file named

Metaphlan4_Data_SGB2GTDB.tsv

And it looks like that solved the problem.

Platform (please complete the following information):

github-actions[bot] commented 1 year ago

Thank you for creating this issue. We currently field issues through our bioBakery Discourse Support Forum. If you would please post the issue to discourse we would be happy to sync up with you to get it resolved.