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
- Download the SAM tools
- Unpack the SAM tools tarball and cd to the SAM tools source directory.
- Build the SAM tools by typing make at the command line.
- 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/.
- Copy libbam.a to the lib/ directory in the folder you've chosen above (e.g. /usr/local/lib/)
- Create a directory called "bam" in the include/ directory (e.g. /usr/local/include/bam)
- Copy the headers (files ending in .h) to the include/bam directory you've created above (e.g. /usr/local/include/bam)
- 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!