Hi,
I’m trying to run metaphlan3 for the first time on a computer (I’ve run it successfully on other computers), and am getting this error message:
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 “/apps/metaphlan2/3.0.3/bin/metaphlan”, line 10, in
sys.exit(main())
File “/apps/metaphlan2/3.0.3/lib/python3.8/site-packages/metaphlan/metaphlan.py”, line 913, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/apps/metaphlan2/3.0.3/lib/python3.8/site-packages/metaphlan/init.py”, line 281, in check_and_install_database
index = resolve_latest_database(bowtie2_db, ls_f[‘mpa_latest’], force_redownload_latest)
UnboundLocalError: local variable ‘ls_f’ referenced before assignment
[dianataft@c24a-s23 seqkit_nosruber]$ metaphlan cat_trimmed/3000828988.R1.fastq,cat_trimmed/3000828988.R2.fastq --bowtie2out metaphlan_bowtie/3000828988.bowtie2.bz2 --input_type fastq -o 3000828988.metagenome.txt --bowtie2db /blue/dianataft/databases2/
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 “/apps/metaphlan2/3.0.3/bin/metaphlan”, line 10, in
sys.exit(main())
File “/apps/metaphlan2/3.0.3/lib/python3.8/site-packages/metaphlan/metaphlan.py”, line 913, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/apps/metaphlan2/3.0.3/lib/python3.8/site-packages/metaphlan/init.py”, line 281, in check_and_install_database
index = resolve_latest_database(bowtie2_db, ls_f[‘mpa_latest’], force_redownload_latest)
UnboundLocalError: local variable ‘ls_f’ referenced before assignment
I also went to the metaphlan github page, as I remembered there was a link to the database there, and thought I could just download it directly myself. Unfortunately, I got a file not found error message following the link from the github page. Where can I access the database?
Thanks!