biolink-model icon indicating copy to clipboard operation
biolink-model copied to clipboard

Incorporate bioregistry.io prefix mappings to biolink-model prefix hierarchy.

Open sierra-moxon opened this issue 3 years ago • 2 comments

https://github.com/bioregistry/bioregistry/blob/main/docs/_data/bioregistry.jsonld could be incorporated into our prefix ingest.

sierra-moxon avatar Jun 11 '21 19:06 sierra-moxon

@cmungall - do you think this is a good direction?

sierra-moxon avatar Jun 11 '21 19:06 sierra-moxon

This is the JSON-LD version of the RDF dump of the Bioregistry. If you just want the prefix map, you can grab one of these:

  • Only canonical prefixes: https://github.com/biopragmatics/bioregistry/blob/main/docs/_data/contexts/obo.context.jsonld
  • Canonical + synonyms of prefixes: https://github.com/biopragmatics/bioregistry/blob/main/docs/_data/contexts/obo_synonyms.context.jsonld

Alternatively, the Bioregistry allows you to curate a collection that will result in a custom prefix map getting generated in this folder. If you want to do that, you can add something to this file https://github.com/biopragmatics/bioregistry/blob/main/src/bioregistry/data/collections.json or send an issue with the "add a new collection" template from here https://github.com/biopragmatics/bioregistry/issues/new/choose

cthoyt avatar Sep 21 '21 13:09 cthoyt