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

Adjust gwas module to allow for any phenotype (not just PHENO1) #172

Open
dvitale199 opened this issue Mar 28, 2024 · 0 comments
Open

Adjust gwas module to allow for any phenotype (not just PHENO1) #172

dvitale199 opened this issue Mar 28, 2024 · 0 comments

Comments

@dvitale199
Copy link
Owner

Describe the bug
gwas fails when trying to run with a phenotype that's not PHENO1

To Reproduce
attempt to run gwas with a column that is anything but PHENO1

Expected behavior
should be able to accept any phenotype column header

Screenshots
sys.exit(handle_main())
File "/gpfs/gsfs12/users/vitaled2/.venv/lib/python3.10/site-packages/genotools/main.py", line 117, in handle_main
args_dict = upfront_check(args_dict['geno_path'], args_dict)
File "/gpfs/gsfs12/users/vitaled2/.venv/lib/python3.10/site-packages/genotools/utils.py", line 125, in upfront_check
raise KeyError(f'{geno_path}.psam is missing PHENO1 column. Even if no PHENO1 information is present, GenoTools requires a PHENO1 column.')

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

No branches or pull requests

1 participant