Skip to content

Commit

Permalink
feat: add pathfinder templates for disease-disease
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Apr 3, 2024
1 parent c9c9e8c commit 6f84108
Show file tree
Hide file tree
Showing 3 changed files with 56 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 @@ -91,7 +91,8 @@
"DiseaseOrPhenotypicFeature"
],
"templates": [

"pf-disease-seqvar-disease.json",
"pf-disease-gene-disease.json"
]
},
{
Expand Down
27 changes: 27 additions & 0 deletions data/templates/Pathfinder/pf-disease-gene-disease.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
},
"nA": {
"categories":["biolink:Gene", "biolink:Protein"]
},
"creativeQueryObject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA"
},
"eB": {
"subject": "nA",
"object": "creativeQueryObject"
}
}
}
}
}
27 changes: 27 additions & 0 deletions data/templates/Pathfinder/pf-disease-seqvar-disease.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
},
"nA": {
"categories":["biolink:SequenceVariant"]
},
"creativeQueryObject": {
"categories":["biolink:DiseaseOrPhenotypicFeature"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA"
},
"eB": {
"subject": "nA",
"object": "creativeQueryObject"
}
}
}
}
}

0 comments on commit 6f84108

Please sign in to comment.