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

HPO creates empty label set collection #497

Open
kmanpearl opened this issue Aug 26, 2024 · 0 comments
Open

HPO creates empty label set collection #497

kmanpearl opened this issue Aug 26, 2024 · 0 comments

Comments

@kmanpearl
Copy link

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
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