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

Standardize default arguments between R and command line and fix MAC thresholds #62

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dvg-p4
Copy link
Contributor

@dvg-p4 dvg-p4 commented Oct 13, 2022

This solves #61, making the default max MAF set the same from the command line as it is in the R script (and claims to be in the help message).

This also acts as a workaround for #60, since if the threshold for cateVarRatioMinMACVecExclude MACCutoff_to_CollapseUltraRare is consistently 10.5 instead of 10, a region will never be exactly on the cutoff. However the odd behavior would probably still occur if a user manually set those flags to integer values.

I did not change dosage_zerod_MAC_cutoff since I have not had a chance to test with imputed sets.

@dvg-p4 dvg-p4 marked this pull request as ready for review October 13, 2022 20:25
@dvg-p4
Copy link
Contributor Author

dvg-p4 commented Oct 13, 2022

I've tried setting the arguments as in this PR for a dockerized 1.1.6.1, and it seems to solve the issues I was seeing. I haven't explicitly done a test of this code yet--was having some difficultly installing from source locally. Is there a standard suite of tests you use for new SAIGE releases?

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 this pull request may close these issues.

1 participant