![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BWA-MEM: output mapped reads larger than input reads | Kennels | Bioinformatics | 9 | 09-05-2013 06:27 PM |
why the properly paired results from bwa mem is an odd number | Pengfei Liu | Bioinformatics | 2 | 08-24-2013 07:26 PM |
bam to paired AND unpaired fastq reads | Kennels | Bioinformatics | 4 | 06-18-2013 11:55 PM |
Unpaired reads in paired data | Nick | General | 0 | 06-22-2011 08:19 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Seattle, WA Join Date: Apr 2008
Posts: 84
|
![]()
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 |
Devon Ryan
Location: Freiburg, Germany Join Date: Jul 2011
Posts: 3,480
|
![]()
Just look at the output BAM in IGV.
|
![]() |
![]() |
![]() |
#3 |
Member
Location: Seattle, WA Join Date: Apr 2008
Posts: 84
|
![]()
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 |
![]() |
![]() |
![]() |
#4 |
Devon Ryan
Location: Freiburg, Germany Join Date: Jul 2011
Posts: 3,480
|
![]()
One thing to keep in mind when you treat them as unpaired, is that your coverage doubles. That could make the difference.
|
![]() |
![]() |
![]() |
Tags |
bwa mem |
Thread Tools | |
|
|