What is the principle of samtools depth?
1
0
Entering edit mode
2.3 years ago
Tao ▴ 40

I want to compute depth, and if read1 and read2 all cover a base labeled as one. What should I do?

samtools depth • 595 views
ADD COMMENT
1
Entering edit mode
2.3 years ago
seidel 11k

You should read the documentation on samtools depth, and then query the read depth at your position of interest as follows:

samtools depth input.bam -r chr1:1000-1000
chr1    1000    166

In this example, the read depth at base 1000 is 166. This means that in this data set, 166 reads cross this position.

ADD COMMENT

Login before adding your answer.

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