Repository navigation
Import 33 MONDO terms for Open Targets Safety 2.0 (refs #2818) - #2823
Merged
Merged
Conversation
Adds 33 of the 34 requested MONDO disease terms to the import seed list and regenerates the derived seed file. All terms were verified against OLS (bidirectional ID/label match), none are obsolete, and all resolve to MONDO:0000001 'disease' via MONDO's own hierarchy in the generated import - so no subclasses.csv entry or efo-edit.owl change is needed. MONDO:0003634 'proteinuria' is deliberately omitted. It is listed in mondo_exclude.txt as a duplicate label: EFO already carries proteinuria as HP:0000093, imported via hp_terms.txt. MONDO's own class also carries an editorial comment recommending the HPO term instead. Requesters should use HP:0000093 for proteinuria annotation. The derived imports/mondo_terms.txt additionally picks up MONDO_0100100, added to the source list by 064b6e5 (refs #2815) without the derived file being regenerated at the time. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AWNpNSoJahy3ZtBcMaUstK
…2818) Fixes a nolabels-violation QC failure introduced by the MONDO import in 7546782. MONDO:0001339 "portal vein thrombosis" asserts RO_0004026 (disease has location) some UBERON:0002017, but the portal vein was not on EFO's UBERON seed list, so the merged ontology carried a bare class declaration with no rdfs:label. UBERON:0002017 was verified bidirectionally against OLS (label "portal vein", not obsolete) and added to the UBERON seed list; the import was regenerated with om make imports/uberon_import.owl --rebuild mirrors,imports. The regenerated import also reparents UBERON:0001639 "hepatic portal vein" from UBERON:0001638 (vein) to UBERON:0002017 (portal vein). That is BOT extraction no longer having to lift it to the nearest available ancestor, and matches UBERON's asserted hierarchy. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AWNpNSoJahy3ZtBcMaUstK
… (refs #2818) Fixes a duplicate-label QC failure introduced by the MONDO import in 7546782. The native EFO term and the newly imported MONDO:0018824 both carried the label "pyoderma gangrenosum". Resolved by obsoleting the EFO term in favour of the Mondo one: - label prefixed with obsolete_ - owl:deprecated true - obsoleted_in_version 3.94.0 (next minor after the current 3.93.0) - reason_for_obsolescence and IAO_0100001 pointing at MONDO:0018824 - all logical axioms removed (both subClassOf parents and the RO_0002314 some UBERON_0000014 restriction) The definition, original IAO_0000117 author annotation and all seven xrefs are retained, matching the convention of the existing obsolete terms in this file. No axiom elsewhere in efo-edit.owl referenced EFO_0006835, and it does not appear in subclasses.csv, so nothing needed rewiring. Note: EFO_0006835 is flagged gwas_trait "true" in the generated components/gwas_import.owl, which is driven by iri_dependencies/ gwas_terms.tsv and is not updated by obsoletion. 990 previously obsoleted EFO terms are in the same state, so this follows existing practice rather than introducing a new gap. Verified with om make qc: all four checks pass (sparql_test with 11/11 rules clean, all_reports, label_synonym_dup_check, check_mondo_obsoletes), plus om make normalize_src and om reason -r ELK. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AWNpNSoJahy3ZtBcMaUstK
This was referenced Sep 14, 2026
Merged
Merged
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Imports 33 of the 34 MONDO disease terms requested in #2818 for the Open Targets Safety 2.0 project's data annotation work, plus two follow-on fixes the import made necessary: importing UBERON:0002017
portal vein(referenced by MONDO:0001339 viadisease has location, which would otherwise be a label-less dangling class once the MONDO module is rebuilt) and obsoleting nativeEFO_0006835pyoderma gangrenosumin favour of the incoming MONDO:0018824, which carries the same label.One term was deliberately omitted:
MONDO:0003634proteinuria. See Notes below.Changes
src/ontology/iri_dependencies/mondo_terms.txtsrc/ontology/imports/mondo_terms.txtsrc/ontology/iri_dependencies/uberon_terms.txtsrc/ontology/imports/uberon_terms.txt,src/ontology/imports/uberon_import.owlsrc/ontology/efo-edit.owlNote:
imports/mondo_import.owlis gitignored on this line too (CI rebuilds it from the MONDO mirror), so as in #2820 it is not part of this diff — same scope as the EVA import (#2684 / bfe4783), where MONDO seeds landed as text files and the built module caught up at the next CI build. The obsoletion'sIAO_0100001→ MONDO:0018824 is an annotation, so nothing dangles logically in the meantime.The 33 imported terms
Checks
subClassOfpath to MONDO:0000001diseasein the generated import — the parent requested in the ticketuberon_import.owlrebuild under the EFO 3 Makefile (odkfull image) reproduces the committed file byte-for-byteobsolete_label prefix,owl:deprecated true,obsoleted_in_version3.94.0,reason_for_obsolescence,IAO_0100001→ MONDO:0018824, all logical axioms removed, definition/author/xrefs retainedNotes / open questions
MONDO:0003634
proteinuriawas not importedMONDO_0003634is listed insrc/ontology/iri_dependencies/mondo_exclude.txt. Therobot remove -T iri_dependencies/mondo_exclude.txtstep in the Makefile'smondo_import.owlrule strips it from the built import, so adding it to the seed list has no effect. This exclusion is deliberate and still correct:mondo_exclude.txtdescends from a file originally namedmondo_duplicates.txt; the entry dates to 74f8884 (2019-04-12), "fixed duplicate label issue".hp_terms.txtand present inhp_import.owl.rdfs:commentrecommending the HPO term instead.Recommendation: keep the exclusion and use HP:0000093 for proteinuria annotation in Open Targets Safety 2.0. Reviewers who disagree should say so — the alternative is dropping
MONDO_0003634frommondo_exclude.txtand rebuilding.Incidental line in the derived seed list
imports/mondo_terms.txtgains one line unrelated to this ticket:MONDO_0100100. It was added to the source list by the #2815 import without the derived file being regenerated at the time; this rebuild catches it up.GWAS flag on the obsoleted term
EFO_0006835is flaggedgwas_trait "true"viairi_dependencies/gwas_terms.tsv, which obsoletion does not update — 990 previously obsoleted EFO terms are in the same state, so this follows existing practice. Worth flagging to the GWAS team, but out of scope here.Refs #2818 — intentionally left open, as the proteinuria part of the request is answered by an existing term rather than by this import.
🤖 Generated with Claude Code