Skip to content

HPO terms retrieved with Gene.get and Disease.get don't match those in hpo.jax.org #26

@aruta321

Description

@aruta321

Hello,

I tried to retrieve the HPO terms for a list of genes and diseases in a OMIM database. It seems like they don't directly correspond to the HPO terms in the HPO database, though. For example, CARD9 has 20 associated HPO terms. PyHPO using
this code snippet returns 93 HPO terms.
gene_term = HPOSet.from_queries(Gene.get(gene).hpo)

Many of these are somewhat related to the HPO terms in the set above.

Image

This looks like it's retrieving all terms and their parents to the root node. Is there a way to only retrieve the terms in the database without their parents? Thanks for your help.

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