SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
CASAVA 1.8.2 on MacOs X Mercutio Illumina/Solexa 1 04-19-2012 09:25 AM
The problem of installing samtools on mac louis7781x Bioinformatics 2 07-06-2011 09:57 AM
Help with installing samtools on a Mac Ash Bioinformatics 7 01-27-2011 05:55 PM
samtools-0.1.12a and bwa-0.5.9rc1 installing problem on fedora14 ketan_bnf Bioinformatics 2 01-14-2011 06:39 PM
Building OLB for MacOS cabroadb Bioinformatics 4 08-04-2010 11:10 AM

Reply
 
Thread Tools
Old 05-30-2012, 03:00 PM   #1
kriskris
Junior Member
 
Location: California, USA

Join Date: May 2012
Posts: 4
Default Installing Samtools on MacOS

Hi,

I'm trying to install samtools on my Mac (OS X 10.6.8). I downloaded samtols-0.2.1.18tar.bz2 and unzipped it on my desktop. Then in terminal, I entered that directory and typed "make". It says "command not found".

I saw that zlib is required, so I also downloaded that and put the samtools into that directory and tried typing "make", which gave the same "command not found" message.

I'm new to unix but have successfully installed and used other programs (Bowtie, etc.), so I'm not sure why I'm having such problems with Samtools.

Any help would be greatly appreciated!
kriskris is offline   Reply With Quote
Old 05-30-2012, 03:23 PM   #2
maubp
Peter (Biopython etc)
 
Location: Dundee, Scotland, UK

Join Date: Jul 2009
Posts: 1,541
Default

Have you installed Apple's Xcode? That provides gcc, make, etc. Get it free from the Apple App Store (big download).
maubp is offline   Reply With Quote
Old 05-30-2012, 04:43 PM   #3
kriskris
Junior Member
 
Location: California, USA

Join Date: May 2012
Posts: 4
Default

I have not installed Xcode, as I was told it wasn't was required for samtools. Is it necessary? I did a quick search at the Apple App store and it seems that only Xcode 4, which isn't compatible with my OS X 10.6.8, is freely available. Do you know where I could find the appropriate version of Xcode if I need it?

Thanks!
kriskris is offline   Reply With Quote
Old 05-30-2012, 04:53 PM   #4
Wallysb01
Senior Member
 
Location: San Francisco, CA

Join Date: Feb 2011
Posts: 286
Default

Xcode for OSX 10.6 is $5, I think. Its free if you have OSX 10.7. You can still download Xcode 4 for 10.6, and you will need it for samtools or any program that requires a "make" command.
Wallysb01 is offline   Reply With Quote
Old 05-30-2012, 11:58 PM   #5
maubp
Peter (Biopython etc)
 
Location: Dundee, Scotland, UK

Join Date: Jul 2009
Posts: 1,541
Default

Quote:
Originally Posted by kriskris View Post
I have not installed Xcode, as I was told it wasn't was required for samtools. Is it necessary? I did a quick search at the Apple App store and it seems that only Xcode 4, which isn't compatible with my OS X 10.6.8, is freely available. Do you know where I could find the appropriate version of Xcode if I need it?

Thanks!
It used to be on the DVD that came with your Mac.
maubp is offline   Reply With Quote
Old 05-31-2012, 03:50 AM   #6
mbblack
Senior Member
 
Location: Research Triangle Park, NC

Join Date: Aug 2009
Posts: 245
Default

Quote:
Originally Posted by kriskris View Post
I have not installed Xcode, as I was told it wasn't was required for samtools. Is it necessary? I did a quick search at the Apple App store and it seems that only Xcode 4, which isn't compatible with my OS X 10.6.8, is freely available. Do you know where I could find the appropriate version of Xcode if I need it?

Thanks!
Strictly speaking, XCode is not necessary, but you need a gcc compiler and tools in order to compile Samtools. There are open source tools available for OS X, but by far the simplest to set up would be to spring for XCode and install it.

XCode is only available from Apple, either through the App store or by paying to register as a developer.
__________________
Michael Black, Ph.D.
ScitoVation LLC. RTP, N.C.
mbblack is offline   Reply With Quote
Old 11-07-2012, 06:55 AM   #7
ChrisBird
Junior Member
 
Location: Texas

Join Date: Nov 2012
Posts: 2
Thumbs up Solution to make: command not found

If you have OSX Lion, then Xcode does not automatically install the command line tools.

When trying to install SAM Tools using Make, you will get the error message that make isn't found.

You have to open Xcode, goto Preferences/Downloads, and then install the command line tools.
ChrisBird is offline   Reply With Quote
Old 11-07-2012, 08:50 AM   #8
HESmith
Senior Member
 
Location: Bethesda MD

Join Date: Oct 2009
Posts: 503
Default

FYI, the latest version of Xcode doesn't include some standard GNU compiling components (e.g., automake, autoconf, libtools), even after installing the Command Line Tools as suggested.

-Harold
HESmith is offline   Reply With Quote
Old 11-07-2012, 09:14 AM   #9
HESmith
Senior Member
 
Location: Bethesda MD

Join Date: Oct 2009
Posts: 503
Default

Follow up: apparently, Autotools was dropped by Apple due to GPLv3 licensing issues. Also, gcc in current Xcode is actually a symlink to llvm-gcc (which doesn't have the licensing issue).

-Harold
HESmith is offline   Reply With Quote
Reply

Tags
installation, mac osx, 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 09:40 PM.


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