Tested on (Requirements)

  • OS base: CentOS (x86_64) \(\boldsymbol{\ge}\) 6.6
  • bzip2
  • bzip2-devel
  • libz
  • zlib-devel
  • HDF5

Build process

  1. Load the right environment.
module load hdf5
  1. Download and decompress the Mothur’s source code
wget https://github.com/mothur/mothur/archive/v.1.42.3.tar.gz

tar fxz v.1.42.3.tar.gz
  1. Enter to Mothur makefile and edit the PREFIX path and HDF5 file paths.
cd mothur-v.1.42.3
emacs Makefile
PREFIX := "/path/to/install/mothur"
...
HDF5_LIBRARY_DIR ?= "/path/to/hdf5/lib"
HDF5_INCLUDE_DIR ?= "/path/to/hdf5/include"
  1. Compile Mothur
make

Module Files

Apolo II

#%Module1.0#####################################################################
##
## modules mothur/1.42.3_intel-19.0.4
##
## /share/apps/mothur/1.42.3/intel-19.0.4_boost-1.67.0 Written by Johan Sebastian Yepes Rios
##

proc ModulesHelp { } {
    puts stderr "\tmothur/1.42.3_intel-19.0.4 - sets the Environment for mothur in \
    \n\tthe share directory /share/apps/mothur/1.42.3/intel-19.0.4_boost-1.67.0\n"
    }

module-whatis "\n\n\tSets the environment for using Mothur-1.42.3 \
               \n\tbuilded with Intel Compiler 2019 and Boost 1.67.0 version\n"

# for Tcl script use only
set       topdir     /share/apps/mothur/1.42.3/intel-19.0.4_boost-1.67.0
set       version    1.42.3
set       sys        x86_64-redhat-linux

module load intel/19.0.4 gcc/5.4.0 boost/1.67.0_intel-17.0.1 hdf5/1.10.5_gcc-5.4.0

prepend-path    PATH $topdir/bin