Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JMFA
    Member
    • Nov 2010
    • 11

    #1

    BWA index segmentation fault

    Dear all,

    I'm having some difficulties trying to index a reference genome using BWA -a bwtsw.
    I am using BWA 0.6.2 version and I tried to index the Hg19 but BWA fails to complete the index.

    The error looks like this:

    [BWTIncConstructFromPacked] 620 iterations done. 1697352406 characters processed.
    [BWTIncConstructFromPacked] 630 iterations done. 1740074246 characters processed.
    [BWTIncConstructFromPacked] 640 iterations done. 1778041526 characters processed.
    [BWTIncConstructFromPacked] 650 iterations done. 1811782918 characters processed.
    [BWTIncConstructFromPacked] 660 iterations done. 1841768294 characters processed.
    [BWTIncConstructFromPacked] 670 iterations done. 1868415350 characters processed.
    [BWTIncConstructFromPacked] 680 iterations done. 1892095270 characters processed.
    [bwt_gen] Finished constructing BWT in 688 iterations.
    [bwa_index] 886.42 seconds elapse.
    [bwa_index] Update BWT... Segmentation fault (core dumped)
    I am currently using a 4 CPU server with 8Gb RAM.
    In the BWA manual it says that BWA uses approx. 2.5 Gb of memory to align the whole human genome, so I wasn't expecting this type of error.
    I checked the memory usage (using system monitor) during BWA index and in fact it showed that only 2.4 Gb out of 7.9Gb were being used in the process.

    Do you have any idea of what might be the problem?
    I tried looking at the different seqanswers threads reporting "segmentation fault" with BWA but none of them had an answer to my question.
    I have 250Gb of disk space left so I don't think that this is the problem.
  • xied75
    Senior Member
    • Feb 2012
    • 129

    #2
    Is this a 64 bit Linux? Did you compile the BWA on it? 680 iterations done, 1892095270 doesn't look correct, it should be 6 billion something. Check your config or make file for 64 bit file access switches.

    Best,

    dong

    Comment

    • JMFA
      Member
      • Nov 2010
      • 11

      #3
      dear xied75,

      Thanks for the reply!
      No. I'm running a 32-bit version of ubuntu 12.04.1 LTS

      Code:
      file bwa
      gives this output

      bwa: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x4292d216c6a53bd4d44bbb70b5e2dd5e81c1e2bd, not stripped

      Comment

      • xied75
        Senior Member
        • Feb 2012
        • 129

        #4
        Oh dear, I've no idea if a 32 bit BWA can process hg19. Anyone?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Is there a reason to run 32-bit linux on this machine? Though in theory ubuntu likely supports PAE you are going to run into some problem or other down the road (http://askubuntu.com/questions/20049...t-installation). If at all possible you should consider switching to 64-bit version of the OS.
          You have 8 GB of RAM and "4 CPU's" (I assume that refers to either a dual-core multi-threaded or a quad-core singe-threaded physical CPU) which will support that 64-bit OS.

          Back on the topic of your original question: One thing to check is the size of swap partition. It is quite possible that either swap (or /tmp) is filling up completely causing bwa to crash.

          Comment

          • RDW
            Member
            • Oct 2008
            • 63

            #6
            Originally posted by xied75 View Post
            Oh dear, I've no idea if a 32 bit BWA can process hg19. Anyone?
            As far as I recall, it can't. Time to upgrade the OS!

            Comment

            • JMFA
              Member
              • Nov 2010
              • 11

              #7
              Dear all,
              thank you very much for the comments!

              I decided to upgrade the OS to 64-bit!

              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, Yesterday, 11:13 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 10:48 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Working...