Skip to content

HPO creates empty label set collection #497

@kmanpearl

Description

@kmanpearl

When initializing an HPO object, the label set collection is empty. I suspect this is because HPO uses the mondo terms beginning with HP: and something changed in the mondo ontology structure. Eventually we would like to be able to use other organism phenotypes as well as human so instead of using mondo to get HPO terms, it might be best to ingest phenio instead, which contains terms from multiple species specific phenotype ontologies. Right now we only need the human (HP:) terms within phenio, but down the line we would like to be able to create label sets for the other model organisms that are included as well. If it is easier to ingest these ontologies all individually, then for now just the HPO is needed.

from obnb.data import DisGeNET, HPO
root = '../data/obnb/FullyRedundant'
lsc = DisGeNET(root=root)
print(len(lsc.sizes)) # 2202

lsc = HPO(root=root)
print(len(lsc.sizes)) # 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions