方法1、编译安装
001、系统
[liujiaxin01@localhost software]$ cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core)
002、下载bamtools软件安装包
wget https://github.com/pezmaster31/bamtools/archive/refs/tags/v2.5.2.tar.gz
tar -xzvf v2.5.2.tar.gz
cd bamtools-2.5.2/
mkdir build
cd build
cmake ..
make
make install
注:cmake需要3.0以上, 安装方法:
https://www.cnblogs.com/liujiaxin2018/p/16791683.html
003、测试安装效果:
cd src/
./bamtools
方法2、conda 安装
conda install -c bioconda bamtools
测试安装效果:
~/anaconda3/bin/bamtools