Skip to content

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

@dvitale199

Description

@dvitale199

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.')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions