I am getting the same error when I run Humann3 as follows:
humann3 --protein-database /media/sf_data/uniref/uniref --threads 4 -i $f -o output --output-format biom --remove-stratified-output --output-max-decimals 0
Output files will be written to: /media/sf_data/output
Decompressing gzipped file …
Removing spaces from identifiers in input file …
WARNING: Can not call software version for bowtie2
Running metaphlan …
CRITICAL ERROR: Error executing: /home/rkamales/anaconda3/envs/biobakery3/bin/metaphlan /media/sf_data/output/CCO12148-0070-1-1-C0WT2_S6_L001_R1_001_humann_temp/tmpwhm_fon8/tmp2f9om6xb -t rel_ab -o /media/sf_data/output/CCO12148-0070-1-1-C0WT2_S6_L001_R1_001_humann_temp/CCO12148-0070-1-1-C0WT2_S6_L001_R1_001_metaphlan_bugs_list.tsv --input_type fastq --bowtie2out /media/sf_data/output/CCO12148-0070-1-1-C0WT2_S6_L001_R1_001_humann_temp/CCO12148-0070-1-1-C0WT2_S6_L001_R1_001_metaphlan_bowtie2.txt --nproc 4
Error message returned from metaphlan :
Downloading MetaPhlAn database
Please note due to the size this might take a few minutes
File /home/rkamales/anaconda3/envs/biobakery3/lib/python3.7/site-packages/metaphlan/metaphlan_databases/file_list.txt already present!
Traceback (most recent call last):
File “/home/rkamales/anaconda3/envs/biobakery3/bin/metaphlan”, line 10, in
sys.exit(main())
File “/home/rkamales/anaconda3/envs/biobakery3/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 1187, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/home/rkamales/anaconda3/envs/biobakery3/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 610, in check_and_install_database
download_unpack_tar(FILE_LIST, index, bowtie2_db, bowtie2_build, nproc)
File “/home/rkamales/anaconda3/envs/biobakery3/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 463, in download_unpack_tar
url_tar_file = ls_f[“mpa_” + download_file_name + “.tar”]
KeyError: ‘mpa_mpa_v30_CHOCOPhlAn_201901.tar’
My Conda Info is:
active environment : biobakery3
active env location : /home/rkamales/anaconda3/envs/biobakery3
shell level : 2
user config file : /home/rkamales/.condarc
populated config files : /home/rkamales/.condarc
conda version : 4.8.3
conda-build version : 3.18.11
python version : 3.8.3.final.0
virtual packages : __glibc=2.27
base environment : /home/rkamales/anaconda3 (writable)
channel URLs : https://conda.anaconda.org/biobakery/linux-64
https://conda.anaconda.org/biobakery/noarch
https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/bioconda/linux-64
https://conda.anaconda.org/bioconda/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/rkamales/anaconda3/pkgs
/home/rkamales/.conda/pkgs
envs directories : /home/rkamales/anaconda3/envs
/home/rkamales/.conda/envs
platform : linux-64
user-agent : conda/4.8.3 requests/2.24.0 CPython/3.8.3 Linux/5.3.0-28-generic ubuntu/18.04.4 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False