biothings / mydisease.info

7 stars 8 forks source link

BUG: error in parsing ancestors from MONDO #53

Closed andrewsu closed 1 year ago

andrewsu commented 1 year ago

In https://github.com/NCATSTranslator/Feedback/issues/21#issuecomment-1283130486, @sierra-moxon noted that mydisease.info reports that Worster-Drought syndrome (MONDO:0008503) is a subclass of cerebral palsy (MONDO:0006497). see http://mydisease.info/v1/disease/MONDO:0008503?fields=mondo.ancestors

{
  "_id": "MONDO:0008503",
  "_version": 1,
  "mondo": {
    "ancestors": [
...
      "MONDO:0006497",
...
    ]
  }
}

However, MONDO actually reports a different predicate relating these two entities. From https://raw.githubusercontent.com/monarch-initiative/mondo/master/src/ontology/mondo-edit.obo:

[Term]
id: MONDO:0008503
name: Worster-Drought syndrome
def: "Worster-Drought syndrome (WDS) is a form of cerebral palsy characterized by congenital pseudobulbar (suprabulbar) paresis manifesting as selective weakness of the lips, tongue and soft palate, dysphagia, dysphonia, drooling and jaw jerking." [Orphanet:3465]
...
relationship: disease_has_feature MONDO:0006497 {source="MONDO:cjm"} ! cerebral palsy
...

possibly related prior issue:

andrewsu commented 1 year ago

closing it as a duplicate of https://github.com/biothings/mydisease.info/issues/44