biothings / biothings_explorer_archived

BioThings Explorer: a schema-based client for API interoperability
Apache License 2.0
14 stars 14 forks source link

config for species (allow non-human entities) #112

Open colleenXu opened 4 years ago

colleenXu commented 4 years ago

Currently, it is hard coded that the Hint() and FindConnection() modules construct queries where species is human.

Perhaps this can be set by the user? I can imagine use cases where I would like to find drugs used to treat animal diseases that are similar to human diseases. So then one of the entities would be a non-human species.

Of course, this depends on whether there are APIs that can do cross-species queries like animal disease to human disease. I'm not sure APIs are annotated by what species they can accept in queries.