I am trying to generate a phylogenetic tree using 20 MAGs and 153 genomes all located in a directory titled “all_fna_files” (all files have the .fna extension).
I have downloaded PhyloPhlAn version 3.0.60 (27 November 2020).
I am having an issue generating the tree. The amphora2 database was not being generated, so I performed the following.
Downloaded these files into phylophlan_databases:
http://cmprod1.cibio.unitn.it/databases/PhyloPhlAn/phylophlan_databases.txt
http://cmprod1.cibio.unitn.it/databases/PhyloPhlAn/amphora2.tar
http://cmprod1.cibio.unitn.it/databases/PhyloPhlAn/amphora2.md5
http://cmprod1.cibio.unitn.it/databases/PhyloPhlAn/phylophlan.tar
http://cmprod1.cibio.unitn.it/databases/PhyloPhlAn/phylophlan.md5
cd /Users/brandifeehan/Documents/KSU_PhD/Lee_Lab/KSU/Stages_MAGs/MAGs/Archaea/PhyloPhlAn/phylophlan_databases
tar -xf amphora2.tar
bzcat amphora2/*.bz2 > amphora2/amphora2.faa
tar -xf phylophlan.tar
bunzip2 -k phylophlan/phylophlan.faa.bz2
diamond makedb --in amphora2/amphora2.faa --db amphora2/amphora2
diamond makedb --in phylophlan/phylophlan.faa --db phylophlan/phylophlan
I then submitted the following command and received the following error. I am uncertain of how to proceed.
(phylophlan) brandifeehan@ip-10-150-7-20 PhyloPhlAn % phylophlan -i all_fna_files/
-d amphora2
–diversity low
-f supermatrix_nt.cfg
-t n
Generating “db_dna” indexed database “amphora2”
[e] Command ‘[’/Users/brandifeehan/anaconda3_new/bin/makeblastdb’, ‘-parse_seqids’, ‘-dbtype’, ‘nucl’, ‘-in’, ‘/Users/brandifeehan/anaconda3_new/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_databases/amphora2/amphora2.fna’, ‘-out’, ‘/Users/brandifeehan/anaconda3_new/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_databases/amphora2/amphora2’]’ returned non-zero exit status 1.
[e] cannot execute command
command_line: /Users/brandifeehan/anaconda3_new/bin/makeblastdb -parse_seqids -dbtype nucl -in /Users/brandifeehan/anaconda3_new/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_databases/amphora2/amphora2.fna -out /Users/brandifeehan/anaconda3_new/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_databases/amphora2/amphora2
stdin: None
stdout: None
env: {‘TERM_PROGRAM’: ‘iTerm.app’, ‘TERM’: ‘xterm-256color’, ‘SHELL’: ‘/bin/zsh’, ‘TMPDIR’: ‘/var/folders/gm/dckmrbwj3hj27cj2jwnh7q8w0000gn/T/’, ‘CONDA_SHLVL’: ‘2’, ‘CONDA_PROMPT_MODIFIER’: '(phylophlan) ', ‘TERM_PROGRAM_VERSION’: ‘3.4.15’, ‘TERM_SESSION_ID’: ‘w0t4p0:0A549096-86FC-46EE-B034-8DDA632F4F06’, ‘USER’: ‘brandifeehan’, ‘COMMAND_MODE’: ‘unix2003’, ‘CONDA_EXE’: ‘/Users/brandifeehan/anaconda3_new/bin/conda’, ‘SSH_AUTH_SOCK’: ‘/private/tmp/com.apple.launchd.9dDrBlCvL9/Listeners’, ‘__CF_USER_TEXT_ENCODING’: ‘0x1F5:0x0:0x0’, ‘CE_CONDA’: ‘’, ‘CONDA_PREFIX_1’: ‘/Users/brandifeehan/anaconda3_new’, ‘PATH’: ‘/Users/brandifeehan/anaconda3_new/envs/phylophlan/bin:/Users/brandifeehan/anaconda3_new/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin’, '’: ‘/Users/brandifeehan/anaconda3_new/envs/phylophlan/bin/phylophlan’, ‘CONDA_PREFIX’: ‘/Users/brandifeehan/anaconda3_new/envs/phylophlan’, ‘__CFBundleIdentifier’: ‘com.googlecode.iterm2’, ‘PWD’: ‘/Users/brandifeehan/Documents/KSU_PhD/Lee_Lab/KSU/Stages_MAGs/MAGs/Archaea/PhyloPhlAn’, ‘LANG’: ‘en_US.UTF-8’, ‘ITERM_PROFILE’: ‘Default’, ‘XPC_FLAGS’: ‘0x0’, ‘_CE_M’: ‘’, ‘XPC_SERVICE_NAME’: ‘0’, ‘SHLVL’: ‘1’, ‘HOME’: ‘/Users/brandifeehan’, ‘COLORFGBG’: ‘7;0’, ‘LC_TERMINAL_VERSION’: ‘3.4.15’, ‘ITERM_SESSION_ID’: ‘w0t4p0:0A549096-86FC-46EE-B034-8DDA632F4F06’, ‘CONDA_PYTHON_EXE’: ‘/Users/brandifeehan/anaconda3_new/bin/python’, ‘LOGNAME’: ‘brandifeehan’, ‘CONDA_DEFAULT_ENV’: ‘phylophlan’, ‘LC_TERMINAL’: ‘iTerm2’, ‘DISPLAY’: ‘/private/tmp/com.apple.launchd.ymEHjEBnPw/org.xquartz:0’, ‘COLORTERM’: ‘truecolor’}