Quick and easy way to get alignment stats from many SAM/BAM files?
1
0
Entering edit mode
6.4 years ago
goodez ▴ 640

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 • 5.5k views
ADD COMMENT
1
Entering edit mode

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

ADD REPLY
5
Entering edit mode
6.4 years ago
GenoMax 147k

Simply using samtools stats?

ADD COMMENT
1
Entering edit mode

And samtools flagstat?

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1899 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6