This is a test version of Biostars. For the public version, visit https://www.biostars.org.
mapping rate from sam format

how to know the mapping rate from .sam file generated by a mapper?
do I use

samtools flagstat file.sam
Can you help me?

Thanks

mapping alignment samtools

1 answer

See this post: Number of mapped reads from BAM file

I haven't a paired reads. I have a long reads not paired short. How can I find the number of mapped reads or the rate? samtools flagstat is a good solution?

thanks

Log in to answer this question.