Skip to content

Commit

Permalink
feat: add pathfinder gene-disease templates
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Apr 5, 2024
1 parent 6f84108 commit 2fc3fda
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/templateGroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
"DiseaseOrPhenotypicFeature"
],
"templates": [

"pf-gene-anything-disease.json",
"pf-gene-chem-gene-disease.json"
]
}
]
27 changes: 27 additions & 0 deletions data/templates/Pathfinder/pf-gene-anything-disease.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
57 changes: 57 additions & 0 deletions data/templates/Pathfinder/pf-gene-chem-gene-disease.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
}
}

0 comments on commit 2fc3fda

Please sign in to comment.