monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
63 stars 25 forks source link

gene-disease associations, add param to filter on causal, non-causal, both #274

Closed kshefchek closed 5 years ago

kshefchek commented 5 years ago

The latest release of monarch allows one to disambiguate causal and non-causal gene to disease associations by setting the association_type filter: causal: fq=association_type:gene_disease non-causal: fq=association_type:marker_disease both: fq=association_type:(gene_disease OR marker_disease)

This could be added as a new parameter, with both as the default to not maintain backwards compatibility.