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
                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, Yesterday, 07:41 AM
              0 responses
              12 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 08-03-2026, 10:13 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              39 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              25 views
              0 reactions
              Last Post SEQadmin2  
              Working...