Hey Huys,
How can I generate an alignment statistics report from bwa or samtools? I used bwa for alignment and samtools for the rest. Any other tool to be used once I generate the bam file? I basically want fields like below generated from a commercial software.
MeanInsertSize
Total read#
Uniquely paired read#
Non-uniquely paired read#
Uniquely mapped read1#
Non-uniquely mapped read1#
Uniquely mapped read2#
Non-uniquely mapped read2#
Unmapped read1#
Unmapped read2#
Uniquely paired read%
Non-uniquely paired read%
Uniquely mapped read1%
Non-uniquely mapped read1%
Uniquely mapped read2%
Non-uniquely mapped read2%
Unmapped read1%
Unmapped read2%
http://biostar.stackexchange.com/questions/9552/basic-bam-file-annotation