Hi there,
I am looking for a tool to extract some statistics from sam/bam files. What I want is something like a tab delimited output for every sequence telling me:
-# of reads that mapped
-min, max, avg, median coverage
-how many percent of the original reads have been covered i.e. are there regions with no reads mapping
Any suggestions?? I would really appreciate your input!!!
The idxstats option from samtools is partly doing what I want. It gives me the number of reads mapping per sequence. I am not sure what # of unmapped reads means, though:
much obliged,
Chris
I am looking for a tool to extract some statistics from sam/bam files. What I want is something like a tab delimited output for every sequence telling me:
-# of reads that mapped
-min, max, avg, median coverage
-how many percent of the original reads have been covered i.e. are there regions with no reads mapping
Any suggestions?? I would really appreciate your input!!!
The idxstats option from samtools is partly doing what I want. It gives me the number of reads mapping per sequence. I am not sure what # of unmapped reads means, though:
idxstats samtools idxstats <aln.bam>
Retrieve and print stats in the index file. The output is TAB delimited with each line consisting of reference sequence name, sequence length, # mapped reads and # unmapped reads.
Retrieve and print stats in the index file. The output is TAB delimited with each line consisting of reference sequence name, sequence length, # mapped reads and # unmapped reads.
Chris
Comment