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
          Latest Developments in Precision Medicine
          by seqadmin



          Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

          Somatic Genomics
          “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
          Today, 01:16 PM
        • seqadmin
          Recent Advances in Sequencing Analysis Tools
          by seqadmin


          The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
          05-06-2024, 07:48 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 07:15 AM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 10:28 AM
        0 responses
        15 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 07:35 AM
        0 responses
        16 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-22-2024, 02:06 PM
        0 responses
        8 views
        0 likes
        Last Post seqadmin  
        Working...
        X