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

LDpred2: Add unit test for choice of reference alleles #147

Open
espenhgn opened this issue Mar 6, 2023 · 1 comment
Open

LDpred2: Add unit test for choice of reference alleles #147

espenhgn opened this issue Mar 6, 2023 · 1 comment

Comments

@espenhgn
Copy link
Contributor

espenhgn commented Mar 6, 2023

(creating a separate issue for this, as #124 appears due to something else)

One potential issue could be if inconsistent choice of reference alleles in sumstats, LD file and genotype file isn't resolved correctly. To cover this with unit test it's possible to start with these scripts:
https://github.com/comorment/containers/blob/main/usecases/LDpred2/ldpred2_simulations.ipynb
and introduce random choice of reference alleles for genotype file (used for PRS computation), but also for the geno file used to perform GWAS . This can be done with plink:
plink --bfile <> --a1-allele <> --make-bed --out <>
just an idea...

Originally posted by @ofrei in #124 (comment)

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

This issue appears to be stale due to non-activity

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

1 participant