I am downloading Metaphlan3 for the first time. I installed the software using conda. When installing the database (metaphlan --install), I bumped into a python key error:
File “/work2/06909/cbscott/stampede2/software/anaconda3/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 463, in download_unpack_tar
url_tar_file = ls_f[“mpa_” + download_file_name + “.tar”]
Basically, I think there’s a typo between the current python script used to download the database and the current online database. I went in and edited the script metaphlan.py to remove the extra “mpa_” strings in all of the download names and it fixed the issue.
More of an FYI than anything else! Was frustrating to nail down where the error was.