Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bwa not producing any alignments

    I'm trying to use bwa for the first time, and for some reason, even though it runs it's not actually producing any alignments.

    This is what I'm doing:

    Code:
    bwa index -p hg19 -a bwtsw hg19.fasta
    
    INPUT1=reads.1.fastq
    INPUT2=reads.2.fastq
    OUTPUT1=bwa_out.1.sai
    OUTPUT2=bwa_out.2.sai
    OUTPUT3=bwa_out.sam
    
    bwa aln hg19 $INPUT1 > $OUTPUT1
    bwa aln hg19 $INPUT2 > $OUTPUT2
    bwa sampe hg19 $OUTPUT1 $OUTPUT2 $INPUT1 $INPUT2 > $OUTPUT3
    ln -s bwa.sam A.sam
    The input files are paired 76 nucleotide reads. The output consists of all the reads, unmapped:

    Code:
    READ_A 77      *       0       0       *       *       0       0       <sequence not shown>    <quality not shown>
    READ_A 141     *       0       0       *       *       0       0       <sequence not shown>    <quality not shown>
    ...
    Does anyone have any idea of what I'm missing here?

    Thanks


    ** EDIT **
    I forgot to mention that I'm running bwa-0.6.1 on Mac OS 10.6.8
    Last edited by genec; 04-04-2012, 03:00 PM.

  • #2
    same problem

    Hi genec,

    Have you been able to correct your problem? I'm getting the exact same results!!! My sam file is identical to yours.

    Comment


    • #3
      I ended up running stampy which uses bwa as part of its pipeline -- that works fine. I never went back to spend more time on why bwa wasn't working properly when I tried to use it stand-alone.

      Gene

      Comment


      • #4
        weird. i use bwa to align reads for SNP detection and i haven't had this issue. i'm running an older version though - 0.5.9-r16
        /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
        Salk Institute for Biological Studies, La Jolla, CA, USA */

        Comment


        • #5
          Hi genec,

          So I thought it was odd that you and I were having the same issue and both running bwa 0.6.1 on Mac OS 10.6.8. So, I tried bwa 0.5.9 and it worked fine. The problem in the in bwa aln step in 0.6.1, but not sure why.

          Comment


          • #6
            I've had this problem also. I messed with bwa 0.6.1 for several hours. I did the indexing then aln step then sampe step in a variety of different ways on a couple different references. Each time bwa would act as if everything was fine (no error messages) but the output SAM file showed none of the reads aligned. Strangely, when I downloaded just chr8 from UCSC (as a shorter test case) and repeated the steps exactly, that DID work. Finally I downloaded bwa 0.5.9 and repeated my steps exactly and it's working fine now.

            A few details:
            -- I'm working on Mac OS X
            -- I was testing 100,000 reads against the human genome (I tried the 1000Genomes version and the UCSC version of hg19)
            -- one step that seems to be failing is the "[bwa_aln_core] calculate SA coordinate..." step. For my test case of 100,00 reads, the step took 0.5 seconds when bwa 0.6.1 failed, it took 16 seconds when bwa 0.6.1 worked against chr8 and it took 40 seconds for bwa 0.5.9 to align all 100,000 reads to the whole human genome.
            -- the other difference I noticed is that my indexes seemed to be missing files when I ran the index in bwa 0.6.1. I was getting amb, ann, bwt, pac, and sa files (of the correct sizes) but not rbwt, rpac, or rsa files. To be fair, the chr8 test that worked with bwa 0.6.1 also didn't produce those files so maybe they aren't required anymore? Or maybe my chr8 test was a fluke.

            I can provide more details if it will help anyone.

            Comment


            • #7
              so basically I shouldn't upgrade. just the other day i was pumped to find a new version. guess I'll wait a while...
              /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
              Salk Institute for Biological Studies, La Jolla, CA, USA */

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Essential Discoveries and Tools in Epitranscriptomics
                by seqadmin




                The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                04-22-2024, 07:01 AM
              • seqadmin
                Current Approaches to Protein Sequencing
                by seqadmin


                Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                04-04-2024, 04:25 PM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 04-25-2024, 11:49 AM
              0 responses
              19 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-24-2024, 08:47 AM
              0 responses
              19 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-11-2024, 12:08 PM
              0 responses
              62 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              60 views
              0 likes
              Last Post seqadmin  
              Working...
              X