Skip to content

Instantly share code, notes, and snippets.

@finnagin
Created February 1, 2022 03:07
Show Gist options
  • Save finnagin/63e07bec0ce35072d5c423fe22e6d8ab to your computer and use it in GitHub Desktop.
Save finnagin/63e07bec0ce35072d5c423fe22e6d8ab to your computer and use it in GitHub Desktop.
RTXteam/RTX#1722, Workflowitized version of the standup query listed here: NCATSTranslator/testing#173
{
"workflow": [
{
"id": "lookup"
},
{
"id": "overlay_compute_ngd",
"parameters": {
"virtual_relation_label": "NGD1",
"qnode_keys": ["n0", "n1"]
}
},
{
"id": "overlay_fisher_exact_test",
"parameters": {
"virtual_relation_label": "FET1",
"subject_qnode_key": "n0",
"object_qnode_key": "n1"
}
},
{
"id": "score"
},
{
"id": "sort_results_score",
"parameters": {
"ascending_or_descending": "descending"
}
}
],
"message": {
"query_graph": {
"edges": {
"e00": {
"subject": "n00",
"object": "n01",
"predicates": [
"biolink:subclass_of"
]
}
},
"nodes": {
"n00": {
"ids": [
"MONDO:0005737"
],
"categories": [
"biolink:Disease"
]
},
"n01": {
"categories": [
"biolink:Disease"
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment