# Phylophlan3 database in phylophlan command

**URL:** <https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634>\
**Category:** PhyloPhlAn\
**Created:** [September 23, 2021, 10:48pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634 "2021-09-23T22:48:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![capfz200](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/capfz200/32/1040_2.png) [@capfz200](https://forum.biobakery.org/u/capfz200)\
**Post date:** [September 23, 2021, 10:48pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634/1 "2021-09-23T22:48:47Z")

</div>

Greetings,  
I am trying to build a tree with my mags, but I have problems executing the command phylophlan. In this case, I have the database mags (.fna.gz ) with my mags (.fa) in the same file. The command I am running is:  
phylophlan   
-i ref\_Euryarchaeota   
-t n   
–diversity high   
–accurate   
-f tree\_building\_config.cfg   
–configs\_folder phylophlan\_config\_files   
-o Euryarchaeota\_tree   
-d phylophlan

I have two main errors: the first has to be with the -d phylophlan

1. Command ‘[’/home-1/cperezf2@jhu.edu/.conda/envs/phylophlan3/bin/makeblastdb’, ‘-parse\_seqids’, ‘-dbtype’, ‘nucl’, ‘-in’, ‘phylophlan\_databases/phylophlan/phylophlan.fna’, ‘-out’, ‘phylophlan\_databases/phylophlan/phylophlan’]’ returned non-zero exit status 1.

The second is a bunch of things that I think are related to the conda environment  
2) cannot execute command  
[e] cannot execute command  
command\_line: /home-1/cperezf2@jhu.edu/.conda/envs/phylophlan3/bin/makeblastdb -parse\_seqids -dbtype nucl -in phylophlan\_databases/phylophlan/phylophlan.fna -out phylophlan\_databases/phylophlan/phylophlan  
stdin: None  
stdout: None  
env: {‘LC\_PAPER’: ‘es\_PR.UTF-8’, ‘CPLUS\_INCLUDE\_PATH’: ‘/software/apps/compilers/intel/clck/2018.3/include’, ‘LMOD\_FAMILY\_COMPILER\_VERSION’: ‘18.0’, ‘MARCC\_COMPILER\_MAJOR’: ‘18’, ‘MKLROOT’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl’, ‘MANPATH’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/share/man:/software/apps/compilers/intel/itac/2018.3.022/man:/software/apps/compilers/intel/man/common:/software/apps/compilers/intel/documentation\_2018/en/debugger/gdb-ia/man:/software/apps/compilers/intel/documentation\_2018/en/debugger/gdb-igfx/man:/software/apps/slurm/current/share/man:/software/lmod/lmod/share/man::’, ‘LC\_ADDRESS’: ‘es\_PR.UTF-8’, ‘XDG\_SESSION\_ID’: ‘30891’, ‘LC\_MONETARY’: ‘es\_PR.UTF-8’, ‘HOSTNAME’: ‘bc-login01’, ‘VT\_MPI’: ‘impi4’, ‘_ModuleTable003_’: ‘cmUvbG1vZC9tb2R1bGVmaWxlcy9jb21waWxlcl9hbmRfYmFzZS9pbnRlbC8xOC4wLmx1YSIsWyJmdWxsTmFtZSJdPSJpbnRlbC8xOC4wIixbImxvYWRPcmRlciJdPTIscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iaW50ZWwvMTguMCIsfSxvcGVubXBpPXtbImZuIl09Ii9zb2Z0d2FyZS9sbW9kL21vZHVsZWZpbGVzL21waV9jb21waWxlci9pbnRlbC8xOC4wL29wZW5tcGkvMy4xLmx1YSIsWyJmdWxsTmFtZSJdPSJvcGVubXBpLzMuMSIsWyJsb2FkT3JkZXIiXT01LHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09Im9wZW5tcGkiLH0sfSxtcGF0aEE9eyIvc29m’, ‘MPI\_FFLAGS’: ‘-I/software/apps/mpi/openmpi/3.1/intel/18.0/include’, ‘INTEL\_LICENSE\_FILE’: ‘/software/apps/compilers/intel/licenses’, ‘IPPROOT’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/ipp’, ‘MPICH\_HOME’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0’, ‘MPI\_F90FLAGS’: ‘-I/software/apps/mpi/openmpi/3.1/intel/18.0/include’, ‘SHELL’: ‘/bin/bash’, ‘TERM’: ‘xterm-256color’, ‘\_\_LMOD\_REF\_COUNT\_MODULEPATH’: ‘/software/lmod/modulefiles/mpi\_compiler/intel/18.0:1;/software/lmod/modulefiles/compiler\_and\_base:1;/software/lmod/modulefiles/apps:1;/software/lmod/modulefiles/holding\_apps:1;/software/lmod/modulefiles/compiled\_apps/intel/18.0:1;/software/lmod/modulefiles/mpi\_compiled\_apps/intel/18.0/openmpi/3.1:1’, ‘CLCK\_ROOT’: ‘/software/apps/compilers/intel/clck/2018.3’, ‘MPI\_INCDIR’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/include’, ‘HISTSIZE’: ‘1000’, ‘SSH\_CLIENT’: ‘172.16.0.9 44551 22’, ‘LMOD\_SYSTEM\_DEFAULT\_MODULES’: ‘MARCC/summer-2018’, ‘MODULEPATH\_ROOT’: ‘/software/lmod/modulefiles’, ‘GDBSERVER\_MIC’: ‘/software/apps/compilers/intel/debugger\_2018/gdb/targets/intel64/x200/bin/gdbserver’, ‘LMOD\_PACKAGE\_PATH’: ‘/software/lmod/site’, ‘LIBRARY\_PATH’: ‘/software/apps/compilers/intel/clck/2018.3/lib/intel64:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/ipp/lib/intel64:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64\_lin:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/lib/intel64\_lin:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb/lib/intel64/gcc4.7:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/lib/intel64\_lin:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/…/tbb/lib/intel64\_lin/gcc4.4:/software/centos7/lib64:/software/centos7/lib:/software/centos7/usr/lib64:/software/centos7/usr/lib:/software/apps/slurm/current/lib/slurm:/software/apps/slurm/current/lib’, ‘PERL5LIB’: ‘/software/centos7/usr/share/autoconf:/software/centos7/usr/share/automake-1.13:/software/centos7/usr/lib64/perl5/vendor\_perl:/software/centos7/usr/share/perl5/vendor\_perl:/software/centos7/usr/lib64/perl5:/software/centos7/usr/share/perl5’, ‘\_\_LMOD\_STACK\_CXX’: ‘aWNwYw==’, ‘CONDA\_SHLVL’: ‘1’, ‘CONDA\_PROMPT\_MODIFIER’: '(phylophlan3) ', ‘LC\_NUMERIC’: ‘es\_PR.UTF-8’, ‘LMOD\_PKG’: ‘/software/lmod/lmod’, ‘LMOD\_VERSION’: ‘7.8.1’, ‘SSH\_TTY’: ‘/dev/pts/175’, ‘\_\_LMOD\_REF\_COUNT\_LOADEDMODULES’: ‘centos7/current:1;intel/18.0:1;MARCC/summer-2018:1;anaconda/2019.03:1;openmpi/3.1:1’, ‘\_\_LMOD\_STACK\_FC’: ‘aWZvcnQ=’, ‘\_\_LMOD\_STACK\_CC’: ‘aWNj’, ‘USER’: ‘cperezf2@jhu.edu’, ‘LC\_TELEPHONE’: ‘es\_PR.UTF-8’, ‘LS\_COLORS’: ‘bd=0:ca=0:cd=0:di=0:do=0:ex=0:pi=0:fi=0:ln=0:mh=0:no=0:or=0:ow=0:sg=0:su=0:so=0:st=0:tw=0:’, ‘LD\_LIBRARY\_PATH’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/lib:/software/apps/compilers/intel/itac/2018.3.022/intel64/slib:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64\_lin:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/ipp/lib/intel64:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/lib/intel64\_lin:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb/lib/intel64/gcc4.7:/software/apps/compilers/intel/debugger\_2018/iga/lib:/software/apps/compilers/intel/debugger\_2018/libipt/intel64/lib:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/lib/intel64\_lin:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/…/tbb/lib/intel64\_lin/gcc4.4:/usr/lib:/usr/lib64:/software/centos7/lib64:/software/centos7/lib:/software/centos7/usr/lib64:/software/centos7/usr/lib:/software/apps/slurm/current/lib/slurm:/software/apps/slurm/current/lib::’, ‘LMOD\_sys’: ‘Linux’, ‘PSTLROOT’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/pstl’, ‘MARCC\_COMPILER\_MINOR’: ‘0’, ‘CONDA\_EXE’: ‘/software/apps/anaconda/2019.03/bin/conda’, ‘VALGRIND\_LIB’: ‘/software/centos7/lib64/valgrind’, ‘CPATH’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/include/icc:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/ipp/include:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/include:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/pstl/include:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb/include:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb/include:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/include:/software/centos7/usr/lib/gcc/x86\_64-redhat-linux/4.8.5/…/…/…/…/include/c++/4.8.5/:/software/centos7/usr/lib/gcc/x86\_64-redhat-linux/4.8.5/…/…/…/…/include/c++/4.8.5/x86\_64-redhat-linux/:/software/centos7/usr/lib/gcc/x86\_64-redhat-linux/4.8.5/…/…/…/…/include/c++/4.8.5/backward/:/software/centos7/usr/lib/gcc/x86\_64-redhat-linux/4.8.5/include/:/software/centos7/usr/local/include/:/software/centos7/usr/include/’, ‘_ModuleTable004_’: ‘dHdhcmUvbG1vZC9tb2R1bGVmaWxlcy9tcGlfY29tcGlsZXIvaW50ZWwvMTguMCIsIi9zb2Z0d2FyZS9sbW9kL21vZHVsZWZpbGVzL2NvbXBpbGVyX2FuZF9iYXNlIiwiL3NvZnR3YXJlL2xtb2QvbW9kdWxlZmlsZXMvYXBwcyIsIi9zb2Z0d2FyZS9sbW9kL21vZHVsZWZpbGVzL2hvbGRpbmdfYXBwcyIsIi9zb2Z0d2FyZS9sbW9kL21vZHVsZWZpbGVzL2NvbXBpbGVkX2FwcHMvaW50ZWwvMTguMCIsIi9zb2Z0d2FyZS9sbW9kL21vZHVsZWZpbGVzL21waV9jb21waWxlZF9hcHBzL2ludGVsLzE4LjAvb3Blbm1waS8zLjEiLH0sWyJzeXN0ZW1CYXNlTVBBVEgiXT0iL3NvZnR3YXJlL2xtb2QvbW9kdWxlZmlsZXMvY29tcGlsZXJfYW5kX2Jhc2U6L3NvZnR3YXJlL2xtb2QvbW9kdWxl’, ‘\__LMOD\_STACK\_F77’: ‘aWZvcnQ=’, 'LMOD\_REF\_COUNT\_\_LMFILES’: ‘/software/lmod/modulefiles/compiler\_and\_base/centos7/current.lua:1;/software/lmod/modulefiles/compiler\_and\_base/intel/18.0.lua:1;/software/lmod/modulefiles/compiler\_and\_base/MARCC/summer-2018.lua:1;/software/lmod/modulefiles/apps/anaconda/2019.03.lua:1;/software/lmod/modulefiles/mpi\_compiler/intel/18.0/openmpi/3.1.lua:1’, ‘LMOD\_FAMILY\_MPI\_VERSION’: ‘3.1’, ‘MPI\_CFLAGS’: ‘-I/software/apps/mpi/openmpi/3.1/intel/18.0/include’, ‘MPI\_CXXFLAGS’: ‘-I/software/apps/mpi/openmpi/3.1/intel/18.0/include’, 'CE\_CONDA’: ‘’, ‘NLSPATH’: '/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64/locale/%l%t/%N:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/lib/intel64\_lin/locale/%l%t/%N:/software/apps/compilers/intel/debugger\_2018/gdb/intel64/share/locale/%l_%t/%N’, ‘PATH’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/bin:/home-1/cperezf2@jhu.edu/.conda/envs/phylophlan3/bin:/software/apps/anaconda/2019.03/condabin:/home-1/cperezf2@jhu.edu/work/Cesar/SnapT/SnapT/bin:/home-1/cperezf2@jhu.edu/work/Cesar/metaWRAP\_cloned/metaWRAP/bin:/software/apps/compilers/intel/itac/2018.3.022/intel64/bin:/software/apps/compilers/intel/clck/2018.3/bin/intel64:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/bin/intel64:/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/bin:/software/apps/marcc/bin:/software/centos7/bin:/software/centos7/sbin:/software/apps/slurm/current/sbin:/software/apps/slurm/current/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/ibutils/bin:/software/apps/compilers/intel/parallel\_studio\_xe\_2018.3.051/bin:/home-1/cperezf2@jhu.edu/.local/bin:/home-1/cperezf2@jhu.edu/bin’, ‘MAIL’: ‘/var/spool/mail/cperezf2@jhu.edu’, ‘_ModuleTable001_’: ‘X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXtbImNvbXBpbGVyIl09ImludGVsIixbIm1waSJdPSJvcGVubXBpIix9LG1UPXtNQVJDQz17WyJmbiJdPSIvc29mdHdhcmUvbG1vZC9tb2R1bGVmaWxlcy9jb21waWxlcl9hbmRfYmFzZS9NQVJDQy9zdW1tZXItMjAxOC5sdWEiLFsiZnVsbE5hbWUiXT0iTUFSQ0Mvc3VtbWVyLTIwMTgiLFsibG9hZE9yZGVyIl09Myxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJNQVJDQy9zdW1tZXItMjAxOCIsfSxhbmFjb25kYT17WyJmbiJdPSIvc29mdHdhcmUvbG1v’, ‘FONTCONFIG\_PATH’: ‘/software/centos7/etc/fonts/’, ‘VT\_ADD\_LIBS’: ‘-ldwarf -lelf -lvtunwind -lm -lpthread’, ‘\_’: ‘/home-1/cperezf2@jhu.edu/.conda/envs/phylophlan3/bin/phylophlan’, ‘\_\_LMOD\_STACK\_F90’: ‘aWZvcnQ=’, ‘LC\_IDENTIFICATION’: ‘es\_PR.UTF-8’, ‘TBBROOT’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb’, ‘CONDA\_PREFIX’: ‘/home-1/cperezf2@jhu.edu/.conda/envs/phylophlan3’, ‘PWD’: ‘/home-1/cperezf2@jhu.edu/work/Cesar/Atacama2020\_MG\_analysis/10\_Phylogenomic\_Mags’, ‘F90’: ‘ifort’, ‘MARCC\_COMPILER’: ‘intel’, ‘_LMFILES_’: ‘/software/lmod/modulefiles/compiler\_and\_base/centos7/current.lua:/software/lmod/modulefiles/compiler\_and\_base/intel/18.0.lua:/software/lmod/modulefiles/compiler\_and\_base/MARCC/summer-2018.lua:/software/lmod/modulefiles/apps/anaconda/2019.03.lua:/software/lmod/modulefiles/mpi\_compiler/intel/18.0/openmpi/3.1.lua’, ‘LANG’: ‘en\_US.UTF-8’, ‘GDB\_CROSS’: ‘/software/apps/compilers/intel/debugger\_2018/gdb/intel64/bin/gdb-ia’, ‘MODULEPATH’: ‘/software/lmod/modulefiles/mpi\_compiler/intel/18.0:/software/lmod/modulefiles/compiler\_and\_base:/software/lmod/modulefiles/apps:/software/lmod/modulefiles/holding\_apps:/software/lmod/modulefiles/compiled\_apps/intel/18.0:/software/lmod/modulefiles/mpi\_compiled\_apps/intel/18.0/openmpi/3.1’, ‘LC\_MEASUREMENT’: ‘es\_PR.UTF-8’, ‘_ModuleTable\_Sz_’: ‘5’, ‘LOADEDMODULES’: ‘centos7/current:intel/18.0:MARCC/summer-2018:anaconda/2019.03:openmpi/3.1’, ‘VT\_LIB\_DIR’: ‘/software/apps/compilers/intel/itac/2018.3.022/intel64/lib’, ‘F77’: ‘ifort’, ‘LMOD\_CMD’: ‘/software/lmod/lmod/libexec/lmod’, ‘VT\_ROOT’: ‘/software/apps/compilers/intel/itac/2018.3.022’, ‘_ModuleTable005_’: ‘ZmlsZXMvYXBwczovc29mdHdhcmUvbG1vZC9tb2R1bGVmaWxlcy9ob2xkaW5nX2FwcHMiLH0=’, ‘LMOD\_AVAIL\_STYLE’: ‘en\_grouped’, ‘DAALROOT’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal’, ‘HISTCONTROL’: ‘ignoredups’, ‘CXX’: ‘icpc’, ‘MPM\_LAUNCHER’: ‘/software/apps/compilers/intel/debugger\_2018/mpm/mic/bin/start\_mpm.sh’, ‘\_CE\_M’: ‘’, ‘INTEL\_PYTHONHOME’: ‘/software/apps/compilers/intel/debugger\_2018/python/intel64/’, ‘HOME’: ‘/home-1/cperezf2@jhu.edu’, ‘SHLVL’: ‘1’, ‘\_\_LMOD\_REF\_COUNT\_PATH’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/bin:1;/home-1/cperezf2@jhu.edu/.conda/envs/phylophlan3/bin:1;/software/apps/anaconda/2019.03/condabin:1;/home-1/cperezf2@jhu.edu/work/Cesar/SnapT/SnapT/bin:1;/home-1/cperezf2@jhu.edu/work/Cesar/metaWRAP\_cloned/metaWRAP/bin:1;/software/apps/compilers/intel/itac/2018.3.022/intel64/bin:2;/software/apps/compilers/intel/clck/2018.3/bin/intel64:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/bin/intel64:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/bin:1;/software/apps/marcc/bin:1;/software/centos7/bin:1;/software/centos7/sbin:1;/software/apps/slurm/current/sbin:2;/software/apps/slurm/current/bin:2;/usr/local/bin:1;/usr/bin:1;/usr/local/sbin:1;/usr/sbin:1;/opt/ibutils/bin:1;/software/apps/compilers/intel/parallel\_studio\_xe\_2018.3.051/bin:1;/home-1/cperezf2@jhu.edu/.local/bin:1;/home-1/cperezf2@jhu.edu/bin:1’, ‘\_\_LMOD\_REF\_COUNT\_PERL5LIB’: ‘/software/centos7/usr/share/autoconf:1;/software/centos7/usr/share/automake-1.13:1;/software/centos7/usr/lib64/perl5/vendor\_perl:1;/software/centos7/usr/share/perl5/vendor\_perl:1;/software/centos7/usr/lib64/perl5:1;/software/centos7/usr/share/perl5:1’, ‘LDSHARED’: ‘icc -shared’, ‘_ModuleTable002_’: ‘ZC9tb2R1bGVmaWxlcy9hcHBzL2FuYWNvbmRhLzIwMTkuMDMubHVhIixbImZ1bGxOYW1lIl09ImFuYWNvbmRhLzIwMTkuMDMiLFsibG9hZE9yZGVyIl09NCxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJhbmFjb25kYSIsfSxjZW50b3M3PXtbImZuIl09Ii9zb2Z0d2FyZS9sbW9kL21vZHVsZWZpbGVzL2NvbXBpbGVyX2FuZF9iYXNlL2NlbnRvczcvY3VycmVudC5sdWEiLFsiZnVsbE5hbWUiXT0iY2VudG9zNy9jdXJyZW50IixbImxvYWRPcmRlciJdPTEscHJvcFQ9e30sWyJzdGFja0RlcHRoIl09MSxbInN0YXR1cyJdPSJhY3RpdmUiLFsidXNlck5hbWUiXT0iY2VudG9zNyIsfSxpbnRlbD17WyJmbiJdPSIvc29mdHdh’, ‘FC’: ‘ifort’, ‘VT\_ARCH’: ‘intel64’, ‘VT\_SLIB\_DIR’: ‘/software/apps/compilers/intel/itac/2018.3.022/intel64/slib’, ‘BASH\_ENV’: ‘/software/lmod/lmod/init/bash’, ‘LOGNAME’: ‘cperezf2@jhu.edu’, ‘CONDA\_PYTHON\_EXE’: ‘/software/apps/anaconda/2019.03/bin/python’, ‘OMPI\_TMPDIR’: ‘/tmp’, ‘SSH\_CONNECTION’: ‘172.16.0.9 44551 172.16.5.3 22’, ‘MODULESHOME’: ‘/software/lmod/lmod’, ‘\_\_LMOD\_REF\_COUNT\_LIBRARY\_PATH’: ‘/software/apps/compilers/intel/clck/2018.3/lib/intel64:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/ipp/lib/intel64:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64\_lin:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/lib/intel64\_lin:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb/lib/intel64/gcc4.7:2;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/lib/intel64\_lin:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/…/tbb/lib/intel64\_lin/gcc4.4:1;/software/centos7/lib64:1;/software/centos7/lib:1;/software/centos7/usr/lib64:1;/software/centos7/usr/lib:1;/software/apps/slurm/current/lib/slurm:1;/software/apps/slurm/current/lib:1’, ‘LESSOPEN’: ‘||/usr/bin/lesspipe.sh %s’, ‘LMOD\_SETTARG\_FULL\_SUPPORT’: ‘no’, ‘\_\_LMOD\_REF\_COUNT\_LD\_LIBRARY\_PATH’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/lib:1;/software/apps/compilers/intel/itac/2018.3.022/intel64/slib:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/compiler/lib/intel64\_lin:2;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/ipp/lib/intel64:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/lib/intel64\_lin:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/tbb/lib/intel64/gcc4.7:2;/software/apps/compilers/intel/debugger\_2018/iga/lib:1;/software/apps/compilers/intel/debugger\_2018/libipt/intel64/lib:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/lib/intel64\_lin:1;/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/daal/…/tbb/lib/intel64\_lin/gcc4.4:1;/usr/lib:1;/usr/lib64:1;/software/centos7/lib64:1;/software/centos7/lib:1;/software/centos7/usr/lib64:1;/software/centos7/usr/lib:1;/software/apps/slurm/current/lib/slurm:2;/software/apps/slurm/current/lib:2’, ‘PKG\_CONFIG\_PATH’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/bin/pkgconfig:/software/centos7/usr/share/pkgconfig:/software/centos7/usr/lib64/pkgconfig’, ‘CONDA\_DEFAULT\_ENV’: ‘phylophlan3’, ‘INFOPATH’: ‘/software/apps/compilers/intel/documentation\_2018/en/debugger//gdb-ia/info/:/software/apps/compilers/intel/documentation\_2018/en/debugger//gdb-igfx/info/’, ‘LMOD\_FAMILY\_COMPILER’: ‘intel’, ‘DISPLAY’: ‘172.16.5.3:38.0’, ‘XDG\_RUNTIME\_DIR’: ‘/run/user/4426’, ‘CC’: ‘icc’, ‘\_\_LMOD\_REF\_COUNT\_PKG\_CONFIG\_PATH’: ‘/software/apps/compilers/intel/compilers\_and\_libraries\_2018.3.222/linux/mkl/bin/pkgconfig:1;/software/centos7/usr/share/pkgconfig:1;/software/centos7/usr/lib64/pkgconfig:1’, ‘LMOD\_DIR’: ‘/software/lmod/lmod/libexec’, ‘\_\_LMOD\_REF\_COUNT\_MANPATH’: ‘/software/apps/mpi/openmpi/3.1/intel/18.0/share/man:1;/software/apps/compilers/intel/itac/2018.3.022/man:1;/software/apps/compilers/intel/man/common:1;/software/apps/compilers/intel/documentation\_2018/en/debugger/gdb-ia/man:1;/software/apps/compilers/intel/documentation\_2018/en/debugger/gdb-igfx/man:1;/software/apps/slurm/current/share/man:1;/software/lmod/lmod/share/man:1’, ‘LC\_TIME’: ‘es\_PR.UTF-8’, ‘LMOD\_FAMILY\_MPI’: ‘openmpi’, ‘LC\_NAME’: ‘es\_PR.UTF-8’, ‘BASH\_FUNC\_module()’: ‘() { eval $($LMOD\_CMD bash “$@”) && eval $(${LMOD\_SETTARG\_CMD:-:} -s sh)\n}’, ‘BASH\_FUNC\_ml()’: ‘() { eval $($LMOD\_DIR/ml\_cmd “$@”)\n}’}

I am not sure how to solve both problems. Thanks for the help!

Cesar

---

<div class="post-metadata">

**Author:** ![f.asnicar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/f.asnicar/32/196_2.png) [@f.asnicar](https://forum.biobakery.org/u/f.asnicar)\
**Post date:** [September 24, 2021, 9:14pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634/2 "2021-09-24T21:14:44Z")

</div>

Dear Cesar, thank you for reporting this.  
The two errors you mentioned seems actually to be the same problem and it is because you are using a configuration file for a nucleotide database while using an amino acid database. The phylophlan database is a set of proteins, so you should use a configuration file to index a protein database and to perform the right mappings. Among the 4 standard configuration files, the supermatrix\_aa.cfg should work.  
Many thanks, Francesco

---

<div class="post-metadata">

**Author:** ![capfz200](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/capfz200/32/1040_2.png) [@capfz200](https://forum.biobakery.org/u/capfz200)\
**Post date:** [September 27, 2021, 9:18pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634/3 "2021-09-27T21:18:28Z")

</div>

Dear Francesco,  
Thanks for the response. My Mags are nucleotide sequences and the retrived genomes are also nucleotides. I wonder how can I change the -d phylophlan to work with nucleotides or am I missing something?

I also run this command to have my tree\_building\_config.cfg  
phylophlan\_write\_config\_file -o tree\_building\_config.cfg -d n --db\_dna makeblastdb --map\_dna blastn --msa muscle --trim trimal --tree1 fasttree --tree2 raxml

Cesar

---

<div class="post-metadata">

**Author:** ![capfz200](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/capfz200/32/1040_2.png) [@capfz200](https://forum.biobakery.org/u/capfz200)\
**Post date:** [September 27, 2021, 9:42pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634/4 "2021-09-27T21:42:38Z")

</div>

I just see that the phylophlan.fna in phylophlan\_databases/phylophlan is empty.

---

<div class="post-metadata">

**Author:** ![f.asnicar](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/f.asnicar/32/196_2.png) [@f.asnicar](https://forum.biobakery.org/u/f.asnicar)\
**Post date:** [September 28, 2021, 1:02pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634/5 "2021-09-28T13:02:43Z")

</div>

Dear Cesar,  
I’ll reply below quoting the parts from your messages from above.

* * *

> [@capfz200](#):
>
> My Mags are nucleotide sequences and the retrived genomes are also nucleotides. I wonder how can I change the -d phylophlan to work with nucleotides or am I missing something?

This is not a problem, you just need to have the translated search in the mapping file to be able to map your genomes and MAGs against the proteins in the `phylophlan` database.

* * *

> [@capfz200](#):
>
> I also run this command to have my tree\_building\_config.cfg  
> phylophlan\_write\_config\_file -o tree\_building\_config.cfg -d n --db\_dna makeblastdb --map\_dna blastn --msa muscle --trim trimal --tree1 fasttree --tree2 raxml

With the above command, you’re specifying that the database to be used with this config file is a nucleotide one (`-d n`) and you’ll use the `makeblastdb` to index it. If you are using the `phylophlan` database this won’t work and `makeblastdb` will return an error because it will find amino acids instead of nucleotides. You can use the `supermatrix_aa.cfg` that was generated when you installed PhyloPhlAn, or you can have a look at the [`phylophlan_write_default_configs.sh`](https://github.com/biobakery/phylophlan/blob/dfee9606e13589ea579634e847ec9c1e5f35a6b8/phylophlan/phylophlan_write_default_configs.sh) file to see the command to generate it, reported also below:

```Bash
phylophlan_write_config_file -o supermatrix_aa.cfg \
    -d a \
    --db_aa diamond \
    --map_dna diamond \
    --map_aa diamond \
    --msa mafft \
    --trim trimal \
    --tree1 fasttree \
    --tree2 raxml \
    --overwrite \
    --verbose

```

For the above two parts, you can have a look at the [Configuration File](https://github.com/biobakery/phylophlan/wiki#configuration-file) section of the PhyloPhlAn wiki.

* * *

> [@capfz200](#):
>
> I just see that the phylophlan.fna in phylophlan\_databases/phylophlan is empty.

This is strange. Can you please remove the `phylophlan` folder from there and re-run PhyloPhlAn so that the database will be re-downloaded?

Many thanks,  
Francesco

---

<div class="post-metadata">

**Author:** ![capfz200](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/capfz200/32/1040_2.png) [@capfz200](https://forum.biobakery.org/u/capfz200)\
**Post date:** [September 29, 2021, 9:28pm UTC](https://forum.biobakery.org/t/phylophlan3-database-in-phylophlan-command/2634/6 "2021-09-29T21:28:39Z")

</div>

Dear Francesco

I was having some troubles with the cloud computing since they have hardware problems during recent weeks. Maybe that could be a reason since some works were being interrupted from time to time. I will come back to you in a few days when the hardware will be better.

Thanks for all the patience, it was very helpful
