Reference
It retrieves and prints stats in the index file.
Sam/Bam Manipulation
samtools idxstats in.sam|in.bam|in.cram