Closed colleenXu closed 1 year ago
TDLR: There's still work:
From Slack discussions:
I'm going to close https://github.com/biothings/BioThings_Explorer_TRAPI/issues/237, but just noting here that orthology-based templates could also be good for drug-disease templates for creative mode...
@colleenXu @andrewsu Just taking a brief browse through the TAQA triage board, looks like this issue may come from us. I think we could avoid this with some changes to make the directionality of m4-Chem-Gene-DoP.json
more specific (possibly through qualifiers/etc). Though, based on @andrewsu's comment in another issue, it appears we may not want to, if I understand?
Seems like @andrewsu would be the one to decide...I agree that adding a qualifier constraint to the template could work to make this more specific (object direction is decreased)
Based on today's meeting it seems we want to make the template more specific, but duplicate the less-specific version as a template with lower execution priority.
Keep in mind: UI has a 3-hop limit and subclass edges from node-expansion will count as 1. So templates should be only 1 / 2 hops right now...
Also, can modify templates now that "qualifier hierarchy expansion" is now supported. See https://github.com/biothings/biothings_explorer/issues/598
As discussed in today's meeting, the scope of this issue (defined for Sept release) is:
Originally, this issue was addressed by https://github.com/biothings/bte_trapi_query_graph_handler/pull/167.
But after #699 and #701 were identified, I adjusted the templates. The two main asks of this issue are still addressed by the adjusted templates + templateGroups.
Details of the adjustments made can be seen in #699 and #701 and in the PR that addresses them https://github.com/biothings/bte_trapi_query_graph_handler/pull/169#issuecomment-1683004440. I include basic info on the latest testing in this PR.
Tracking will continue in linked and future issues, closing this one as completed
Making a new issue to track the work related to writing creative-model query templates (involves testing them against diseases in individual queries, and deciding the order to run them in....).
Related to previous comments in #449 and #453.