INCATools / ontology-access-kit

Ontology Access Kit: A python library and command line application for working with ontologies
https://incatools.github.io/ontology-access-kit/
Apache License 2.0
110 stars 26 forks source link

Home for curify_table, uri_to_curie, curie_to_uri, and irify_table? #186

Open matentzn opened 2 years ago

matentzn commented 2 years ago

We frequently use these methods:

For the latter two we could go straight to bioregistry: https://bioregistry.readthedocs.io/en/latest/api/bioregistry.curie_from_iri.html?highlight=uri_to_curie

Or if we want to keep our dependencies clean implement intermediate utilities in OAK that defer to bioregistry for the implementations?

cc @joeflack4

joeflack4 commented 2 years ago

+1: Thanks Nico!

cthoyt commented 2 years ago

in https://github.com/cthoyt/curies/pull/13 I added some bulk operation utilities to curies that work on files and pandas dataframes.

joeflack4 commented 2 years ago

@matentzn Maybe this is something I don't need to worry about this time, but after this update is merged into OAK, I can update mondo-ingest my code further to do these conversions using the OAK class methods rather than imports and calls to curies directly.