Skip to content

Add function to create genotype calls from genotype probabilities #346

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

Closed
eric-czech opened this issue Oct 22, 2020 · 1 comment · Fixed by #419
Closed

Add function to create genotype calls from genotype probabilities #346

eric-czech opened this issue Oct 22, 2020 · 1 comment · Fixed by #419

Comments

@eric-czech
Copy link
Collaborator

For bgen data, we need a function that can produce hard calls from probabilities. This is necessary for calculating HWE in the UKB QC workflow (https://github.com/pystatgen/sgkit/issues/67). The function would look like (variants, samples, genotypes) float -> (variants, samples, ploidy) int8 and would only need to work for biallelic, diploid datasets for now.

eric-czech added a commit to eric-czech/sgkit that referenced this issue Dec 8, 2020
eric-czech added a commit to eric-czech/sgkit that referenced this issue Dec 8, 2020
eric-czech added a commit to eric-czech/sgkit that referenced this issue Dec 8, 2020
eric-czech added a commit to eric-czech/sgkit that referenced this issue Dec 8, 2020
eric-czech added a commit to eric-czech/sgkit that referenced this issue Dec 22, 2020
@mergify mergify bot closed this as completed in #419 Dec 22, 2020
mergify bot pushed a commit that referenced this issue Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant