![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extract mapped reads at certain position from paired end RNA-seq data | RedMary | Bioinformatics | 2 | 09-04-2012 07:16 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 |
How to count Paired-End reads for RNA-Seq read counts | epistatic | RNA Sequencing | 0 | 08-31-2011 03:44 PM |
RNA-seq: Replicates, single-end, paired-end story | pasta | Bioinformatics | 2 | 07-05-2011 12:51 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: asia Join Date: Dec 2009
Posts: 80
|
![]()
Does any one know know, how to count number of mapped paired-end and single-end rna-seq reads using BAM files.
It seems samtools idx stats does not give exactly mapped reads information ? Any suggestion will be appreciated! |
![]() |
![]() |
![]() |
#2 |
Member
Location: Toronto Join Date: Aug 2008
Posts: 42
|
![]()
Try using samtools flagstat.
|
![]() |
![]() |
![]() |
#3 |
Member
Location: asia Join Date: Dec 2009
Posts: 80
|
![]()
that gives the no.of mapped loci but not mapped reads.
|
![]() |
![]() |
![]() |
#4 |
Member
Location: Toronto Join Date: Aug 2008
Posts: 42
|
![]()
It generates a summary of reads based on the SAM FLAG in column 2 of the BAM file:
4255310402 + 0 in total (QC-passed reads + QC-failed reads) 0 + 0 duplicates 4252238423 + 0 mapped (99.93%:nan%) 4255310402 + 0 paired in sequencing 2102851470 + 0 read1 2152458932 + 0 read2 362406042 + 0 properly paired (8.52%:nan%) 4217472878 + 0 with itself and mate mapped 34765545 + 0 singletons (0.82%:nan%) 3616654841 + 0 with mate mapped to a different chr 3273787 + 0 with mate mapped to a different chr (mapQ>=5) |
![]() |
![]() |
![]() |
#5 |
Member
Location: asia Join Date: Dec 2009
Posts: 80
|
![]()
99.93% mapping ? I think it is not referring 99.93% of your reads are mapped. 100% mapping is not possible or at least too good be true.
|
![]() |
![]() |
![]() |
#6 |
Member
Location: Toronto Join Date: Aug 2008
Posts: 42
|
![]()
Yes, 99.93% read mapping, although it doesn't include the quality of the mapping. You'll have to look that up in the BAM file independently.
Last edited by rdeborja; 01-05-2013 at 03:42 PM. |
![]() |
![]() |
![]() |
#7 |
Member
Location: asia Join Date: Dec 2009
Posts: 80
|
![]()
If you look at any published studies (2010-12), you will typically see 80-90% but not ~100%. What thats tells ? Tophat always reports 100%. Something wrong isn't it ?
|
![]() |
![]() |
![]() |
#8 | |
Senior Member
Location: Cambridge, UK Join Date: May 2010
Posts: 311
|
![]() Quote:
Dario |
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Location: Stockholm, Sweden Join Date: Feb 2008
Posts: 319
|
![]()
I find it helpful to use bam_stat.py from RSeQC or Picard's CollectAlignmentSummaryMetrics to get the number of reads that mapped one or more times (which you don't get from flagstat)
|
![]() |
![]() |
![]() |
Tags |
rna-seq |
Thread Tools | |
|
|