Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • genelab
    Member
    • Nov 2009
    • 27

    #1

    How to set bwa to resport all the best repeat hit?

    Hello all,
    How to set bwa to resport all the best repeat hits? The default is only to report the random choosed one from all the best repeat hits.
    All reply will be great appreciated. thx
  • john_mu
    Member
    • May 2010
    • 88

    #2
    I thought it did this by default?

    from the manual:

    By default, if the best hit is no so repetitive (controlled by -R), BWA also finds all hits contains one more mismatch; otherwise, BWA finds all equally best hits only. Base quality is NOT considered in evaluating hits. In paired-end alignment, BWA pairs all hits it found. It further performs Smith-Waterman alignment for unmapped reads with mates mapped to rescue mapped mates, and for high-quality anomalous pairs to fix potential alignment errors.
    SpliceMap: De novo detection of splice junctions from RNA-seq
    Download SpliceMap Comment here

    Comment

    • genelab
      Member
      • Nov 2009
      • 27

      #3
      Originally posted by john_mu View Post
      I thought it did this by default?

      from the manual:

      By default, if the best hit is no so repetitive (controlled by -R), BWA also finds all hits contains one more mismatch; otherwise, BWA finds all equally best hits only. Base quality is NOT considered in evaluating hits. In paired-end alignment, BWA pairs all hits it found. It further performs Smith-Waterman alignment for unmapped reads with mates mapped to rescue mapped mates, and for high-quality anomalous pairs to fix potential alignment errors.
      Thanks for your kindly reply.
      This may be the default setting of "bwa aln", however, when i use 'bwa samse' to convert the result.sai ,generated by 'bwa aln', to sam format, the read in the sam result hava at most one hit.

      form the samse part of manual:
      Samse generate alignments in the SAM format given single-end reads. Repetitive hits will be randomly chosen

      Comment

      • john_mu
        Member
        • May 2010
        • 88

        #4
        If I remember correctly, it outputs the other ones in the "XA" tag at the end of the line.

        if you set the -n option to a high number, you should get most of the hits.

        I think the hits are chosen randomly in this case because all the repetitive hits are equally good.
        SpliceMap: De novo detection of splice junctions from RNA-seq
        Download SpliceMap Comment here

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          The Factors Reshaping Genome Assembly
          by SEQadmin2



          When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
          11-24-2026, 07:04 AM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-23-2026, 11:11 AM
        0 responses
        39 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-17-2026, 06:27 AM
        0 responses
        47 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Working...