Entering edit mode
10.7 years ago
User 1933
▴
360
In an whole-exome study project, I need to calculate the sequencing depth for a given set of genes. It seems DepthOfCoverage from GATK can do this for me. However, I am curious if I can get the similar information from the VCF file ? Alternatively is there any other tool I can use ?
As far as I know, VCF file will provide you depth only at the position of the variant. It depends if you are interested in depth at variants, average depth across the gene or in depth for every position in the gene. If the last one is your case, you can use "samtools depth" over the bam file (alignment file of reads over reference).