geneontology / obographs

Basic and Advanced OBO Graphs: specification and reference implementation
63 stars 12 forks source link

Include synonym types #38

Closed cmungall closed 4 years ago

cmungall commented 6 years ago

The code currently translates synonym scope, but not user-defined types

cc @pnrobinson

cmungall commented 6 years ago

Test ontology

ontology: test
synonymtypedef: layperson "layperson"

[Term]
id: X:1
synonym: "Permanent flexion of the finger or toe" EXACT layperson [orcid.org/0000-0002-6548-5200]

Meta object looks like this:

      "meta" : {
        "synonyms" : [ {
          "pred" : "hasExactSynonym",
          "val" : "Permanent flexion of the finger or toe",
          "xrefs" : [ "orcid.org/0000-0002-6548-5200" ]
        } ]

should also include a type field