Skip to content

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

Open
dvg-p4 wants to merge 3 commits into
saigegit:mainfrom
dvg-p4:fix-thresholds
Open

Standardize default arguments between R and command line and fix MAC thresholds#62
dvg-p4 wants to merge 3 commits into
saigegit:mainfrom
dvg-p4:fix-thresholds

Conversation

@dvg-p4

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

Copy link
Copy Markdown
Contributor

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

dvg-p4 commented Oct 13, 2022

Copy link
Copy Markdown
Contributor Author

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