Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cheezemeister
    Member
    • Oct 2014
    • 36

    #1

    BWA "Error generating alignments"

    I'm new to bioinformatics and I'm having an issue with BWA.

    I'm using BWA (the Map with BWA for Illumina tool in Galaxy) to align some reads to the human hg19 reference. The alignment is failing with the following error:

    The alignment failed.
    Error generating alignments. [bwa_sai2sam_pe_core] convert to sequence coordinate...
    [infer_isize] (25, 50, 75) percentile: (270, 370, 464)
    [infer_isize] low and high boundaries: 251 and 852 for estimating avg and std
    [infer_isize] inferred external isize from 175111 pairs: 422.966 +/- 112.280
    [infer_isize] skewness: 0.783; kurtosis: 0.372; ap_prior: 1.65e-05
    [infer_isize] inferred maximum insert size: 1192 (6.85 sigma)
    Killed


    The command to run BWA was:

    python /mnt/galaxy/shed_tools/toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/ffa8aaa14f7c/bwa_wrappers/bwa_wrapper.py --threads="${GALAXY_SLOTS:-4}" --fileSource="history" --ref="/mnt/galaxy/files/000/dataset_488.dat" --dbkey="?" --input1="/mnt/galaxy/files/000/dataset_530.dat" --input2="/mnt/galaxy/files/000/dataset_531.dat" --output="/mnt/galaxy/files/000/dataset_534.dat" --genAlignType="paired" --params="pre_set" --suppressHeader="false"

    I had previously, within the same Galaxy instance, successfully aligned some bacterial reads to a bacterial reference using the same workflow. However, when I try to align some reads from a human sample to hg19 I get this error. So it must have something to do with either the reference or the reads themselves. (I should note that the human and bacterial sequence data came off the same run on the same sequencer.)

    Can anyone help me figure out what the problem is?

    Mike
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    How long does the job run before it gets killed? The "killed" part from the log seems to indicate that your galaxy job is running up against some limit (memory/disk) on your galaxy instance (or is this on public galaxy at PSU?).

    Comment

    • cheezemeister
      Member
      • Oct 2014
      • 36

      #3
      The job ran for about 30 minutes or so. There is definitely not a disk problem; the disk is only about 5% full. Instance has 16 GB of memory but I don't know how to tell if it's running out of RAM. (Theoretically, it should swap if RAM is full.) I'm running my own instance of Galaxy/Cloudman on Amazon EC2.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        See this answer from Heng Li about memory requirements for bwa for aligning against human genome: http://sourceforge.net/p/bio-bwa/mai...sage/32268544/

        I am not sure how many threads you are running but it is possible that you are running out of memory/swap space (how much swap is configured on this instance?).

        Comment

        • cheezemeister
          Member
          • Oct 2014
          • 36

          #5
          It looks like you were probably right about memory. I was using a very small instance (c3large) on Amazon Web Services. That instance only had 4 GB of RAM. Couple that with the fact that whoever designed the Galaxy Cloudman AMIs didn't include a swap partition and the instance is severely memory-limited. I had been using it for small bacterial genomes previously, and it worked perfectly, so I didn't really think about it when I tried to run a human alignment, especially since the human genomes I'm running are extremely low depth (same number of reads as the bacterial genomes). I fired up a c3.8xlarge instance and ran the human alignments on that and they complete without error. I assume it's the reference taking up all the RAM.

          Thanks for your help!
          Last edited by cheezemeister; 02-28-2015, 03:01 PM.

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            Originally posted by cheezemeister View Post
            I assume it's the reference taking up all the RAM.
            Correct, short-read aligners use memory proportional to the reference size.

            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
            17 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            18 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
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...