spVCF
spVCF copied to clipboard
convey PL ~ DP regression model
To help with approximate reconstruction of genotype likelihoods from binned DP (when downstream tools strictly require them to be present even in non-variant cells):
- during encoding, calculate regression coefficients for PL[1] and PL[2] on binned DP
- include them in the output file, perhaps in the header (but that'd require a second pass)
- optionally use them to fill out approximate PL vectors during decoding