Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GL and PL fields when processing BCF #236

Open
reedacartwright opened this issue Aug 29, 2017 · 1 comment
Open

Support GL and PL fields when processing BCF #236

reedacartwright opened this issue Aug 29, 2017 · 1 comment
Assignees

Comments

@reedacartwright
Copy link
Contributor

When processing a BCF file, we can either calculate our own genotype likelihoods from the AD fields, or use the values calculated in a GL or PL field. Creating an option to dng-call and dng-loglike would allow the user to choose which data in the BCF is used.

https://samtools.github.io/hts-specs/VCFv4.2.pdf

GL : genotype likelihoods comprised of comma separated floating point log10-scaled likelihoods for all possible genotypes given the set of alleles defined in the REF and ALT fields.

PL : the phred-scaled genotype likelihoods rounded to the closest integer (and otherwise defined precisely as the GL field)

@reedacartwright
Copy link
Contributor Author

Tagging @dconrad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants