Open matentzn opened 2 years ago
+1: Thanks Nico!
in https://github.com/cthoyt/curies/pull/13 I added some bulk operation utilities to curies
that work on files and pandas dataframes.
@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.
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