Entering edit mode
10.2 years ago
stat.1405
▴
30
I have an output of the call variants, VCF format.
I do not have the genotype quality (GQ) which is in the Format section. I have just the likelihood of the genotype (PL).
So, How can I calculate the genotype given the likelihood PL.
for example GT:PL:DP 1/0:255,0,255:62
how can I get the GQ?
Thanks
Good, changing from phred score to unphred is 10^(-Q/10)
10^(-0/10)/10^(-0/10)+10^(-255/10)+10^(-255/10) = GQ is this correct
Missing parentheses
fraction(best score)(sum of unphred all scores)