ExposuresProvider/cam-kp-api

Upgrade to TRAPI 1.4

gaurav opened this issue · 3 comments

TRAPI 1.4 hasn't come out yet, but it will, and then we'll need to support it. It is apparently quite a large set of changes. The Changelog is currently being developed at NCATSTranslator/ReasonerAPI#397

Migration and Implementation Guide is at https://github.com/NCATSTranslator/ReasonerAPI/blob/c22019745aa25781f54b4bef1f61d4c07931d5d8/MigrationAndImplementationGuide1-4.md

Main changes:

  • Auxiliary graphs (doesn't really apply to CAM-KP afaict)
  • Results changing dramatically:
    • Edge bindings replaced by "analysis objects"
    • A simple analysis object (like most CAM-KP results) will have edge bindings and (optionally) a score
    • A more complex analysis object can reference auxiliary graphs that provide evidence (don't think we'll ever need it?)

After discussing with @balhoff, we realized that we could potentially use auxiliary graphs in a number of different ways with CAM-KP:

  1. As a way to provide an expansion of mechanism for edges.
  2. As a way of including the entire CAM (although this would probably be too much and unnecessary information).
  3. As a way of providing additional explanatory information for an edge.