Conda 安裝 出現(xiàn)了問(wèn)題,版本不對(duì)
conda install -c bioconda samtools=1.17 #仍然安裝不成功
#從頭安裝
wget -c https://github.com/samtools/samtools/releases/download/1.17/samtools-1.17.tar.bz2
tar jxvf samtools-1.17.tar.bz2 #下載samtools 版本
cd samtools-1.17/
./configure --prefix=/home/data/ssy303/samtools/samtools-1.17 #絕對(duì)路徑
make
make install
./samtools --help
vim ~/.bashrc
export PATH=/home/data/ssy303/samtools/samtools-1.17/:$PATH #添加環(huán)境變量
:wq
source ~/.bashrc #配置環(huán)境變量
Samtools --help #成功
引用:http://www.itdecent.cn/p/6b7a442d293f
https://blog.csdn.net/weixin_43187555/article/details/89068705