Annotate VCF to include dosage
1
0
Entering edit mode
7.6 years ago

Is there an easy way to annotate a VCF to include dosages? I have a VCF with phred-scaled likelihoods (PL), but no dosages (DS).

I know that there is a bcftools plugin to compute dosages based off of the PL tag, but it isn't clear how to incorporate these output into the original VCF w/o having to write my own custom scripts.

Is the bcftools annotate able to handle the output from the plugin or is there another way to annotate variant calls with the DS info?

vcf bcftools dosages • 2.1k views
ADD COMMENT
1
Entering edit mode
7.6 years ago

I ended up writing my own c++ program to do this quickly as possible. It is fairly bare-bones, but shouldn't be too hard to extend it to properly take care of other user's edge cases.

https://github.com/quattro/DS2VCF

ADD COMMENT

Login before adding your answer.

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