obophenotype / uberon

An ontology of gross anatomy covering metazoa. Works in concert with https://github.com/obophenotype/cell-ontology
http://obophenotype.github.io/uberon/
Other
131 stars 29 forks source link

Switching mappings from cross-reference annotations to SSSOM #3004

Open gouttegd opened 1 year ago

gouttegd commented 1 year ago

Currently, mappings between Uberon (and CL) taxon-neutral terms and corresponding taxon-specific terms from foreign taxon-specific ontologies are maintained under the form of cross-references (formally oboInOwl:hasDbXref) annotations on the Uberon (and CL) terms, as in this example:

[Term]
id: UBERON:0000020
name: sense organ
[...]
xref: AEO:0000094
xref: BSA:0000121
xref: BTO:0000202
xref: CALOHA:TS-2043
xref: EHDAA2:0001824
xref: EHDAA:500
xref: EMAPA:35955
[...]

We (the tech support group) would like to switch to maintaining these mappings into an external file in the SSSOM TSV format. This would bring several benefits. Among other things, it would allow to:

One foreseeable downside is that the mappings would no longer be editable directly from within Protégé, and there is (at least now) no specialised editing tool to edit a SSSOM file. But the SSSOM TSV format has been expressly designed to be easily editable with a standard spreadsheet software or even a decent text editor, so it shouldn’t too much of a hassle.

If Uberon (and CL) editors agree with this change, the plan is to:

1) Extract all existing cross-references to foreign ontologies from the Uberon-edit file. 2) Generate an initial SSSOM TSV file from those references. 3) Delete the cross-references from the edit file. 4) Generate a small component from the SSSOM TSV file that will contain “old-style” cross-references, to be imported back into the -edit file.

Step 4) is intended both for backwards compatibility (in case some applications downstream of Uberon are dependent on those cross-references and are not ready to consume SSSOM files yet) and for the convenience of editors (it will make the mappings “visible” – though not editable – from within Protégé, so that editors can know which foreign term a given term is mapped to without having to look it up in the external SSSOM file).

gouttegd commented 1 year ago

Related issues:

gouttegd commented 1 year ago

Feedback from Uberon editors in 21/08/2023 call:

gouttegd commented 1 year ago

In order to both minimise the disruption for editors and to make sure the SSSOM-based bridge generation plumbing is working fine, I plan to do the transition in two phases.

Phase 1

In that phase, nothing changes for editors.

Once we are satisfied with the pipeline and the new SSSOM-derived bridge files, we can switch to phase 2.

Phase 2

github-actions[bot] commented 7 months ago

This issue has not seen any activity in the past 6 months; it will be closed automatically one year from now if no action is taken.

gouttegd commented 7 months ago

Phase 1 was completed with #3061.

Phase 2 is still planned, but as it is not merely a technical issue (it changes the way editors will add / remove / modify mappings), it requires more thoughts and preparation.

At the very least, we need to:

1. carefully define which SSSOM slots editors are expected to fill; 2. write detailed documentation on how to maintain mappings in SSSOM format (which is probably something that could or maybe should be done at the mappings-commons level, since it could benefit other ontologies beyond Uberon).

github-actions[bot] commented 1 month ago

This issue has not seen any activity in the past 6 months; it will be closed automatically one year from now if no action is taken.