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

[BUG] maf filter #308

Open
JihyunKiminGithub opened this issue Oct 25, 2022 · 1 comment
Open

[BUG] maf filter #308

JihyunKiminGithub opened this issue Oct 25, 2022 · 1 comment
Assignees
Labels

Comments

@JihyunKiminGithub
Copy link

JihyunKiminGithub commented Oct 25, 2022

Dear developers,

Thank you for making this wonderful tool.
I want to know how --maf works at this PRSice software.
Before running the prsice software, I calculated MAF of snps by using --freq function of plink2.
While running PRSice, I set the maf function as (--maf 0.01) with small dataset and I found 3 snps were excluded due to maf criteria.

When I looked at those maf, these were 0.0104089, 0.0102555, 0.0110307 which is larger than 0.01 which is contradictory with my expectation.
Can you please explain why MAF filter criteria worked like this?

Thanks

image

@chrchang
Copy link

plink2 normally excludes "nonfounders" (i.e. any sample with parental IDs listed in the .fam/.psam file) from its MAF calculation. This results in small MAF differences from other programs which don't do the same thing.

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

No branches or pull requests

3 participants