Unconfigured Ad

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

    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
              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
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM

            ad_right_rmr

            Collapse

            News

            Collapse

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