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

Getting ancestor nodes in phenotype ontology #112

Open
ChristopherMancuso opened this issue Dec 13, 2023 · 0 comments
Open

Getting ancestor nodes in phenotype ontology #112

ChristopherMancuso opened this issue Dec 13, 2023 · 0 comments

Comments

@ChristopherMancuso
Copy link

I was wondering how to go about getting ancestor nodes for phenotype terms like WBPhenotype:0001236 or HP:0001263. I don't really have useful code to put down.

One question is if I do a search like
https://api-v3.monarchinitiative.org/v3/api/association?object=HP%3A0001263&limit=20&offset=0
This will have a part of the response that has "object": "HP:0001263", and then a bunch of object closures. What exactly are these closures? Ancestor terms? Any related term? Both child and ancestor terms? Something completely different?

I ask this as if I can get genes directly related to some phenotypes, I would like to find the ancestor nodes so I can then propagate these gene annotations.

Thanks!

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