This PR adds a generic bioentity/<type>/<id> endpoint that replaces the following:
bioentity/gene/<id>
bioentity/variant/<id>
bioentity/genotype/<id>
bioentity/phenotype/<id>
bioentity/disease/<id>
bioentity/anatomy/<id>
bioentity/goterm/<id>
bioentity/pathway/<id>
bioentity/substance/<id>
bioentity/individual/<id>
This PR changes the way scigraph_util.bioobject() queries SciGraph by using dynamic/cliqueLeader (instead of graph/neighbor) to ensure that the query always returns the clique leader.
This PR also fixes the issue where the definition (or description) of an ontology term was being dropped in the response JSON (#152).
@cmungall @kshefchek Still a WIP and subsequent additions depends on discussions from #168
This PR adds a generic
bioentity/<type>/<id>
endpoint that replaces the following:bioentity/gene/<id>
bioentity/variant/<id>
bioentity/genotype/<id>
bioentity/phenotype/<id>
bioentity/disease/<id>
bioentity/anatomy/<id>
bioentity/goterm/<id>
bioentity/pathway/<id>
bioentity/substance/<id>
bioentity/individual/<id>
This PR changes the way
scigraph_util.bioobject()
queries SciGraph by usingdynamic/cliqueLeader
(instead ofgraph/neighbor
) to ensure that the query always returns the clique leader.This PR also fixes the issue where the definition (or description) of an ontology term was being dropped in the response JSON (#152).
@cmungall @kshefchek Still a WIP and subsequent additions depends on discussions from #168