Skip to content
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

Migrate from prefixcommons to bioregistry / prefixmaps #940

Open
kltm opened this issue Jan 9, 2025 · 1 comment
Open

Migrate from prefixcommons to bioregistry / prefixmaps #940

kltm opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@kltm
Copy link
Member

kltm commented Jan 9, 2025

As discussed on the software call today, prefixcommons is out-of-date and should be replaced with bioregistry / prefixmaps.

Possibly, just updating the core of https://github.com/geneontology/curie-util-es5 (and https://github.com/geneontology/curie-util-py ?). Likely, some discussion between @tmushayahama and @sierra-moxon necessary.

@vanaukenk I'm not sure which issue this would be addressing, so I'm unsure of the appropriate project or priority.

@sierra-moxon
Copy link
Member

sierra-moxon commented Jan 14, 2025

It might be that replacing prefixcommons with prefixmaps completely, is a bit larger: https://github.com/search?q=org%3Ageneontology%20prefixcommons&type=code

but, the good news is that this is all kind of circular, prefixcommons, gets the go identity file from GO: https://github.com/prefixcommons/biocontext/blob/master/bin/go-xrefs-to-context.py and prefixmaps gets its identify file from GO too: https://github.com/linkml/prefixmaps/blob/main/src/prefixmaps/ingest/ingest_go.py

and, as prefixcommons provides a curie expansion/contraction library: https://github.com/prefixcommons/curie-util
so does prefixmaps: https://github.com/linkml/prefixmaps?tab=readme-ov-file via https://github.com/biopragmatics/curies. The curies package aligns directly with bioregistry.

so, there would be a lot of changes, but all easily testable, derived from the go-xrefs as a source of truth, and not too complicated to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants