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

Create a predicate to test if variant affects a codon that encodes an aminoacid of interest #326

Open
ielis opened this issue Oct 22, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@ielis
Copy link
Member

ielis commented Oct 22, 2024

Create a predicate to test if variant affects a codon that encodes an aminoacid of interest.

@ielis ielis added the enhancement New feature or request label Oct 22, 2024
@ielis ielis added this to the Manuscript milestone Oct 22, 2024
@pnrobinson
Copy link
Member

ZMYM3, amino acid 441 might be a good test, although the cohort size is small

@pnrobinson
Copy link
Member

There is a significant result here:

r441w = VariantPredicates.variant_key("X_71249610_71249610_G_A") #c.1321C>T	p.Arg441Trp
r441q = VariantPredicates.variant_key("X_71249609_71249609_C_T") #c.1322G>A	p.Arg441Gln	
r441 = r441w | r441q

is_r441 = monoallelic_predicate(
    a_predicate=r441,
    b_predicate=~r441,
    a_label="R441",
    b_label="other"
)
r441_result = analysis.compare_genotype_vs_phenotypes(
    cohort=cohort,
    gt_predicate=is_r441,
    pheno_predicates=pheno_predicates,
)
summarize_hpo_analysis(hpo=hpo, result=r441_result)

yields a corrected p value of 0.003839 for Cupped ear [HP:0000378].

Note that I added a lot of curation for this cohort, which previously was one of the early efforts and did not include all of the HPOs. The data is not yet in an official phenopacket-store release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants