Closed caufieldjh closed 1 year ago
Yeah, I think this is a very good idea.
Also need to check for existence of conflicting category assignments.
A node can have multiple categories, but not if any of them are the wrong type (like OntologyClass
) or incompatible as per Biolink.
There may be category assignments represented as relations, and that's mostly just noise in a property graph, but it's preferable to convert them to categories and remove the redundant relations.
At present, Biolink categories are only:
OntologyClass
It would be preferable to do additional category verification by getting categories with OAK (see what KGX does too)
This should be optional from the CLI.
Gotta output a list of "unmappable" nodes in order to catch those OAK may not know about.