CentOS安装samtools

sudo yum install bzip2-devel

sudo yum install ncurses-libs

sudo yum install ncurses-devel

然后在samtool同级目录下安装tslibhttp://www.htslib.org/download/


centos编译时报错:lzma.h: No such file or directory

yum install -y xz-devel

解压

tar -jxf samtools-1.5.tar.bz2cd samtools-1.5

make

make install

最后可添加环境变量

echo 'export PATH=$PATH:/opt/biosoft/samtools-1.5/bin' >> /etc/profile

你可能感兴趣的:(CentOS安装samtools)