View Single Post
Old 02-27-2013, 08:48 PM   #1
alittleboy
Member
 
Location: USA

Join Date: Apr 2011
Posts: 60
Smile where to copy samtools binary to some directories

I am installing cufflinks on my Mac OS X, and here is the instruction:

http://cufflinks.cbcb.umd.edu/tutorial.html

Under Installing the SAM tools I follow the instructions below

1. Download the SAM tools
2. Unpack the SAM tools tarball and cd to the SAM tools source directory.
3. Build the SAM tools by typing make at the command line.
4. Choose a directory into which you wish to copy the SAM tools binary, the included library libbam.a, and the library headers. A common choice is /usr/local/.
5. Copy libbam.a to the lib/ directory in the folder you've chosen above (e.g. /usr/local/lib/)
6. Create a directory called "bam" in the include/ directory (e.g. /usr/local/include/bam)
7. Copy the headers (files ending in .h) to the include/bam directory you've created above (e.g. /usr/local/include/bam)
8. Copy the samtools binary to some directory in your PATH.

I've done the fist 7 steps, but I am not sure how to proceed with the last step (#8): should I use the command:

sudo cp -a samtools-0.1.18 /usr/local/

or into some other directories? What does the PATH in step 8 indicate? Thanks!
alittleboy is offline   Reply With Quote