Hi, I have a question regarding mapping qualities and multimapping reads. I'm working with the Allen Brain Atlas TBI data, which can be found at https://aging.brain-map.org/rnaseq/search.
I'm confused about the different numbers provided. Taking the first sample as example.
According to the provided data:
- rnaseq_total_reads: 32,275,545
- rnaseq_percent_reads_aligned_to_mrna: 31.7%
- rnaseq_percent_reads_aligned_to_ncrna: 7.11%
- rnaseq_percent_reads_aligned_to_genome_only: 48.1%
These percentages add up to 86.91%, which corresponds to approximately 28,050,676 reads out of the 32,275,545 total reads. However, when I inspect the BAM file for this sample using samtools view -c, I find that there are 105,439,824 reads, significantly more than the 32 million.
I suspect that multimapping reads may be the cause of this discrepancy, so I examined the MAPQ values in the SAM file. Here are the percentages for this sample:
- MAPQ 0: 42%
- MAPQ 255: 29%
- MAPQ 100: 20%
- MAPQ 0-99: 7%
Combined, the percentages for MAPQ 100 and 0-99 almost add up to the expected 28 million reads, but not exactly. For most samples, it is close, but for others, it is off by around 10%.
Is this 105 million caused by the multi-mapping? Is this percentage of zeros not very high? Im doing differential gene expression analysis and some supervised classification. I suppose I need to filter those reads out first? Or is this common practice to leave them in?
Help and insights are much appreciated.
rna-seq