how to add QualityOfDepth(QD) annotation to freebayes vcf
1
1
Entering edit mode
10.1 years ago
William ★ 5.4k

Is there a tool already out there that can add the QualityOfDepth(QD) annotation to a VCF file created by freebayes?

The general idea of variant QualityByDepth(QD) is explained here and the detailed formula is the best answer (highlighted in green) here.

Freebayes outputs somewhat different fields than GATK. Instead of AC (allele count) per genotype:

##FORMAT=<ID=RO,Number=1,Type=Integer,Description="Reference allele observation count">
##FORMAT=<ID=AO,Number=A,Type=Integer,Description="Alternate allele observation count">

The basic QD formula should be something like.

QD = QUAL / Sum (Sum (RO+AO)) (over just the samples that have a read that contributes to the variant call).

vcf qualitybydepth freebayes • 3.5k views
ADD COMMENT
0
Entering edit mode
10.0 years ago

I believe GATK Variant Annotator will do that for you.

ADD COMMENT

Login before adding your answer.

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