I’ve installed MetaPhlAn3 in my Ubuntu 64-bit machine through Anaconda3. I tried running it on a sample .fastq file. But I am getting the following error. But it is working with .sam file. But I want to work with .fastq files only. Please help me resolving this.
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 “/home/priya/anaconda3/bin/metaphlan”, line 10, in
sys.exit(main())
File “/home/priya/anaconda3/lib/python3.8/site-packages/metaphlan/metaphlan.py”, line 916, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/home/priya/anaconda3/lib/python3.8/site-packages/metaphlan/init.py”, line 271, 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