Monday, November 14, 2016

Install samtools locally on Linux (ridgeside), osX (byte)

Install htslib locally to /home/lib/

Install bcftools. 
Edit .cshrc

              
Biostar suggestion works: 

Download samtools-1.3.1 from www.htslib.org/download
https://www.biostars.org/p/173832/
make prefix=/home/hqin/bin
make prefix=/home/hqin/bin install

Official Samtools installation guide (Qin could not follow this one due to user limitation on ridgeside)
https://github.com/samtools/samtools/blob/develop/README.md



==========
osX, byte install

http://www.htslib.org/download/
Download samtools-1.3.1

cd /Downloads/samtools-1.3.1

Byte-5:samtools-1.3.1 hqin$ make prefix=/Users/hqin/bin/samtools

Byte-5:samtools-1.3.1 hqin$ make prefix=/Users/hqin/bin/samtools install
mkdir -p -m 755 /Users/hqin/bin/samtools/bin /Users/hqin/bin/samtools/share/man/man1
install -p samtools misc/ace2sam misc/maq2sam-long misc/maq2sam-short misc/md5fa misc/md5sum-lite misc/wgsim misc/blast2sam.pl misc/bowtie2sam.pl misc/export2sam.pl misc/interpolate_sam.pl misc/novo2sam.pl misc/plot-bamstats misc/psl2sam.pl misc/sam2vcf.pl misc/samtools.pl misc/seq_cache_populate.pl misc/soap2sam.pl misc/varfilter.py misc/wgsim_eval.pl misc/zoom2sam.pl /Users/hqin/bin/samtools/bin
install -p -m 644 samtools.1 misc/wgsim.1 /Users/hqin/bin/samtools/share/man/man1



No comments:

Post a Comment