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

Do not perform _align_alleles when --no-check-alleles is specified. #184

Merged
merged 1 commit into from
Feb 16, 2020

Conversation

mkanai
Copy link
Contributor

@mkanai mkanai commented Dec 17, 2019

When using --rg with --no-check-alleles option, I don't think we need to _align_alleles between the sumstats since we know they're perfectly aligned. It causes an error when sumstats has e.g., strand ambiguous SNPs, displaying a mysterious error message:

KeyError: 'Incompatible alleles in .sumstats files: TATA. Did you forget to use --merge-alleles with munge_sumstats.py?'

It sounded like the error was because of some TATA alleles... but in fact TATA represents A1 + A2 + A1 complement + A2 complement...

@julirsch

@tpoterba tpoterba merged commit 0e4a35f into bulik:master Feb 16, 2020
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.

2 participants