This is a test version of Biostars. For the public version, visit https://www.biostars.org.
samtools flagstat only for exome coordinates

Hi all,

Does anybody know if it s possible to obtain the samtools flagstat stats only for the exome coordinates?

Thank you in advance!

next-gen sequencing alignment

1 answer

samtools view -bu -L capture.bed in.bam |samtools  flagstat -

Thank you so much Pierre!

Log in to answer this question.