Skip to content

Add function to create genotype calls from genotype probabilities #346

Closed
@eric-czech

Description

@eric-czech

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions