Created
March 10, 2022 22:41
-
-
Save finnagin/47cc99c8cecb854e7a42ead18d31a65e to your computer and use it in GitHub Desktop.
A workflowized version of the query in NCATSTranslator/testing#178
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workflow": [ | |
{ | |
"id": "fill" | |
}, | |
{ | |
"id": "overlay_compute_ngd", | |
"parameters": { | |
"virtual_relation_label": "NGD1", | |
"qnode_keys": [ | |
"n00", | |
"n01" | |
] | |
} | |
}, | |
{ | |
"id": "overlay_compute_ngd", | |
"parameters": { | |
"virtual_relation_label": "NGD2", | |
"qnode_keys": [ | |
"n01", | |
"n02" | |
] | |
} | |
}, | |
{ | |
"id": "overlay_fisher_exact_test", | |
"parameters": { | |
"subject_qnode_key": "n00", | |
"object_qnode_key": "n01", | |
"virtual_relation_label": "FET1" | |
} | |
}, | |
{ | |
"id": "overlay_fisher_exact_test", | |
"parameters": { | |
"subject_qnode_key": "n01", | |
"object_qnode_key": "n02", | |
"virtual_relation_label": "FET2" | |
} | |
}, | |
{ | |
"id": "complete_results" | |
}, | |
{ | |
"id": "score" | |
}, | |
{ | |
"id": "sort_results_score", | |
"parameters": { | |
"ascending_or_descending": "descending" | |
} | |
} | |
], | |
"message": { | |
"query_graph": { | |
"edges": { | |
"e00": { | |
"subject": "n00", | |
"object": "n01", | |
"predicates": [ | |
"biolink:related_to" | |
] | |
}, | |
"e01": { | |
"subject": "n01", | |
"object": "n02", | |
"predicates": [ | |
"biolink:related_to" | |
] | |
} | |
}, | |
"nodes": { | |
"n00": { | |
"ids": [ | |
"PUBCHEM.COMPOUND:644073" | |
], | |
"categories": [ | |
"biolink:ChemicalEntity" | |
] | |
}, | |
"n01": { | |
"categories": [ | |
"biolink:NamedThing" | |
] | |
}, | |
"n02": { | |
"ids": [ | |
"HP:0000217" | |
], | |
"categories": [ | |
"biolink:DiseaseOrPhenotypicFeature" | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment