Repository navigation
Description
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 dyslipidemiaandPolycystic 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:
- 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. KeepConditionas the BugSigDB display label. This makes the export match the ontologies exactly without renaming anything on the site. - Site: extend
updateEFO.pyto 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. - 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
lwaldron commentedon Nov 2, 2026
Here is the map behind the table above
condition_efo_label_map.csv
tosfos commentedon Nov 2, 2026
Should this be assigned to me?
lwaldron commentedon Nov 2, 2026
yes, thanks @tosfos