Skip to content

Commit

Permalink
Merge branch 'pathfinder-templates' of https://github.com/biothings/b…
Browse files Browse the repository at this point in the history
  • Loading branch information
rjawesome committed Apr 4, 2024
2 parents b6aed6f + 6f84108 commit 3cd3b90
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 3 deletions.
6 changes: 4 additions & 2 deletions data/templateGroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"predicate": ["related_to"],
"object": ["Gene", "Protein"],
"templates": [

"pf-chem-gene-gene.json",
"pf-chem-gene-gene-gene.json"
]
},
{
Expand All @@ -90,7 +91,8 @@
"DiseaseOrPhenotypicFeature"
],
"templates": [

"pf-disease-seqvar-disease.json",
"pf-disease-gene-disease.json"
]
},
{
Expand Down
45 changes: 45 additions & 0 deletions data/templates/Pathfinder/pf-chem-gene-gene-gene.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:ChemicalEntity"]
},
"nA": {
"categories":["biolink:Gene", "biolink:Protein"]
},
"nB": {
"categories":["biolink:Gene", "biolink:Protein"]
},
"creativeQueryObject": {
"categories":["biolink:Gene", "biolink:Protein"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA",
"predicates": [
"biolink:regulates",
"biolink:affects",
"biolink:interacts_with"
]
},
"eB": {
"subject": "nA",
"object": "nB",
"predicates": [
"biolink:regulates"
]
},
"eC": {
"subject": "nB",
"object": "creativeQueryObject",
"predicates": [
"biolink:regulates"
]
}
}
}
}
}
39 changes: 39 additions & 0 deletions data/templates/Pathfinder/pf-chem-gene-gene.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"message": {
"query_graph": {
"nodes": {
"creativeQuerySubject": {
"categories":["biolink:ChemicalEntity"]
},
"nA": {
"categories":["biolink:Gene", "biolink:Protein"]
},
"creativeQueryObject": {
"categories":["biolink:Gene", "biolink:Protein"]
}
},
"edges": {
"eA": {
"subject": "creativeQuerySubject",
"object": "nA",
"predicates": [
"biolink:regulates",
"biolink:affects",
"biolink:interacts_with"
]
},
"eB": {
"subject": "nA",
"object": "creativeQueryObject",
"predicates": [
"biolink:regulates",
"biolink:regulated_by",
"biolink:affects",
"biolink:affected_by",
"biolink:interacts_with"
]
}
}
}
}
}
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"
}
}
}
}
}
1 change: 0 additions & 1 deletion data/templates/Pathfinder/pf-drug-gene-disease.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"biolink:gene_associated_with_condition",
"biolink:biomarker_for",
"biolink:affects",
"biolink:causes",
"biolink:contributes_to"
]
}
Expand Down

0 comments on commit 3cd3b90

Please sign in to comment.