-
My metaphlan2 2.8.1 is available.
But,humann2 2.8.2 ask me to download metaphlan2 databases. -
I’ve tried installing metaphlan 2 2.7.8 and changing python 3 to python 2.
Conda has made mistakes.
Can you help me ?
Error message returned from metaphlan2.py :
Downloading MetaPhlAn2 database
Please note due to the size this might take a few minutes
Downloading https://www.dropbox.com/sh/7qze7m7g9fe2xjg/AAA4XDP85WHon_eHvztxkamTa/file_list.txt?dl=1
Warning: Unable to download https://www.dropbox.com/sh/7qze7m7g9fe2xjg/AAA4XDP85WHon_eHvztxkamTa/file_list.txt?dl=1
Traceback (most recent call last):
File “/root/miniconda3/bin/metaphlan2.py”, line 1580, in
metaphlan2()
File “/root/miniconda3/bin/metaphlan2.py”, line 1373, in metaphlan2
check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘offline’])
File “/root/miniconda3/bin/metaphlan2.py”, line 842, in check_and_install_database
download_unpack_tar(FILE_LIST, index, bowtie2_db, bowtie2_build, nproc)
File “/root/miniconda3/bin/metaphlan2.py”, line 749, in download_unpack_tar
url_tar_file = ls_f[“mpa_” + download_file_name + “.tar”]
UnboundLocalError: local variable ‘ls_f’ referenced before assignment
Traceback (most recent call last):
File “/root/miniconda3/bin/conda”, line 12, in
from conda.cli import main
ImportError: No module named conda.cli