Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MMPE
    Junior Member
    • Dec 2011
    • 2

    #1

    Installation of Burrows-Wheeler Alignment Tool (bwa) on Mac

    Hi I am new to the bioinformatic field. I just want to know how I could install the bwa in my iMac after i download the bwa-0.6.1.tar.bz2 file. I know that i should do that using the terminal window but I am not sure how to do it. Any help?
    Last edited by MMPE; 12-05-2011, 03:12 AM.
  • kga1978
    Senior Member
    • Nov 2010
    • 100

    #2
    You need to have Xcode from Apple installed (can be found on the AppStore). Extract the bwa archive and cd into it from the terminal. Then simply type `make' to compile and copy the resulting executable `bwa' anywhere you want (I would put it under /usr/local/bin - e.g sudo mv bwa /usr/local/bin).

    Comment

    • Jon_Keats
      Senior Member
      • Mar 2010
      • 279

      #3
      Take a look at this thread (http://seqanswers.com/forums/showthread.php?t=4589). Shameless plug as it is my own but it should help get you going. Sadly bwa will be just the start...

      Comment

      • yehudithasin
        Member
        • Jan 2011
        • 14

        #4
        Hi
        About bwa and Mac.....I am trying to install bwa on Mac, after upgrading to Lion (I already downloaded the xcode 4 and added the relevant library to PATH). After trying 'make' I get the following message:

        "gcc -c -g -Wall -O2 -DHAVE_PTHREAD QSufSort.c -o QSufSort.o
        QSufSort.c:32:19: error: stdio.h: No such file or directory
        QSufSort.c:33:20: error: stdlib.h: No such file or directory
        In file included from QSufSort.c:34:
        /Developer/usr/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h:10:25: error: limits.h: No such file or directory
        make: *** [QSufSort.o] Error 1"


        I have no idea what that error means and how to fix it.....any suggestions please?
        Yu

        Comment

        • Jon_Keats
          Senior Member
          • Mar 2010
          • 279

          #5
          Unfortunately Apple no longer packages the gcc compiler as part of the Xcode4 package that works with Mac OS Lion. To get around this issue you can install MacPorts and the gcc4.2 compiler package.

          Another option is in this thread:
          http://stackoverflow.com/questions/5...ort-to-xcode-4

          Comment

          • nilshomer
            Nils Homer
            • Nov 2008
            • 1283

            #6
            Originally posted by Jon_Keats View Post
            Unfortunately Apple no longer packages the gcc compiler as part of the Xcode4 package that works with Mac OS Lion. To get around this issue you can install MacPorts and the gcc4.2 compiler package.

            Another option is in this thread:
            http://stackoverflow.com/questions/5...ort-to-xcode-4
            It works for me. Another thread though:
            I updated to OS X Lion today, and I don't seem to have a copy of gcc any more. Did this happen to anyone else? Does anyone know why this would happen?

            Comment

            • yehudithasin
              Member
              • Jan 2011
              • 14

              #7
              Thanks, installing the command line tools worked for me, although ad to go to developer site (https://developer.apple.com/downloads/). Installation from Xcode failed at checksum
              Yu

              Comment

              • vandy
                Junior Member
                • Aug 2012
                • 5

                #8
                hello there,

                I am very new to this and this is my first post. so please bear a bit with me.

                I am facing problem in installing bwa on my laptop. I have installed Xcode and then downloaded bwa-0.6.2 version on my Mac OS X ver 10.7.4. whenever i type make to execute its giving me an error.

                -bash: make: command not found

                Any suggestion

                Comment

                • Jon_Keats
                  Senior Member
                  • Mar 2010
                  • 279

                  #9
                  Try the following:

                  You need to install Xcode from App Store: http://itunes.apple.com/us/app/xcode/id448457090?mt=12

                  Then start Xcode, go to Xcode->Preferences->Downloads and install component named "Command Line Tools". After that all the relevant tools will be placed in /usr/bin folder and you will be able to use it just as it was in 10.6

                  Comment

                  • vandy
                    Junior Member
                    • Aug 2012
                    • 5

                    #10
                    Thank you Jon_Keats.
                    I did download xcode as per your suggestion. It worked this time.

                    Comment

                    • maivantan
                      Member
                      • Oct 2013
                      • 51

                      #11
                      Hi all,
                      I am a new bioinoformatic field.
                      I want to install BWA. I already installed Xcode. However, I could not install BWA.
                      I type 'make' in terminal but can not success
                      Any suggestion in detail please
                      thank you very much

                      Comment

                      • gsr9999
                        Junior Member
                        • Jun 2015
                        • 5

                        #12
                        jon keats and nils homer, Thank You for your answers for this post.

                        I followed nilshomer's posted link and tried to do what the following , what <jbm hack> posted : <Preferences --> Downloads --> Command Line Tools, and click on installWith "Components">. But this didn't work for me.

                        So, I rather followed the instruction in this post http://apple.stackexchange.com/quest...oads-for-devel

                        And then I ran the following command :

                        $xcode-select --install

                        This above command worked for me and the c++ compiler gcc got installed successfully on my mac 10.9.5. And I am now able to compile the bwa

                        Comment

                        • gsr9999
                          Junior Member
                          • Jun 2015
                          • 5

                          #13
                          thanks for the post, I installed the gcc on my mac 10.9.5 with the following command

                          xcode-select --install

                          Comment

                          Latest Articles

                          Collapse

                          • SEQadmin2
                            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                            by SEQadmin2



                            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                            Despite this, “CRISPR helped turn genome editing from a specialized technique into
                            ...
                            07-31-2026, 11:01 AM
                          • SEQadmin2
                            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                            by SEQadmin2


                            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                            The systematic characterization of the human proteome has
                            ...
                            07-20-2026, 11:48 AM
                          • 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

                          ad_right_rmr

                          Collapse

                          News

                          Collapse

                          Topics Statistics Last Post
                          Started by SEQadmin2, 07-31-2026, 02:55 AM
                          0 responses
                          19 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-24-2026, 12:17 PM
                          0 responses
                          16 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-23-2026, 11:41 AM
                          0 responses
                          16 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-20-2026, 11:10 AM
                          0 responses
                          26 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...