Skip to content

update: bump MONDO import to v2026-11-03 and fix resulting obsoletions/label clashes - #2860

Merged
jamesamcl merged 1 commit into
masterfrom
mondo-2026-11-03-update
Nov 5, 2026
Merged

jamesamcl merged 1 commit into
masterfrom
mondo-2026-11-03-update

Conversation

@ar-ibrahim

Copy link
Copy Markdown
Collaborator

Summary

Moves EFO's pinned MONDO import from release 2026-10-06 to v2026-11-03. Three problems in that release affect EFO, and this PR fixes them:

  1. Nine MONDO terms EFO seeds were obsoleted, so they are swapped for their replacements.
  2. Three already-obsolete EFO/Orphanet classes had their "replaced by" pointing to MONDO terms that are now obsolete themselves, so they are re-pointed.
  3. Two MONDO terms now share a label with a live EFO class, which fails CI's duplicate-label-violation. The EFO classes are obsoleted in favour of the MONDO terms.

Changes

Import

Action Detail
Bumped mondo_mirror_version.txt: releases/2026-10-06 → releases/2026-11-03
Removed seeds MONDO_0002675, 0005102, 0009112, 0017895, 0035642, 0035941, 0035942, 0044923, 0979233 (all obsoleted in v2026-11-03)
Added seeds MONDO_0100273, 0850450, 0850156, 0800139, 1060292 (replacements not already seeded)
Auto-updated mondo_exclude.txt: 4 HGNC IRIs added by the build

Both iri_dependencies/mondo_terms.txt and imports/mondo_terms.txt were updated. I checked the whole seed list against the new release: no other seed became obsolete in it.

Re-pointed replacements (already-obsolete terms)

Term Old replacement (now obsolete) New replacement
EFO_0000730 obsolete_undifferentiated sarcoma MONDO_0005102 MONDO_0015795 undifferentiated embryonal sarcoma of the liver
Orphanet_309796 obsolete_rhizomelic chondrodysplasia punctata type 2 MONDO_0009112 MONDO_0100273 rhizomelic chondrodysplasia punctata, type 2
Orphanet_319487 obsolete_familial papillary or follicular thyroid carcinoma MONDO_0017895 MONDO_0017896 familial nonmedullary thyroid carcinoma

Each new target is the replacement Mondo itself names. MONDO_0100273 and MONDO_0017896 are equivalentTo the Orphanet IDs. EFO_0000730's definition describes the liver tumour and it xrefs NCIT:C27096, the same concept as MONDO_0015795. The EFO_0000730 row in components/mondo_efo_mappings.tsv is updated to match.

New obsoletions (obsoleted_in_version 3.96.0)

Term Replaced by Why
Orphanet_79277 Congenital erythropoietic porphyria MONDO_0009902 MONDO_0009902 was relabelled "congenital erythropoietic porphyria", so the labels clashed; Mondo maps it as equivalentTo Orphanet:79277 / OMIM:263700
EFO_0005138 acquired long QT syndrome MONDO_1060292 New in v2026-11-03 with an identical label, and covers the same concept (drug- or metabolism-induced QT prolongation)

Both obsoleted classes lost their subClassOf axioms. Orphanet_79277 now looks like the other obsolete Orphanet classes: label, deprecated, replaced-by, version and reason only. EFO_0005138 keeps its definition, creators, citation, SNOMEDCT xref and comment, as EFO_0000730 did.

Checks

  • Replacement terms checked against the v2026-11-03 release itself (OLS may not have indexed it yet)
  • No relationship points to an obsolete class (deprecated-violation: 0)
  • make normalize_src clean
  • make sparql_test: all 11 rules PASS (duplicate-label, nolabels, deprecated, no-dangling, …)
  • robot reason -r ELK on build/efo.owl: exit 0, no unsatisfiable classes
  • No hand-edited files under imports/ other than the committed seed list; mondo_import.owl is built in CI

Notes / open questions

  • Downstream impact: obsoleting EFO_0005138 means annotations using it (e.g. GWAS Catalog) will need to move to MONDO_1060292.
  • EFO_0005138 metadata: keeping its old definition and citation on the obsolete class follows EFO_0000730. Drop them if reviewers prefer a minimal obsolete stub.
  • Files left unchanged: the legacy templates disease.tsv, orphanet_mondo_replacement.tsv and unmapped.csv still list some of the old IDs. No active Makefile rule uses them, and a193780 left them alone too. components/disease_to_phenotype.owl still has phenotype annotations on Orphanet_79277, the same as other obsolete Orphanet classes.
  • Diff noise: efo-edit.owl contains a harmless reordering of orphan OBA rdf:Description blocks from normalize_src.

