Compiling SamTools

Taken from Cufflinks – Getting Started

SAM (Sequence Alignment/Map) format is a generic format for storing large nucleotide sequence alignments. SAM Tools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format.

SAMTools (0.1.19)

Step 1: – Download SAMTools

Step 2: – Unpack and compile the SAMTools

# tar -zxvf samtools-0.1.19
# make

Step 3: – Copy the compiled libraries to /usr/local/lib

# cp $SAMTOOLS_HOME/libbam.a /usr/local/lib

Step 4: Copy headers to /usr/local/include

# mkdir /usr/local/include/bam
# cp $SAMTOOLS_HOME/*.h /usr/local/include/bam

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.