Samtools 설치

1 wget http://ds9a.nl/tmp/blah.bam
2 git clone https://github.com/samtools/samtools.git
3 git clone git://github.com/samtools/bcftools.git
4 git clone https://github.com/samtools/htslib.git
5 cd samtools
6 make
7 ./samtools stats ../blah.bam
8 ./samtools view ../blah.bam
9 sudo cp samtools /usr/local/bin

line 1-4: Downloading
line 6: Compiling
line 7-8: Testing
(optional) line 9: Copying the Samtools executable file to an existing directory in your PATH

Reference: http://www.htslib.org/

comments powered by Disqus