Hi
I had no problem running MetaPhlan last week but haven’t been able to run it today due to this error message. I tried uninstalling and reinstalling to see if that would fix the problem but it hasn’t. I installed using conda.
This is what I get:
$ metaphlan BBC3240_R1.fastq.gz --bowtie2out BBC3240_R1.bowtie2.bz2 --input_type fastq -o BBC3240_R1.txt
Downloading MetaPhlAn database
Please note due to the size this might take a few minutes
File /Users/s4/miniconda3/lib/python3.7/site-packages/metaphlan/metaphlan_databases/mpa_v30_CHOCOPhlAn_201901.tar already present!
File /Users/s4/miniconda3/lib/python3.7/site-packages/metaphlan/metaphlan_databases/mpa_v30_CHOCOPhlAn_201901.md5 already present!
Traceback (most recent call last):
File “/Users/s4/miniconda3/bin/metaphlan”, line 10, in
sys.exit(main())
File “/Users/s4/miniconda3/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 925, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/Users/s4/miniconda3/lib/python3.7/site-packages/metaphlan/init.py”, line 301, in check_and_install_database
download_unpack_tar(index, bowtie2_db, bowtie2_build, nproc, use_zenodo)
File “/Users/s4/miniconda3/lib/python3.7/site-packages/metaphlan/init.py”, line 180, in download_unpack_tar
bt2_build_output = subp.check_output([bowtie2_build, ‘–usage’], stderr=subp.STDOUT)
File “/Users/s4/miniconda3/lib/python3.7/subprocess.py”, line 411, in check_output
**kwargs).stdout
File “/Users/s4/miniconda3/lib/python3.7/subprocess.py”, line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘bowtie2-build’, ‘–usage’]’ returned non-zero exit status 250.
I saw on another thread that was somewhat similar to check with bowtie2 --version and bowtie2-build if the installation worked. With those I get these messages respectively if that helps:
dyld: Library not loaded: @rpath/libtbb.dylib
Referenced from: /Users/s4/miniconda3/bin/bowtie2-align-s
Reason: image not found
(ERR): Description of arguments failed!
Exiting now …
and
dyld: Library not loaded: @rpath/libtbb.dylib
Referenced from: /Users/s4/miniconda3/bin/bowtie2-build-s
Reason: image not found