Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kriskris
    Junior Member
    • May 2012
    • 4

    #1

    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!
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    Have you installed Apple's Xcode? That provides gcc, make, etc. Get it free from the Apple App Store (big download).

    Comment

    • kriskris
      Junior Member
      • May 2012
      • 4

      #3
      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!

      Comment

      • Wallysb01
        Senior Member
        • Feb 2011
        • 286

        #4
        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.

        Comment

        • maubp
          Peter (Biopython etc)
          • Jul 2009
          • 1544

          #5
          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.

          Comment

          • mbblack
            Senior Member
            • Aug 2009
            • 245

            #6
            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.

            Comment

            • ChrisBird
              Junior Member
              • Nov 2012
              • 2

              #7
              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.

              Comment

              • HESmith
                Senior Member
                • Oct 2009
                • 512

                #8
                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

                Comment

                • HESmith
                  Senior Member
                  • Oct 2009
                  • 512

                  #9
                  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

                  Comment

                  Latest Articles

                  Collapse

                  • kinpict.com
                    Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                    by kinpict.com
                    The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                    Today, 06:37 PM
                  • SEQadmin2
                    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                    by SEQadmin2





                    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                    10-30-2026, 06:46 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 11-12-2026, 07:59 AM
                  0 responses
                  27 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 11-05-2026, 09:25 AM
                  0 responses
                  35 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 11-03-2026, 11:54 AM
                  2 responses
                  56 views
                  0 reactions
                  Last Post kinpict.com  
                  Started by SEQadmin2, 10-28-2026, 09:57 AM
                  0 responses
                  175 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...