Error in metaphlan2


Thank you for your help in advance! I am new to coding and am trying to work with Metaphlan2. I believe I have downloaded metaphlan2 correctly and created a conda environment according my institution’s guidelines. I tried to run a job to analyze my data and I received the following error message:


Warning: Unable to download
Traceback (most recent call last):
File “/rs1/researchers/d/dmfoster/work/env_met/bin/”, line 1442, in
File “/rs1/researchers/d/dmfoster/work/env_met/bin/”, line 1164, in metaphlan2
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/rs1/researchers/d/dmfoster/work/env_met/bin/”, line 570, in check_and_install_database
index = resolve_latest_database(bowtie2_db, force_redownload_latest)
File “/rs1/researchers/d/dmfoster/work/env_met/bin/”, line 549, in resolve_latest_database
with open(os.path.join(bowtie2_db,‘mpa_latest’)) as mpa_latest:
FileNotFoundError: [Errno 2] No such file or directory: ‘/rs1/researchers/d/dmfoster/work/env_met/bin/metaphlan_databases/mpa_latest’

It looks like the file “mpa_latest” cannot be found. It is not present in that path. Is this something I need to create or should it have been included in the download of metaphlan2?

Thank you so much for your help! I greatly appreciate it!