mygene.info
mygene.info copied to clipboard
query for genes having a GO term or children
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?
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