Entering edit mode
23 months ago
markova
•
0
I used samtools mpileup to generate PL values (the phred-scaled genotype likelihoods). I need to generate vcf/or Beagle file with genotype probabilities (GP). I have found that the script vcf2gen_v1.1.pl will calculate genotype probs from GL or PL, but I cannot find it. Is there some script available that will do the same job? Thanks.
I don't think you can calculate GP from GL.
https://samtools.github.io/hts-specs/VCFv4.3.pdf
GP is defined as:
GL is defined as:
GP is imputed genotype probability and GL is about how sure you are calling genotypes. You can get the GP when you're doing the imputation with Beagle.