Hi Everyone
I am interested in finding the rpkm values for my genes(exons). The basic definition of RPKM given is :
Now My question is i have in begining a fastq file from which i did my analysis and got sam files or bam files and count the reads.
In the formula for RPKM it's written in the denominator that mapped reads(millions). How can we get this mapped read number.
If i get this from fastq file then i dont think it would be the correct mapped reads , because not all the reads match to the ref genome,or is it.
Hope to hear from you guys soon
Thanks Regards
get the samtools flag stats to know the mapped reads information