I have a .BAM file that I have sorted using SAMTools sort command. Now I have to calculate the mapping statistics. I need to know how many total reads are in the BAM file (both mates) and what percentage of the reads are mapped singletons. What command should I use?
This should help samtools flagstat test.bam
I am closing this question because a quick google search ("bam statistics") reveals several good options. If other admins disagree feel free to reopen.
Really? A simple google search returns nothing for me.
amusing how the past comes back to bite ...