运行命令conda install -y samtools,显示
The following NEW packages will be INSTALLED:
curl anaconda/pkgs/free/osx-64::curl-7.30.0-2
samtools anaconda/cloud/bioconda/osx-64::samtools-1.4.1-0
sambamba包安装成功,在终端输入samtools --help出错了
dyld: Library not loaded: @rpath/libcurl.4.dylib
Referenced from: /Users/username/miniconda3/envs/atac/bin/samtools
Reason: Incompatible library version: samtools requires version 9.0.0 or later, but libcurl.4.dylib provides version 8.0.0
zsh: abort samtools
发现是libcurl.4.dylib的问题,查看了下curl的已有版本,发现安装过程中下载的curl包版本略低,运行
conda uninstall samtools
conda update curl
conda install samtools
这时samtools包就安装好了,输入samtools --help没问题了,界面如下:
Program: samtools (Tools for alignments in the SAM format)
Version: 1.4.1 (using htslib 1.4.1)
Usage: samtools [options]
Commands:
– Indexing
dict create a sequence dictionary file
faidx index/extract FASTA
index index alignment