Skip to content

Add search-xrefs command with OLS4 and MyChem.info providers#11

Draft
gaurav wants to merge 2 commits into
basic-implementation-in-uvfrom
search-xrefs
Draft

Add search-xrefs command with OLS4 and MyChem.info providers#11
gaurav wants to merge 2 commits into
basic-implementation-in-uvfrom
search-xrefs

Conversation

@gaurav
Copy link
Copy Markdown
Collaborator

@gaurav gaurav commented May 13, 2026

Surfaces candidate cross-references from external mapping sources and diffs them against Babel's local Concord.parquet, to help maintainers find xrefs worth importing into Babel (e.g. NCATSTranslator/Babel#715, where CHEBI:31941 / PUBCHEM.COMPOUND:43805 / UMLS:C1314429 should form a single clique but don't).

Providers live in src/babel_explorer/core/providers/ behind a small Protocol + registry so new sources (UniChem, SSSOM/Mapping Commons, BridgeDb) can be added by writing one class and appending to PROVIDERS.

Each candidate carries query/target CURIEs, provider name, predicate, confidence, evidence URL, and an in_babel flag. --ignore-known filters out candidates Babel already knows about.

gaurav and others added 2 commits May 13, 2026 17:58
Surfaces candidate cross-references from external mapping sources and
diffs them against Babel's local Concord.parquet, to help maintainers
find xrefs worth importing into Babel (e.g. NCATSTranslator/Babel#715,
where CHEBI:31941 / PUBCHEM.COMPOUND:43805 / UMLS:C1314429 should form
a single clique but don't).

Providers live in src/babel_explorer/core/providers/ behind a small
Protocol + registry so new sources (UniChem, SSSOM/Mapping Commons,
BridgeDb) can be added by writing one class and appending to PROVIDERS.

Each candidate carries query/target CURIEs, provider name, predicate,
confidence, evidence URL, and an in_babel flag. --ignore-known filters
out candidates Babel already knows about.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant