SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract uniquely mapped paired end reads from bam file serenaliao Bioinformatics 1 08-21-2014 03:02 PM
How to extract uniquely mapped paired end reads from bam file serenaliao RNA Sequencing 0 08-20-2014 11:42 AM
difference between pair end and single end reads assembly jjjscuedu Bioinformatics 0 08-13-2013 07:22 PM
How to count number of mapped paired-end and single-end rna-seq reads repinementer Bioinformatics 8 01-06-2013 06:06 AM
paired-end reads mapped to genome.. gene with only one direction of paired-end reads? danwiththeplan Bioinformatics 2 09-22-2011 03:06 AM

Reply
 
Thread Tools
Old 01-12-2015, 02:45 PM   #1
gene_x
Senior Member
 
Location: MO

Join Date: May 2010
Posts: 108
Default Uniquely mapped reads and difference for single end and paired end reads

I know there have been a few posts on seqanswers and biostars that asked about how to get uniquely mapped reads.

As Heng Li put it,
Quote:
"Uniquely mappable read" is never satisfactorily defined.
and
Quote:
Looking at mapping quality is not only the simplest but also the best solution in most cases.
So I thought I would just use a mapping quality cutoff, say 30, to filter out reads to get uniquely mapped reads.

This is simple for single end reads. I'm not sure how to do it for paired end reads since you have two mapping quality numbers. How should it be done?

Last edited by gene_x; 01-12-2015 at 02:53 PM.
gene_x is offline   Reply With Quote
Old 01-12-2015, 03:10 PM   #2
dpryan
Devon Ryan
 
Location: Freiburg, Germany

Join Date: Jul 2011
Posts: 3,479
Default

There's no general answer to this, it depends on the aligner. Many aligners will give both reads in a pair the same MAPQ as long as they aren't aligned as singletons. In that case, the same MAPQ will work (though a cutoff of 30 seems extreme). Otherwise, it depends on whether the aligner adds an aux tag to one of the alignments. Note that it's completely possible for only one read of a pair to be multi-mapping, such as when one end of a fragment overlaps a simple tandem repeat...though in practice I've not run into this enough to worry about (after all, you have biological replicates, so a bit of noise in each sample should be fine).
dpryan is offline   Reply With Quote
Old 01-13-2015, 01:55 PM   #3
gene_x
Senior Member
 
Location: MO

Join Date: May 2010
Posts: 108
Default

Quote:
Originally Posted by dpryan View Post
There's no general answer to this, it depends on the aligner. Many aligners will give both reads in a pair the same MAPQ as long as they aren't aligned as singletons. In that case, the same MAPQ will work (though a cutoff of 30 seems extreme). Otherwise, it depends on whether the aligner adds an aux tag to one of the alignments. Note that it's completely possible for only one read of a pair to be multi-mapping, such as when one end of a fragment overlaps a simple tandem repeat...though in practice I've not run into this enough to worry about (after all, you have biological replicates, so a bit of noise in each sample should be fine).
I see. I tried to count the number of properly paired reads with MAPQ either larger than 10 or smaller than 10. I observed about 1% of the read pairs have one read with MAPQ >=10 and the other read with MAPQ <10.

PS: The alignment was done with novoalign.
gene_x is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 05:59 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO