Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • bwa mem with paired/unpaired reads

    I have a quick question for all bwa mem users (or author, if you have time Heng).

    I have some reads from a simulated exome study that have been modified to have a 50/50 allele balance with one allele having a 3 bp deletion at a particular locus. The reads that cover this locus are paired, and so I have a set of reads:
    reads.f.fq, and reads.r.fq

    If I align using the paired reads:
    bwa mem ref.fa reads.f.fq reads.r.fq ...

    and process the results with samtools mpileup, no variant is found.

    However, if I concatenate the read files together, and align without pairing:
    cat reads.f.fq reads.r.fq > reads.fq
    bwa mem ref.fa reads.fq ...

    the variant is discovered as expected.

    Just in case I had the orientation of the reverse reads incorrect, I tried the first command with the reverse complement of the read.r.fq file, without success.

    Is there any bwa mem output I should look for that would indicate improper mate-pairing or other invalid input?

    thanks,
    -mark

  • #2
    Just look at the output BAM in IGV.

    Comment


    • #3
      Originally posted by dpryan View Post
      Just look at the output BAM in IGV.
      Good comment - it is often good to review the sanity of the alignments in a viewer. I neglected to mention that the indels appear in both the paired and unpaired alignments in IGV, as well as bwa aln based alignments. Samtools mpileup detects the indel with the bwa aln based alignments.

      -mark

      Comment


      • #4
        One thing to keep in mind when you treat them as unpaired, is that your coverage doubles. That could make the difference.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Strategies for Sequencing Challenging Samples
          by seqadmin


          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
          03-22-2024, 06:39 AM
        • seqadmin
          Techniques and Challenges in Conservation Genomics
          by seqadmin



          The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

          Avian Conservation
          Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
          03-08-2024, 10:41 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 03-27-2024, 06:37 PM
        0 responses
        12 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-27-2024, 06:07 PM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-22-2024, 10:03 AM
        0 responses
        53 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-21-2024, 07:32 AM
        0 responses
        69 views
        0 likes
        Last Post seqadmin  
        Working...
        X