-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bioportal client should implement mapping between OBO prefixes and bioportal prefixes #588
Comments
You can use one of the two endpoints in the Bioregistry:
>>> from bioregistry import manager
>>> diff = manager.get_external_mappings("obofoundry", "bioportal")
>>> diff.mappings["gaz"]
'GAZ' |
cthoyt
added a commit
to biopragmatics/bioregistry
that referenced
this issue
Jul 3, 2023
cthoyt
added a commit
to biopragmatics/bioregistry
that referenced
this issue
Jul 3, 2023
There's an API endpoint that lets you get all if the mappings from one external registry to another. For example, getting all mappings from OBO Foundry to Bioportal can be done with https://bioregistry.io/api/metaregistry/obofoundry/mapping/bioportal. However, the implementation of this functionality is built in to the API route itself. This PR externalizes that implementation into the Bioregistry's manager class so it can be reused. Related to INCATools/ontology-access-kit#588
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently using the bioportal client with some ontologies like FBbt, WBbt results in failure, because bioportal uses different names eg FB-BT
We should implement the mapping - using bioregistry? in this lib or in https://github.com/cthoyt/ontoportal-client?
The text was updated successfully, but these errors were encountered: