Number of sequenced positions from a BAM file
1
0
Entering edit mode
7.6 years ago
rubic ▴ 270

Hi,

Is there a samtools or other tool command that given a bam (and/or indexed bam) file will report the number of sites sequenced?

bam samtools RNA-Seq • 1.1k views
ADD COMMENT
0
Entering edit mode
7.6 years ago

I'm sure there are a few out there (there's probably something in picard), but it's simple enough to pipe samtools depth through awk and just quickly count things. This has the benefit of allowing you to easily filter by MAPQ and other things.

ADD COMMENT

Login before adding your answer.

Traffic: 2363 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