【软件安装】---测序分析软件RAMPART的安装教程

2020-04-29  本文已影响0人  卡布达b1

前言:RAMPART是一款软件工具包,可以分析测序数据,鉴定新的基因组。


官网首页

安装共有三种方法:1.源码安装;2.homebrew安装;3.tarball安装。三种安装方式都需要先具备JRE1.7+。

我这里推荐使用tarball安装
1.首先下载maven 3,并解压,添加环境变量

wget https://mirror.bit.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar -xf apache-maven-3.6.3-bin.tar.gz
echo "export PATH=/path/to/apache-maven-3.6.3/bin:$PATH" >> ~/.bashrc
source ~/.bashrc

2.从Gayhub下载rampart

git clone https://github.com/TGAC/RAMPART.git
cd RAMPART
mvn clean install

3.安装成功

PS:mvn就是maven 3的主程序,初次安装mvn的话,需要先使用mvn --update-snapshots更新一下依赖环境,然后再mvn clean install。一次安装成功的可能性不大,多试几次,跟网速有很大关系,祝你好运!

使用brew安装
1.下载Linuxbrew

git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew

2.在bashrc中添加环境变量

# Until LinuxBrew is fixed, the following is required.
# See: https://github.com/Homebrew/linuxbrew/issues/47
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH
## Setup linux brew
export LINUXBREWHOME=$HOME/.linuxbrew
export PATH=$LINUXBREWHOME/bin:$PATH
export MANPATH=$LINUXBREWHOME/man:$MANPATH
export PKG_CONFIG_PATH=$LINUXBREWHOME/lib64/pkgconfig:$LINUXBREWHOME/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=$LINUXBREWHOME/lib64:$LINUXBREWHOME/lib:$LD_LIBRARY_PATH

3.source一下bashrc

source ~/.bashrc

4.brew好像依赖ruby环境,需要再安装ruby语言,并添加环境变量

5.更新brew

brew update

6.最后安装RAMPART

brew install rampart

安装教程在Github上也可以看到:

github.com/TGAC/RAMPART

官方说明文档:

rampart.readthedocs.io/en/latest/installation.html

RAMPART官网:

www.earlham.ac.uk/rampart

上一篇下一篇

猜你喜欢

热点阅读