FYI: Found error in metaphlan db installation


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/”, line 463, in download_unpack_tar
url_tar_file = ls_f[“mpa_” + download_file_name + “.tar”]
KeyError: 'mpa_mpa_v30_CHOCOPhlAn_201901.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 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.