Unconfigured Ad

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

    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

                  • SEQadmin2
                    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                    by SEQadmin2



                    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                    ...
                    07-09-2026, 11:10 AM
                  • SEQadmin2
                    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                    by SEQadmin2



                    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                    07-08-2026, 05:17 AM
                  • GATTACAT
                    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by GATTACAT
                    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                    07-01-2026, 11:43 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 07-13-2026, 10:26 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-09-2026, 10:04 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-08-2026, 10:08 AM
                  0 responses
                  25 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-07-2026, 11:05 AM
                  0 responses
                  35 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...