Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • metheuse
    Member
    • Jan 2013
    • 84

    #1

    How does BWA deal with multi mapping reads?

    Bowtie manual clearly says the default mode is to report one alignment per read, and it will be random choice when tied.

    BWA doesn't seem to be quite clear at this point in its manual. Can anyone explain to me how BWA reports alignments if a read can be mapped to multiple locations? If I want it to report only one, which parameter should I use for that?

    I'm particularly asking for BWA aln because I'm mapping 50bp SE reads. But it would be even better if you could also explain for BWA mem if it's different.

    Thanks a lot!
    Last edited by metheuse; 03-16-2015, 01:42 PM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

    Comment

    • metheuse
      Member
      • Jan 2013
      • 84

      #3
      Thanks, but I read that post before posting my questions.

      There are controversial replies in that post. One reply says BWA makes random choice when there is a tie, but the last reply says: "if there are two equal-scoring locations, bwa gives both a mapping score of 3 (equivalent to 50% probability), and so forth."

      If the latter reply is true, it's still not clear to me if I can set some parameter to restrict BWA to report only one location (and how). Bowtie chooses one randomly but BWA's manual doesn't say anything about it.
      Last edited by metheuse; 03-17-2015, 09:48 AM.

      Comment

      • Brian Bushnell
        Super Moderator
        • Jan 2014
        • 2709

        #4
        For bwa-aln, apparently, the assignment is done after alignment in the sam-file generation phase:

        samse bwa samse [-n maxOcc] <in.db.fasta> <in.sai> <in.fq> > <out.sam>

        Generate alignments in the SAM format given single-end reads. Repetitive hits will be randomly chosen.
        I'm not sure about bwa-mem.

        Comment

        • metheuse
          Member
          • Jan 2013
          • 84

          #5
          Originally posted by Brian Bushnell View Post
          For bwa-aln, apparently, the assignment is done after alignment in the sam-file generation phase:



          I'm not sure about bwa-mem.
          Yes I read that and was wondering what "Repetitive hits will be randomly chosen." exactly means...
          If it means choosing a random alignment when multiple locations are found to be equally best, then it's indeed what I need.
          I think sampe is equivalent to samse, but the former is for bwa mem.
          Thanks!

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            Originally posted by metheuse View Post
            Yes I read that and was wondering what "Repetitive hits will be randomly chosen." exactly means...
            If it means choosing a random alignment when multiple locations are found to be equally best, then it's indeed what I need.
            I think sampe is equivalent to samse, but the former is for bwa mem.
            Thanks!
            Sampe and samse have the same description, and yes, the description means reads with multiple equally-scoring alignments.

            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
            16 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...