Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jfeicheng
    Junior Member
    • Feb 2014
    • 2

    does read order influence bwa mapping?

    I'm doing alignment with bwa (0.7.5a-r405).
    But I found that the same sequence in different position may influence the mapping result.

    As you may noticed, the read1 and read3 are exactly the same, but the mapping result is different.

    read1 0 Chr3 209 0 50M * 0 0 CAAAGGTGCGGCCCGAGGTAAAGGGTTTAACGCTTCATATTTTATCACAT HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH XT:A:R NM:i:0 X0:i:2 X1:i:1 XM:i:0 XO:i:0 XG:i:0 MD:Z:50 XA:Z:Chr11,-26081473,50M,1;
    read2 0 Chr3 208 0 50M * 0 0 ACAAAGGTGCGGCCCGAGGTAAAGGGTTTAACGCTTCATATTTTATCACA HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH XT:A:R NM:i:0 X0:i:2 X1:i:1 XM:i:0 XO:i:0 XG:i:0 MD:Z:50 XA:Z:Chr3,+4840,50M,0;Chr11,-26081474,50M,1;
    read3 4 * 0 0 * * 0 0 CAAAGGTGCGGCCCGAGGTAAAGGGTTTAACGCTTCATATTTTATCACAT HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

    Does anyone know what's happening here?

    the command line:
    input=$1
    bwa aln genome.fa $input >${input/.fq/}.sai
    bwa samse -f ${input/.fq/}.sam genome.fa ${input/.fq/}.sai $input
    Last edited by jfeicheng; 03-01-2016, 08:07 PM.
  • dariober
    Senior Member
    • May 2010
    • 311

    #2
    The mapping quality is 0 meaning that there are multiple and equally probable alignments. In this case bwa picks one location at random and this could explain why different reads with the same sequence are reported at different positions.

    Comment

    Latest Articles

    Collapse

    • GATTACAT
      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by GATTACAT
      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
      07-01-2026, 11:43 AM
    • SEQadmin2
      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by SEQadmin2


      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

      Here are nine questions we think about, in roughly the order they matter, before...
      06-18-2026, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 07-02-2026, 11:08 AM
    0 responses
    12 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    14 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    54 views
    0 reactions
    Last Post SEQadmin2  
    Working...