Skip to content

EVA-EFO import 26/03: 104 term imports + 5 new terms - #2676

Closed
zoependlington with Copilot wants to merge 6 commits into
masterfrom
copilot/add-efo-import-from-eva
Closed

zoependlington with Copilot wants to merge 6 commits into
masterfrom
copilot/add-efo-import-from-eva

Conversation

Copilot AI commented Apr 14, 2026 •

Copy link
Copy Markdown
Contributor
  • Import ~89 new MONDO terms from EVA/ClinVar spreadsheet (issue EVA-EFO import 26/03 #2672)
  • Import 5 new HP terms from EVA/ClinVar spreadsheet
  • Import MONDO_0006507 (hereditary hemochromatosis) as parent for bronze diabetes
  • Curate 5 new EFO terms with minimum 2 PMIDs each (via EFO-curator)
  • Add EFO_0920091 bronze diabetes (parent: MONDO_0006507)
  • Add EFO_0920092 prenatal anemia (parent: MONDO_0002280)
  • Add EFO_0920093 mitochondrial hepato-encephalopathy (parent: MONDO_0044970)
  • Add EFO_0920094 refractory epilepsy (parent: MONDO_0005027)
  • Add EFO_0920095 bullous lung disease (parent: MONDO_0004849)
  • Normalize ontology file
  • Fix CI QC: GO_0004092 no-label violation (add to go_import.owl with label "carnitine O-acetyltransferase activity")
  • Fix CI QC: HP_0032373 dangling violation (add parent HP:0010970 in subclasses.csv)
  • Fix CI check_mondo_obsoletes: add MONDO_0700325 (replacement for MONDO_0012017) and MONDO_0014337 (replacement for MONDO_0700044) to mondo_terms.txt

Copilot AI linked an issue Apr 14, 2026 that may be closed by this pull request
Copilot AI and others added 3 commits April 14, 2026 15:32
Added 89 new MONDO terms and 5 new HP terms from issue #2672 (EVA-EFO import 26/03).

Skipped 8 MONDO terms already present (MONDO_0005560, MONDO_0800501,
MONDO_0015075, MONDO_0003198, MONDO_0000942, MONDO_0021331, MONDO_0005102,
MONDO_0005744) and 1 HP term already present (HP_0008458).

All new terms verified against downloaded ontology mirrors before import.
Regenerated imports/hp_import.owl and imports/mondo_terms.txt.

Co-authored-by: zoependlington <[email protected]>
Copilot AI changed the title [WIP] Add EFO import from EVA/ClinVar for 26/03 EVA-EFO import 26/03: 104 term imports + 5 new terms Apr 14, 2026
Copilot AI requested a review from zoependlington April 14, 2026 15:54
@zoependlington

Copy link
Copy Markdown
Collaborator

@copilot Please fix the no label and dangling errors causing the CI qc to fail.

…373 parent to subclasses.csv

- GO_0004092 (carnitine O-acetyltransferase activity) added to go_import.owl with
  parent GO_0003824 (catalytic activity); also added to go_terms.txt files.
  This fixes the no-label violation caused by MONDO_0011642's BOT extraction
  pulling in GO_0004092 without a label.
- HP:0032373 (Duffy blood group) added to subclasses.csv with parent HP:0010970
  (Blood group antigen abnormality), connecting it to the HP → EFO hierarchy.
  This fixes the dangling violation."

Agent-Logs-Url: https://github.com/EBISPOT/efo/sessions/4062b470-0a03-4a32-ac8d-b1ded2b45bc1

Co-authored-by: zoependlington <[email protected]>

Copilot AI commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor Author

@copilot Please fix the no label and dangling errors causing the CI qc to fail.

Fixed in commit 4e36c76:

  1. GO_0004092 (no-label): Added carnitine O-acetyltransferase activity entry to go_import.owl (with parent GO_0003824 / catalytic activity and EC:2.3.1.7 xref). This term was pulled in as an empty declaration by the MONDO BOT extraction of MONDO_0011642 (carnitine acetyltransferase deficiency), which was newly added in this batch. Also added to go_terms.txt files.

  2. HP_0032373 (dangling): Added HP:0032373,HP:0010970 to subclasses.csv placing "Duffy blood group" under "Blood group antigen abnormality" (HP:0010970). This connects it through the HP hierarchy to EFO_0000651 (phenotype) via HP_0000118.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.geneontology.org
    • Triggering command: /usr/bin/curl curl -sL --max-time 15 REDACTED (dns block)
  • current.geneontology.org
    • Triggering command: /usr/bin/curl curl -sL --max-time 300 REDACTED (dns block)
    • Triggering command: /usr/bin/curl curl -sL --max-time 30 REDACTED 1 1 (dns block)
    • Triggering command: /usr/bin/curl curl -sL --max-time 60 REDACTED (dns block)
  • http://purl.obolibrary.org:80/obo/go/go-basic.obo
    • Triggering command: /usr/bin/curl curl -sL --max-time 10 REDACTED (http block)
    • Triggering command: /usr/bin/curl curl -sL --max-time 30 REDACTED (http block)
    • Triggering command: /usr/bin/curl curl -sL --max-time 30 REDACTED --resolve purl.obolibrary.org:80:104.18.37.59 HP: REDACTED --prefix ECTO: REDACTED --ontology-iri REDACTED (http block)
  • http://purl.obolibrary.org:80/obo/go/subsets/goslim_generic.obo
    • Triggering command: `/usr/bin/curl curl -sL --max-time 30 REDACTED --local k/efo/efo/src/ontology/efo-edit.owl bash k/efo/efo/src/onbash k/efo/efo/src/on--norc k/efo/efo/src/on--noprofile k/efo/efo/src/ontology/imports/chebi_import.owl k/ef�� k/efo/efo/src/ontology/imports/fbbi_import.owl k/efo/efo/src/ontology/imports/obi_import.owl k/_temp/ghcca-node/node/bin/bash k/efo/efo/src/onpython3 k/efo/efo/src/on-c k/efo/efo/src/on
      import re

with open('src/ontology/imports/hp_import.owl') as f:
content = f.read()

Build a parent map

pattern = r'<owl:Class rdf:about="(REDACTED[0-9]+)">(.*?)</owl:Class>'
matches = re.findall(pattern, content, re.DOT` (http block)

  • release.geneontology.org
    • Triggering command: /usr/bin/curl curl -sL --max-time 30 REDACTED /subclasses.csv --prefix &#34;MONDO: REDACTED&#34; --prefix &#34;snap: http://wbash commit.gpgsign bash (dns block)
  • www.ebi.ac.uk
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
    • Triggering command: /usr/bin/curl curl -sL --max-time 10 REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@zoependlington

Copy link
Copy Markdown
Collaborator

@copilot Address the new errors

…DO terms

MONDO_0012017 (obsolete Parkes Weber syndrome) is deprecated in MONDO
with replacement MONDO_0700325 (Parkes Weber syndrome).
MONDO_0700044 (obsolete TUBB2A-related tubulinopathy) is deprecated with
replacement MONDO_0014337 (TUBB2A-related complex cortical dysplasia).

Added both replacement IRIs to iri_dependencies/mondo_terms.txt and
imports/mondo_terms.txt so the check_mondo_obsoletes QC check passes."

Agent-Logs-Url: https://github.com/EBISPOT/efo/sessions/6ad676aa-8682-4b15-80a4-ecbd65d41614

Co-authored-by: zoependlington <[email protected]>

Copilot AI commented Apr 15, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Address the new errors

Fixed in commit 6209faf.

The check_mondo_obsoletes check was failing because two MONDO terms in the import list are deprecated in current MONDO with replacements not yet in EFO's import list:

  • MONDO_0012017 (obsolete Parkes Weber syndrome) → replaced by MONDO_0700325
  • MONDO_0700044 (obsolete TUBB2A-related tubulinopathy) → replaced by MONDO_0014337

Added both replacement IRIs to iri_dependencies/mondo_terms.txt and imports/mondo_terms.txt. The local check_mondo_obsoletes script now passes with 0 missing replacements.

Copilot AI mentioned this pull request May 15, 2026
7 tasks done
aleixpuigb added a commit that referenced this pull request Jun 25, 2026
…20097–0920099) (#2694)

* Initial plan

* Import CHEBI:17737 (desmosterol) into EFO

Add http://purl.obolibrary.org/obo/CHEBI_17737 to chebi_terms.txt
and regenerate imports/chebi_import.owl.

CHEBI:17737 (desmosterol, a.k.a. 24-dehydrocholesterol) is required
as a logical definition component (IAO_0000136 is_about CHEBI:17737)
for three new measurement terms being added in issue #2682:
  - esterified desmosterol measurement
  - free desmosterol measurement
  - total desmosterol measurement

Co-authored-by: jamesamcl <[email protected]>

* Add esterified/free/total desmosterol measurement terms (EFO_0920094-0920096) for issue #2682

Co-authored-by: jamesamcl <[email protected]>

* Renumber desmosterol measurement terms to EFO_0920097-0920099 to avoid ID clashes with PR #2676

Agent-Logs-Url: https://github.com/EBISPOT/efo/sessions/4ecc100a-91f3-4016-8926-7bef3f59f40c

Co-authored-by: jamesamcl <[email protected]>

* normalize: run make normalize_src after merging master

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jamesamcl <[email protected]>
Co-authored-by: Aleix Puig <[email protected]>
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
@ar-ibrahim ar-ibrahim closed this Sep 22, 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 import 26/03

3 participants