Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhootnaath
    Junior Member
    • Jul 2009
    • 5

    #1

    BWA puzzle: Read fate is not deterministic?

    A single read, say Read_X, is separately contained in two different fastq files, say A.fq and B.fq.

    Both fastq files were aligned with BWA against three different indexes as follows:

    First against a "human repeats" index. Unmapped reads were then aligned to a "human rRNA" index. The new set of unmapped reads were next aligned to a "human genomic (hg19)" index.

    The bwa commands for all runs were:
    Code:
    bwa aln –l 0 –t 24
    bwa samse –n 1
    Here is the puzzle: BWA treats Read_X differently in the two runs. For A.fq, the read passes through the first two indexes and is caught at (i.e., found to be aligned to) the third index. For B.fq, the read is caught at the first index itself.

    What could be the possible reasons for this behavior? Ideally a given read should have the same fate if passed through the same indexes in the same order, or should it not? Below are the entries in the different SAM files.

    A.fq alignments:
    Code:
    1. "human repeats" SAM entry:
    Read_X  20  Repeat  32  0  43M  *  0  0  <rev comp seq snipped>  <rev qual snipped>  XT:A:R  NM:i:3  X0:i:0  X1:i:0  XM:i:3  XO:i:0  XG:i:0  MD:Z:27C2G4G7  XA:Z:Repeat, -308,43M,3;
    
    2. "human rRNA" SAM entry:
    Read_X  4  *  32  0  43M  *  0  0  <seq snipped>  <qual snipped>
    
    3. "human genomic (hg19)" SAM entry:
    Read_X  16  chr13  93985787  16  43M  *  0  0  <rev comp seq snipped>  <rev qual snipped>  XT:A:U  NM:i:1  X0:i:1  X1:i:5  XM:i:1  XO:i:0  XG:i:0  MD:Z:39C3
    B.fq alignment:
    Code:
    1. "human repeats" SAM entry:
    Read_X  16  Repeat  308  0  43M  *  0  0  <rev comp seq snipped>  <rev qual snipped>  XT:A:R  NM:i:3  X0:i:0  X1:i:0  XM:i:3  XO:i:0  XG:i:0  MD:Z:27C1C9C3  XA:Z:Repeat, -32,43M,3;

    Cheers,
    BN
  • Richard Finney
    Senior Member
    • Feb 2009
    • 701

    #2
    Might need two more pieces to the puzzle:

    1) Show the full 4 lines for two samples of the read in fastq format (check for Ns)

    2) Show the full sam output, including the variable OPTional fields (field 12 and beyond).
    ___
    edit
    *** okay *** found the tags in your post.

    Both reads did get caught in the REPEAT phase. Read A is getting caught in repeat at "Repeat:32", Read B is at Repeat:308
    BWA will randomly pick an alignment in case of multiple alignments.
    Last edited by Richard Finney; 06-09-2011, 11:39 AM.

    Comment

    • bhootnaath
      Junior Member
      • Jul 2009
      • 5

      #3
      Hi Richard, I think that solves it! Thank you.

      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
        ...
        Yesterday, 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, 05:39 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-29-2026, 09:51 AM
      0 responses
      77 views
      0 reactions
      Last Post SEQadmin2  
      Working...