bcgsc / pori_graphkb_api

REST API for the GraphKB project
https://bcgsc.github.io/pori
GNU General Public License v3.0
4 stars 1 forks source link

New returnProperty for IPR level in EvidenceLevel #52

Open mathieulemieux opened 2 years ago

mathieulemieux commented 2 years ago

Proposed feature:

Add a new IPR level displayName property in returnProperties for GET /evidencelevels

Context:

Most EvidenceLevel vertices are now linked by CrossReferenceOf edges to their IPR conterpart as per https://www.bcgsc.ca/jira/browse/KBDEV-982.

This now poses the issue of querying for these linked EvidenceLevel, as raised in https://www.bcgsc.ca/jira/browse/GERO-289.

Since the actual API implementation does not allows the retreiving of vertices linked by edges from other vertices, proposition has been made to do the heavy-lifting on the ipr_python side (https://github.com/bcgsc/pori_ipr_python/tree/feature/GERO-289-get-evidencelevel-mapping) as a 'better that nothing' solution for now.

mathieulemieux commented 1 year ago

This issue is actually oversome by IPR Python since https://github.com/bcgsc/pori_ipr_python/pull/92. Could still be a nice feature to add to the GraphKB API though.