Skip to content

Condition labels no longer match ontology labels in the export #367

Open

Description

@lwaldron

I assumed the Condition column in the export used the ontology label for the term in EFO ID. It doesn't. I compared the 655 distinct condition / ID pairs in the 2026-10-26 full_dump.csv against current labels from OLS4:

BugSigDB label vs. current ontology label pairs rows
exact match 109 1,219
differs only in capitalization 766 12,005
differs only in hyphenation 4 18
BugSigDB label is now a synonym 75 2,129
different 115 601
ID is obsolete 3 97
ID not found in OLS 19 184

Examples:

  • Parkinson's disease / MONDO:0005180 is now "Parkinson disease"
  • Non-alcoholic fatty liver disease / MONDO:0013209 is now "metabolic dysfunction-associated steatotic liver disease"
  • Fasting blood glucose measurement / OBA:VT0000188 is now "blood glucose amount"
  • Aging / GO:0007568 is obsolete with no replacement (77 rows)
  • ORPHANET:101953 ("Rare dyslipidemia") is used for both Rare dyslipidemia and Polycystic ovary syndrome

The cause is how the glossary is maintained. Condition labels are glossary page titles imported from the 2021 EFO OBO file (#92) and then given a capital first letter (#111). updateEFO.py (#113) replaces a glossary page's link when OLS reports a replacement term, but it never renames the page, and it skips obsolete terms that have no replacement. So the IDs stay mostly current while the labels stay as they were in 2021.

Proposed fixes:

  1. Export: add a column with the current ontology label for each ID in EFO ID, looked up at export time from OLS or the latest EFO release. Keep Condition as the BugSigDB display label. This makes the export match the ontologies exactly without renaming anything on the site.
  2. Site: extend updateEFO.py to report glossary pages whose title no longer matches the current label (ignoring capitalization, since capitalization of ontology terms in drilldown menu #111 made that a choice), and obsolete terms that have no replacement. Renaming a glossary page probably also requires updating the experiment pages that use the old name, as was done for capitalization in capitalization of ontology terms in drilldown menu #111, so I'd start with a report and rename after review.
  3. One-time cleanup: remap the obsolete IDs and fix mismapped pairs like the ORPHANET:101953 case.

I have the full pair-by-pair comparison as a CSV and can share it.

Drafted with Claude Code; decisions and edits are mine.

Activity

  1. lwaldron commented on Nov 2, 2026

    @lwaldron
    MemberAuthor

    Here is the map behind the table above
    condition_efo_label_map.csv

  2. tosfos commented on Nov 2, 2026

    @tosfos
    Contributor

    Should this be assigned to me?

  3. lwaldron commented on Nov 2, 2026

    @lwaldron
    MemberAuthor

    yes, thanks @tosfos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions