-
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
phase 1: provenance refactor for edges from some multiomics KPs, text-mining KP, TRAPI KPs #617
Comments
Note that COHD's dev instance seems to be on TRAPI 1.4 (we can access it through the registration we currently use, but they also registered a separate yaml for TRAPI 1.4) However, I haven't checked their From my post here: #597 (comment) |
For the multiomics / text-mining KP stuff: I'm wondering, do we always want to add the resource ID as |
Note that the post above is related to this, and it looks like we haven't done the |
Pasting my Translator Slack message to Multiomics / Text-Mining KPs below
|
Status of the multiomics / text-mining APIs[Update in progress 2023-06-01 evening] We'll be using temporary SmartAPI overrides (currently on main) to direct BTE to query for and ingest the TRAPI 1.4 sources data from Multiomics/Text-Mining KPs. The override now contains links for all 4 KPs. However, these KPs' x-bte annotation are at different states, for their registered yamls (staying at TRAPI 1.3 and used by BTE prod) and the override yamls (with the changes for TRAPI 1.4 sources data and used by all other BTE instances). both yamls working
1 yaml workingno yamls working
|
text-mining targeted and multiomics clinicaltrials. to support trapi 1.4 sources data ingest
Recording info on hooking BTE up to TRAPI 1.4 KPs in #614 (comment) |
Multiomics ClinicalTrials KP: NEEDED SmartAPI yaml editsEdits for registered yaml (TRAPI 1.3 instances)Main issue: The deployed change flipped the subject/object in records (now Treatments are subjects and Diseases are objects). This was a BREAKING change and now BTE is not properly querying this API Addressing the main issue: Change this file, then ask me to update the registration. Once the registration is updated, it'll be <=10 min before BTE picks up this update.
Optional things to do:
Edits for forked yaml (TRAPI 1.4 instances)Main issue: same as above Addressing the main issue:
Optional things to do:
Other notes:
|
Multiomics EHR Risk KP: NEEDED SmartAPI yaml editsEdits for registered yaml (TRAPI 1.3 instances)Main issueThe deployed changes change a node-category, how edge-attributes are formatted, and other formatting. These are BREAKING changes and now BTE is not properly querying this API or properly parsing responses. Addressing the main issueChange this file, then ask me to update the registration AND remove the primarySource tag here. Once the registration is updated, it'll be <=10 min before BTE picks up this update. Note: There are 148 operations and 12 response-mapping entries.
old text
and replace it with this text (note the indent and comma!!!)
old text
and replace it with this text
Later important tasks
known operations to add
Optional things to do
What's needed for TRAPI 1.4 supportOnce needed fixes above are done for the registered yaml....follow the instructions here (Translator Slack link) |
…s_explorer#617 instructions from Colleen on how to amend yaml for TRAPI 1.4 migration
biothings/biothings_explorer#617 (comment) Made meta-triples in EHR_Risk_parser.ipynb and outputted relevant x-bte sections that go in the yaml to ehr_risk_yaml_xbte_portions.txt. Copied them from the text file to the yaml This effort auto-generates the x-bte operations your changes. Lines starting
biothings/biothings_explorer#617 (comment) Did mandatory TRAPI 1.3 edits
[as of 2023-07-13 evening] We're preparing to move all BTE instances to TRAPI 1.4, which will involve removing the SmartAPI overrides and updating the registered yamls. ready for migration
|
Closing as complete. Any future problems with provenance (further/alternate support for KPs, bugs, etc.) can be tracked in future issues. |
Background
Overview
Text-Mining KP and some Multiomics KPs
We will expect Text-Mining KP and some Multiomics KPs (ClinicalTrials, BIGGIM-drug-response) BioThings KP APIs to...
edge.sources
data in a separate fieldassociation.sources
of each record (likeassociation.edge-attributes
and edge-attribute data...)Then we will...
trapi_sources: association.sources
example:
TRAPI KPs
We will expect TRAPI KP edges to have a
sources
property on their edges already. We'll then add an element for BTE that references their KP API infores...example:
The text was updated successfully, but these errors were encountered: