diff --git a/data/templateGroups.json b/data/templateGroups.json index 9afceb01..4ff8b981 100644 --- a/data/templateGroups.json +++ b/data/templateGroups.json @@ -104,7 +104,8 @@ "DiseaseOrPhenotypicFeature" ], "templates": [ - + "pf-gene-anything-disease.json", + "pf-gene-chem-gene-disease.json" ] } ] diff --git a/data/templates/Pathfinder/pf-gene-anything-disease.json b/data/templates/Pathfinder/pf-gene-anything-disease.json new file mode 100644 index 00000000..d3d3bd6c --- /dev/null +++ b/data/templates/Pathfinder/pf-gene-anything-disease.json @@ -0,0 +1,27 @@ +{ + "message": { + "query_graph": { + "nodes": { + "creativeQuerySubject": { + "categories":["biolink:Gene", "biolink:Protein"] + }, + "nA": { + "categories":["biolink:NamedThing"] + }, + "creativeQueryObject": { + "categories":["biolink:DiseaseOrPhenotypicFeature"] + } + }, + "edges": { + "eA": { + "subject": "creativeQuerySubject", + "object": "nA" + }, + "eB": { + "subject": "nA", + "object": "creativeQueryObject" + } + } + } + } +} \ No newline at end of file diff --git a/data/templates/Pathfinder/pf-gene-chem-gene-disease.json b/data/templates/Pathfinder/pf-gene-chem-gene-disease.json new file mode 100644 index 00000000..3601b12f --- /dev/null +++ b/data/templates/Pathfinder/pf-gene-chem-gene-disease.json @@ -0,0 +1,57 @@ +{ + "message": { + "query_graph": { + "nodes": { + "creativeQuerySubject": { + "categories":["biolink:Gene", "biolink:Protein"] + }, + "nA": { + "categories":["biolink:ChemicalEntity"] + }, + "nB": { + "categories":["biolink:Gene", "biolink:Protein"] + }, + "creativeQueryObject": { + "categories":["biolink:DiseaseOrPhenotypicFeature"] + } + }, + "edges": { + "eA": { + "subject": "creativeQuerySubject", + "object": "nA", + "predicates": [ + "biolink:regulates", + "biolink:regulated_by", + "biolink:affects", + "biolink:affected_by", + "biolink:interacts_with", + "biolink:correlated_with" + ] + }, + "eB": { + "subject": "nA", + "object": "nB", + "predicates": [ + "biolink:regulates", + "biolink:regulated_by", + "biolink:affects", + "biolink:affected_by", + "biolink:interacts_with", + "biolink:correlated_with" + ] + }, + "eC": { + "subject": "nB", + "object": "creativeQueryObject", + "predicates": [ + "biolink:gene_associated_with_condition", + "biolink:affects", + "biolink:disrupts", + "biolink:contributes_to", + "biolink:biomarker_for" + ] + } + } + } + } +} \ No newline at end of file