Question: Computing coverage from BAM file?
3.3 years ago by
maryamom99 • 0
maryamom99 • 0 wrote:
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!
ADD COMMENT • link •modified 3.3 years ago by Jennifer Hillman Jackson ♦ 25k • written 3.3 years ago by maryamom99 • 0