🤖 Generated with Claude Code

…s/label clashes

- Pin MONDO mirror to release 2026-11-03.
- Swap 9 seeds obsoleted in this release for their replacements; seed
  MONDO_0100273, 0850450, 0850156, 0800139, 1060292.
- Re-point replaced-by of EFO_0000730, Orphanet_309796, Orphanet_319487
  to the new Mondo replacements (and the EFO_0000730 mapping row).
- Obsolete Orphanet_79277 -> MONDO_0009902 and EFO_0005138 -> MONDO_1060292
  (3.96.0) to resolve duplicate labels introduced by this release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ar-ibrahim

Copy link
Copy Markdown
Collaborator Author

EFO PR Review — #2860 (mondo-2026-11-03-update)

Advisory review against docs/agents-documentation/efo-pr-review-checklist.md.

Recommendation: APPROVE. No 🔴 or 🟡 issues; 4 optional 🔵 suggestions.

Checklist

  • Hierarchy and parents consistent and non-obsolete (no new terms; the two newly obsoleted classes have no remaining subClassOf)
  • Definitions with ≥2 PMIDs: N/A (no new terms)
  • Typed synonyms with source xrefs: N/A (no new synonyms)
  • Obsoletion / replacement handling is safe (no dangling references)
  • Temporary vs permanent EFO IDs: N/A (no new IDs)
  • Naming, metadata and domain relationships preserved
  • No CI, auth or workflow regression (no .github/ or .claude/ changes)
  • CI ontology_qc passes

What was verified against the v2026-11-03 release

  • Removed seeds: all 9 are is_obsolete: true in the release. Each replaced_by target is already seeded (MONDO_0017827, 0850157, 0018437, 0015795, 0017896) or is added here (MONDO_0850450, 0850156, 0800139, 0100273).
  • Replacement targets: MONDO_0015795, 0100273, 0017896, 0009902 and 1060292 all exist and are not obsolete. MONDO_0009902 carries xref: Orphanet:79277 with source MONDO:equivalentTo (plus OMIM:263700), which supports the Orphanet_79277 obsoletion.
  • No dangling references: none of the 9 old IDs appears in efo-edit.owl, subclasses.csv or the component tsv/csv files. Orphanet_79277 and EFO_0005138 appear only in their own class blocks and are not used as parents or restriction fillers.
  • Obsoletion metadata: both new obsoletions have the obsolete_ label prefix, owl:deprecated true, IAO_0100001, obsoleted_in_version 3.96.0 (release notes are at 3.95.0) and a reason. No logical axioms remain.
  • OBA churn in efo-edit.owl: the sorted removed lines equal the sorted added lines, so this is pure normalize_src reordering with no content change.
  • Import hygiene: only seed lists, the exclude list, the mirror version and the mappings tsv changed. No generated import OWL is hand-edited and no RO terms are added.

Suggestions (🔵, optional)

  1. efo-edit.owl EFO_0005138: the obsolete stub keeps its definition, creators, citation and SNOMED xref. This follows the EFO_0000730 precedent and is acceptable; drop them if a minimal stub is preferred.
  2. efo-edit.owl Orphanet_79277: "Replaced with Mondo term." matches sibling Orphanet classes. The reason could also mention that the label clash with MONDO_0009902 prompted the obsoletion.
  3. Downstream: obsoleting EFO_0005138 needs coordinating with GWAS Catalog annotations, as already noted in the PR body.
  4. Seed ordering (cosmetic): the new IRIs are appended in iri_dependencies/mondo_terms.txt but sorted into imports/mondo_terms.txt.

Not covered

The legacy templates the PR deliberately leaves untouched (disease.tsv, orphanet_mondo_replacement.tsv, unmapped.csv) were not inspected.

🤖 Advisory review generated with Claude Code

@ar-ibrahim

Copy link
Copy Markdown
Collaborator Author

@jamesamcl I think it's ok to merge but it would be good for you to also take a quick look.

@ar-ibrahim
ar-ibrahim requested a review from jamesamcl November 5, 2026 09:15
@jamesamcl
jamesamcl merged commit e5a0618 into master Nov 5, 2026
1 check passed
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.

2 participants