This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Quick and easy way to get alignment stats from many SAM/BAM files?

Is there a good tool for extracting basic alignment stats from multiple BAMs/SAMs? I have tried CollectAlignmentSummaryMetrics from Picard and I really don't like it.

I just want simple statistics such as:

SAMPLE, TOTAL READS, ALIGNED READS, UNIQUELY MAPPED READS

It would be best if this were output in a table format so I could plot the statistics for many samples.

I could try to make a custom script for this, but I feel like a good tool should be out there.

rna-seq alignment

So I am not the only one who dislikes the Picard tools :-D

1 answer

Simply using samtools stats?

And samtools flagstat?

Thanks -- not sure how I didn't come across this

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.
Upvote|Bookmark|Accept

Log in to answer this question.