Skip to content

Import 156 MONDO/HP terms for EVA-EFO (#2684) - #2760

Merged
ar-ibrahim merged 2 commits into
masterfrom
issue-2684
Aug 5, 2026
Merged

ar-ibrahim merged 2 commits into
masterfrom
issue-2684

Conversation

@ar-ibrahim

Copy link
Copy Markdown
Collaborator

Summary

Imports the 158 term IDs requested by the EVA team in #2684 (156 unique — MONDO_0007130 and MONDO_0100467 were each listed twice). All terms come from external ontologies, so this is an import-only change: no new EFO terms and no edits to efo-edit.owl, and therefore no temporary EFO_099xxxx IDs in this PR.

Changes

Action Count File
Added MONDO IRIs 141 src/ontology/iri_dependencies/mondo_terms.txt (12,299 → 12,440)
Added HP IRIs 15 src/ontology/iri_dependencies/hp_terms.txt (2,517 → 2,532)
Regenerated — imports/hp_import.owl, imports/hp_terms.txt, imports/mondo_terms.txt
Auto-updated +79 HGNC IRIs src/ontology/iri_dependencies/mondo_exclude.txt

Notes on the two less-obvious files:

  • mondo_exclude.txt — not hand-edited. The imports/mondo_import.owl target auto-appends newly-seen HGNC IRIs to this exclude list (Makefile:83-85, "Auto-excluding N HGNC terms from mondo import"). It is a tracked file, so the generated additions are committed.
  • imports/mondo_import.owl — regenerated locally and verified, but gitignored (.gitignore:88), so it does not appear in this diff. imports/hp_import.owl is tracked and is included. mirror/ is likewise gitignored.

Verification

  • All 156 IDs resolved in OLS; none obsolete — verified twice: once per-term by the importer, and again by cross-checking the 141 new MONDO IRIs against reports/mondo_obsolete_import_check.tsv (zero hits).
  • No duplicates in either term list; no conflicts against the existing mondo_exclude.txt.
  • Terms confirmed present in the regenerated mondo_import.owl / hp_import.owl.
  • robot reason -i efo-edit.owl -r ELK → exit 0, no unsatisfiable classes (imports are resolved through the catalog, so this exercises the new modules).
  • make normalize_src ran clean. It reserialized some unrelated anonymous rdf:Description blocks in efo-edit.owl (non-deterministic robot output ordering, no semantic change); that churn was reverted to keep this an import-only diff.

Checks

  • Imports done via efo-importer; nothing under imports/ hand-edited
  • All imported terms verified non-obsolete
  • No duplicate or conflicting IRIs
  • robot reason OK; make normalize_src clean
  • No new EFO terms → no temporary ID callout needed

Notes / open questions

  • check_mondo_obsoletes reports 654 deprecated terms across the full 12,440-term MONDO list, 473 of them with no replacement defined upstream. This is pre-existing and unrelated to this PR — none of the 141 newly added terms are among them. Flagging it because it may be worth a separate cleanup ticket.
  • No subclasses.csv parents were added. The BOT extraction pulls each term's asserted ancestor chain, which connects to the existing EFO disease/phenotype roots; the reasoner surfaced no orphans. Happy to add explicit parents if a reviewer wants specific terms placed under an EFO branch.

Closes #2684

Adds 141 MONDO and 15 HP IRIs requested by the EVA team to the
iri_dependencies term lists and regenerates the mondo and hp import
modules. The mondo_exclude.txt additions are the Makefile's automatic
HGNC auto-exclusion side-effect.

Co-Authored-By: Claude Opus 5 <[email protected]>
@ar-ibrahim
ar-ibrahim requested a review from aleixpuigb August 4, 2026 15:38
@ar-ibrahim
ar-ibrahim merged commit 200eb9e into master Aug 5, 2026
1 check passed
This was referenced Sep 2, 2026
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.

EVA-EFO - additional imports 26/04

2 participants