You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pathfinder currently supports a specific query format (see #794) but requires that the intermediate node be of category biolink:NamedThing. This needs to be changed such that the query graph unpinned node can be given a different category. The expected behavior when this occurs:
BTE will find paths that must have the given category (or descendant categories) as at least one intermediate node
BTE's results will only bind intermediate nodes of the given category (or descendants)
The easiest way to implement this is to somehow filter or fill out the templates BTE uses. We could add an attribute to the templateGroups where all pathfinder-type groups specify a list of intermediate node categories they contain. There may be better ways to go about this (pinging @colleenXu for discussion)
As for only binding only intermediate nodes of the given category, when making final results in pathfinder.ts, we can skip any result where the current intermediate node is not equal to or a descendant of the expected category (making use of biolink utilities).
The text was updated successfully, but these errors were encountered:
Parent Issue: #794
Pathfinder currently supports a specific query format (see #794) but requires that the intermediate node be of category
biolink:NamedThing
. This needs to be changed such that the query graph unpinned node can be given a different category. The expected behavior when this occurs:The easiest way to implement this is to somehow filter or fill out the templates BTE uses. We could add an attribute to the templateGroups where all pathfinder-type groups specify a list of intermediate node categories they contain. There may be better ways to go about this (pinging @colleenXu for discussion)
As for only binding only intermediate nodes of the given category, when making final results in pathfinder.ts, we can skip any result where the current intermediate node is not equal to or a descendant of the expected category (making use of biolink utilities).
The text was updated successfully, but these errors were encountered: