Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metrix - A Server / client parser for Illumina (InterOp) run directories Rhizosis Bioinformatics 29 10-15-2014 04:06 AM
vcftools non-binary genotypes info_nowise Bioinformatics 0 02-24-2012 07:29 AM
Bowtie 2 Binary Neuromancer Bioinformatics 2 12-21-2011 12:49 AM
SAW - source code/binary out? schmima Bioinformatics 3 08-24-2010 09:30 PM
back to binary Layla Bioinformatics 3 06-23-2009 10:43 AM

Thread Tools
Old 02-27-2013, 08:48 PM   #1
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:

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
Old 02-27-2013, 11:17 PM   #2
Junior Member
Location: London

Join Date: Sep 2012
Posts: 5

PATH is a variable containing information on the directories that contain executable programs. If you type echo $PATH into your shell, it will spit the list out. Copy the file into one of those directories. You can also add new folders to your PATH, if you for some reason or another want the binary files in a specific location. You can google your way to how that is done, if youre interested.

adrianl is offline   Reply With Quote

cufflinks 2.0.2, samtools

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:00 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO