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

Add HWE test implementation #28

Closed
eric-czech opened this issue Jul 8, 2020 · 1 comment
Closed

Add HWE test implementation #28

eric-czech opened this issue Jul 8, 2020 · 1 comment
Assignees
Labels
core operations Issues related to domain-specific functionality such as LD pruning, PCA, association testing, etc. enhancement New feature or request

Comments

@eric-czech
Copy link
Collaborator

This is a somewhat critical function for UKB GWAS and a very important one for pipelines that start further upstream.

The API as I have it sketched out in stats/hwe.py works by taking a dataset and producing a dataset with a single variable:

call_genotype = simulate_genotype_calls(...)
ds = to_genotype_call_dataset(call_genotype)
p = sgkit.hardy_weinberg_test(ds)["variant/hwe_p_value"]

This is currently blocked by https://github.com/pystatgen/sgkit/pull/16 and to some extent https://github.com/pystatgen/sgkit/issues/3.

@eric-czech eric-czech self-assigned this Jul 8, 2020
@eric-czech eric-czech added the enhancement New feature or request label Jul 9, 2020
@hammer hammer added the core operations Issues related to domain-specific functionality such as LD pruning, PCA, association testing, etc. label Jul 9, 2020
This was referenced Jul 24, 2020
@eric-czech
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core operations Issues related to domain-specific functionality such as LD pruning, PCA, association testing, etc. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants