Hi every one!
I want to compute depth of specific regions from BAM file.I found two solutions like bellow :
samtools depth -r <region> my.bam
samtools view my.bam <region>
that give me two different answers,I was wondering what is exactly the applications of theses two command and which one is more correct answer to computing depth of region?
Thanks a lot!