TranslatorSRI / NodeNormalization

Service that produces Translator compliant nodes given a curie
MIT License
9 stars 6 forks source link

Order of types incorrect #190

Closed cbizon closed 1 year ago

cbizon commented 1 year ago

https://nodenorm.transltr.io/1.3/get_normalized_nodes?curie=NCBIGene%3A1017&conflate=true

The first type should be gene or protein, not biological entity.

cbizon commented 1 year ago

It's wrong whether conflation is true or false

gaurav commented 1 year ago

There's a worse example with UMLS:C5139888, where biolink:Polypeptide and biolink:BiologicalEntity come before biolink:NamedThing. The entry emitted by Babel is:

{"type": "biolink:Protein", "identifiers": [{"i": "UMLS:C5139888", "l": "domagrozumab"}]}

So it looks like it's a problem in NodeNorm loading.