-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TRAPI 1.4 validation error: gain / loss of function qualifiers for Gene -> Disease #699
Comments
These edges are occurring because of the templates intended to make the directionality of m4-Chem-Gene-DoP.json more specific.
What do you think we should do?
|
Based on the discussion in this slack thread, we should undo our roll out of templates that take advantage of "directionality" in Gene/Variant -> Disease edges. Unfortunately, it's just not ready from a data modeling perspective... |
We decided to remove the two templates with "more specific directionality with qualifiers" from the "treats" template group, because of TRAPI validation / data-modeling concerns. This leaves us w/ 3 templates. I confirmed that removal of the templates addresses this issue. When all 4 of the example diseases were reran, their responses didn't trigger any validation errors. Example: rerun timothy syndrome response: new_timothy.txt Done editing the linked comment. No TRAPI errors (critical or normal) encountered at all! |
Closing this one as complete -- future tracking of the potential change that was rolled back can be done from #704 |
I was doing a quick performance review of the new BTE "treats" templates, and I used my notebook to run TRAPI validation on some responses (attached below):
MONDO:0010979
: timothy-syndrome.txtMONDO:0005377
: nephrotic.txtMONDO:0009131
: riley-day.txtMONDO:0007739
: huntington.txtFor all 4 of these responses, the reasoner-validator raises the error: error.knowledge_graph.edge.qualifiers.qualifier.value.unresolved. Note that "errors" are "orange" in the ARAX UI, vs the red for "critical" errors.
This occurs on KG Edges from Text-Mining Targeted like these:
Example error code and object from my notebook (python):
As far as I can tell, this error has to do with the reasoner-validator and data-modeling (biolink-model + text-mining KP).
Reasoner-validator may depend on biolink-model having an association object that matches these Edges AND sets the values for its "subject form or variant qualifier".
contributes_to
as the predicate), but it doesn't set values for the""subject form or variant qualifier". When I try to match the KG edges to this association (by replacing theaffects
predicate withcontributes_to
), the error still occurs.The text was updated successfully, but these errors were encountered: