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

query for genes having a GO term or children #72

Open
andrewsu opened this issue Sep 16, 2019 · 1 comment
Open

query for genes having a GO term or children #72

andrewsu opened this issue Sep 16, 2019 · 1 comment

Comments

@andrewsu
Copy link
Member

I can query for genes with an explicit annotation for a GO term, e.g., http://mygene.info/v3/query?q=GO:0061702

However, GO:0061702 has four children -- GO:0097169, GO:0072557, GO:0072558, and GO:0072559.

Is there an easy way (or should we create an easy way) to query for genes with both explicit AND inferred GO terms?

@newgene
Copy link
Member

newgene commented Sep 18, 2019

One way doing this is to use EBI's OLS API to get the children GO IDs and then query MyGene.info API:

https://www.ebi.ac.uk/ols/docs/api

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

2 participants