Closed creisle closed 2 years ago
Also add new term to support moa loader
2022-03-01T19:56:13.246Z warn: Error: missing Disease record where {"AND":[{"name":"Any solid tumor"},{"source":{"filters":{"name":"oncotree"},"target":"Source"}}]}
This should be linked as an alias of the "all solid tumours" term
Should include all the subclass of relationships from this entity. Since we are defining these in this file going forward you can set the source of the origin node to "graphkb"
from our online conversation this is the pseudo spec we went over
{
"class": "Disease",
"records": {
"someKey": {
"name": "all solid tumors",
"otherField": "otherValue",
},
"phc": {
"name": "pheochromocytoma",
"sourceId": "PHC",
"source": "oncotree",
"links": [
{
"class": "SubClassOf",
"source": "graphkb",
"target": "someKey"
}
]}
},
"sources": {
"default": {"name": "graphkb"},
"oncotree": {"name": "oncotree"}
}
}```
For terms like "all solid tumours" which are not defined in a particular ontology but we have manually added to our graphkb instance to improve loading of external ontologies it would be useful to create a JSON file in this repo under the data folder to store this mapping of the custom non-specific term to actual ontology terms so that is can be re-used by external users
see specification for file format here: https://github.com/bcgsc/pori_graphkb_loader/tree/develop/src/ontology