Samtools coverage vs samtools depth for % coverage
1
0
Entering edit mode
24 months ago

I want to calculate the % coverage of my assembly based on reference mapping. Should I use samtools coverage or samtools depth?

samtools • 1.3k views
ADD COMMENT
2
Entering edit mode
24 months ago

Coverage and depth are not identical concepts, though are related.

samtools depth will give you the depth at each coordinate,

samtools coverage can directly report other characteristics as well: for example what percent of bases are covered

http://www.htslib.org/doc/samtools-coverage.html

samtools coverage can be thought of as a convenience utility added later, well after samtools depth. You can compute everything that samtools coverage reports from samtools depth output with a custom data analysis process.

ADD COMMENT

Login before adding your answer.

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