This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Add AD to DP in VCF file

I have AD value of both the alleles in a VCF file, but there is no DP value in that vcf file. I want to get the DP value by adding both the allels AD value. I ahve 6000 variants in that VCF file. How can I do this calculation computationally?

vcf

Hi!please could you provide a minimal example of the input and desired output? It usually helps to get more relevant answers from the community :)

0 answers

No answers yet.

Log in to answer this question.