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

                  • SEQadmin2
                    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                    by SEQadmin2



                    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                    ...
                    10-14-2026, 09:55 AM
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-22-2026, 11:13 AM
                  0 responses
                  26 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  20 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  36 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  43 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...