Read depth extraction
Hello. I wanted to extract the read depth information from my vcf file. Can anyone share their her/his experience in doing this. My vcf format is like this (see below)
Thank you very much!
• 1,880 views
•
link
1 answer
bcftools query -f '[%CHROM %POS %SAMPLE %DP\n]' in.vcf
• 0 views
•
link
Log in to answer this question.
bcftools queryis an option. See examples here.