生物软件安装系列教程之MetaMaps
-
MetaMaps
相关链接
-
boost
-
数据库
安装说明(Linux)
Boost
# 下载 boost 并解压 wget https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.gz tar -zxvf boost_1_74_0.tar.gz cd boost_1_74_0 # 编译boost 并安装(prefix指定安装路径,默认( /usr/local/,需要该目录写权限) ./bootstrap.sh --prefix=path/to/installation/prefix ./b2 install # 添加动态库搜索路径 vim ~/.bashrc # ~~~~~~~~~~~~~~在文件末尾添加以下内容~~~~~~~~~~~~~ export LD_LIBRARY_PATH=path/to/installation/prefix/lib/:$LD_LIBRARY_PATHMetaMaps
# 通过 git 下载 MetaMaps 代码 git clone https://github.com/DiltheyLab/MetaMaps.git cd MetaMaps ./bootstrap.sh ./configure --with-boost=/path/to/boost [--prefix=...] make metamaps ./metamaps # ~~~ boost 和 metamaps 均安装成功后以上命令会显示如下结果 ~~~~~~~~~~~~~~~ MetaMaps v 0.1 Simultaneous metagenomic classification and mapping. Usage: ./metamaps mapDirectly|classify|mapAgainstIndex|index Parameters: ./metamaps COMMAND -h for help # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~