Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/odk-workflows/RepositoryFileStructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ Components, in contrast to imports, are considered full members of the ontology.
2. A part of the ontology is managed in ROBOT templates
3. The expressivity of the component is higher than the format of the edit file. For example, people still choose to manage their ontology in OBO format (they should not) missing out on a lot of owl features. They may choose to manage logic that is beyond OBO in a specific OWL component.

These are the components in IDPO

| Filename | URL |
| -------- | --- |
| idpo-mappings.owl | None |
2 changes: 2 additions & 0 deletions src/mappings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Directory for managing SSSOM mappings files

26 changes: 26 additions & 0 deletions src/mappings/idpo-mappings.sssom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# curie_map:
# CHEBI: http://purl.obolibrary.org/obo/CHEBI_
# CHMO: http://purl.obolibrary.org/obo/CHMO_
# GO: http://purl.obolibrary.org/obo/GO_
# IDPO: http://purl.obolibrary.org/obo/IDPO_
# MI: http://purl.obolibrary.org/obo/MI_
# PATO: http://purl.obolibrary.org/obo/PATO_
# SBO: http://purl.obolibrary.org/obo/SBO_
# TXPO: http://purl.obolibrary.org/obo/TXPO_
# semapv: https://w3id.org/semapv/vocab/
# skos: http://www.w3.org/2004/02/skos/core#
# mapping_set_id: http://purl.obolibrary.org/obo/idpo/mappings/idpo-mappings.sssom.tsv
# mapping_set_title: IDPO mappings to related terms in other ontologies
# mapping_set_description: Manually curated SKOS mappings from IDPO classes to related terms in other OBO ontologies, reviewed during the IDPO OBO Foundry review.
# license: https://creativecommons.org/licenses/by/4.0/
# mapping_date: 2026-11-03
subject_id subject_label predicate_id object_id object_label mapping_justification comment
IDPO:0000002 disorder state skos:broadMatch PATO:0001412 unstructured semapv:ManualMappingCuration Genuine specialization. PATO's bearer is unrestricted ('inhering in a bearer') while the IDPO quality inheres only in a protein region. The differentiae also differ: PATO says 'lacking distinct structure', whereas an IDR does have structure (transient secondary structure, defined conformational ensembles) and lacks specifically a stable fixed tertiary arrangement. Not equivalent, so not a reuse case.
IDPO:0000010 protein structural transition skos:closeMatch SBO:0000181 conformational transition semapv:ManualMappingCuration Overlapping but neither subsumes the other. SBO's genus is 'biochemical reaction' and its bearer is any reactant; IDPO's genus is BFO process and its bearer is a protein region moving between defined structural states. IDPO is broader on the process axis and narrower on the bearer axis, so closeMatch rather than broad/narrow.
IDPO:0000027 gelation skos:broadMatch CHMO:0001646 gelation semapv:ManualMappingCuration CHMO describes the general formation of a gel; IDPO's term is that process restricted to a liquid-like biomolecular condensate crosslinking into a gel-like state, i.e. a specialization.
IDPO:0000056 intramolecular interaction function skos:relatedMatch MI:1126 self interaction semapv:ManualMappingCuration Category difference confirmed by the definitions: MI:1126 denotes the intra-molecular interaction itself, while IDPO:0000056 is a BFO function borne by a protein region. The MI term names the process in which the IDPO function is realized, so the relation runs through 'realized in' rather than subsumption.
IDPO:0000060 intramolecular assembly function skos:relatedMatch CHMO:0001305 self-assembly semapv:ManualMappingCuration Two differences. CHMO:0001305 is a process, IDPO:0000060 is a BFO function borne by a protein region. CHMO also describes association of separate components into higher-order structures (intermolecular), whereas the IDPO term covers association between regions of the same protein (intramolecular).
IDPO:0000108 regulator function in condensate assembly skos:relatedMatch MI:2274 regulator semapv:ManualMappingCuration MI:2274 is defined as an entity ('Entity whose activity exerts an effect...'), whereas IDPO:0000108 is a BFO function borne by such an entity. MI's term is also unrestricted as to target, while the IDPO function is specific to liquid-liquid phase separation and excludes bearers incorporated into the condensate.
IDPO:0000066 protein aggregate formation skos:broadMatch TXPO:0002661 protein aggregation semapv:ManualMappingCuration TXPO:0002661 is generic ('the aggregation, arrangement and bonding together of molecules'), with no commitment to solubility, reversibility, or native state. IDPO:0000066 adds insoluble intermolecular interactions, irreversibility, a non-native protein state and an aberrant LLPS origin. A clear specialization.
IDPO:0000084 biomolecular condensate formation skos:narrowMatch GO:0140694 membraneless organelle assembly semapv:ManualMappingCuration GO's definition requires the product to be a non-membrane-bounded organelle, which confines it to a cellular context. IDPO:0000084 also covers in vitro condensate formation, which accounts for the majority of DisProt curation. GO's term is therefore the narrower of the two.
IDPO:0000096 intrinsically disordered protein skos:closeMatch CHEBI:194424 unfolded protein semapv:ManualMappingCuration Despite the label, ChEBI does not define this as a denatured state: it describes a protein lacking well-defined tertiary structure, flexible, non-compact, with little or no ordered secondary structure under physiological conditions, which is close to equivalent to the IDPO definition. IDPO retains its own term because the community label 'unfolded' conventionally denotes a denatured state of a protein that has a native fold, and because IDPO:0000096 carries a logical definition ('has quality' some 'disorder state') that ChEBI does not.
85 changes: 81 additions & 4 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# More information: https://github.com/INCATools/ontology-development-kit/

# Fingerprint of the configuration file when this Makefile was last generated
CONFIG_HASH= 7b81db2dfb9d6b1b60d5081ec9ff3101008a1dd872d7573a3fac3c2821f98c57
CONFIG_HASH= 1b806a659c286dee79b62b2f769917e1825fb0f5f1ff35d288b5f02cdc67d284


# ----------------------------------------
Expand Down Expand Up @@ -58,10 +58,16 @@ OBODATE ?= $(shell date +'%d:%m:%Y %H:%M')
VERSION= $(TODAY)
ANNOTATE_ONTOLOGY_VERSION = annotate -V $(ONTBASE)/releases/$(VERSION)/$@ --annotation owl:versionInfo $(VERSION)
ANNOTATE_CONVERT_FILE = annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) convert -f ofn --output $@.tmp.owl && mv $@.tmp.owl $@
OTHER_SRC =
OTHER_SRC = $(COMPONENTSDIR)/idpo-mappings.owl
ONTOLOGYTERMS = $(TMPDIR)/ontologyterms.txt
EDIT_PREPROCESSED = $(TMPDIR)/$(ONT)-preprocess.owl

MAPPINGDIR= ../mappings
MAPPING_TESTER= sssom validate
SSSOMPY= sssom
MAPPINGS= idpo-mappings
MAPPING_RELEASE_FILES= $(foreach n,$(MAPPINGS), $(MAPPINGDIR)/$(n).sssom.tsv)


FORMATS = $(sort owl obo json owl)
FORMATS_INCL_TSV = $(sort $(FORMATS) tsv)
Expand Down Expand Up @@ -216,8 +222,9 @@ all_subsets: $(SUBSET_FILES)
# ----------------------------------------


MAPPINGS =
MAPPINGS = idpo-mappings

RELEASED_MAPPINGS = idpo-mappings

MAPPING_FILES = $(foreach p, $(MAPPINGS), $(MAPPINGDIR)/$(p).sssom.tsv)
RELEASED_MAPPING_FILES = $(foreach p, $(RELEASED_MAPPINGS), $(MAPPINGDIR)/$(p).sssom.tsv)
Expand Down Expand Up @@ -341,9 +348,12 @@ prepare_release_fast:
.PHONY: copy_release_files
copy_release_files:
rsync -R $(RELEASE_ASSETS) $(RELEASEDIR)
mkdir -p $(RELEASEDIR)/mappings
cp -rf $(RELEASED_MAPPING_FILES) $(RELEASEDIR)/mappings

# All released assets, in their final location within the release
RELEASE_ASSETS_AFTER_RELEASE=$(foreach n,$(RELEASE_ASSETS), $(RELEASEDIR)/$(n))
RELEASE_ASSETS_AFTER_RELEASE=$(foreach n,$(RELEASE_ASSETS), $(RELEASEDIR)/$(n)) \
$(foreach n,$(RELEASED_MAPPINGS), $(RELEASEDIR)/mappings/$(n).sssom.tsv)

.PHONY: show_release_assets
show_release_assets:
Expand Down Expand Up @@ -451,6 +461,52 @@ no-mirror-refresh-%:
$(MAKE) --assume-new=$(SRC) --assume-new=$(IMPORTDIR)/$*_terms.txt \
IMP=true IMP_LARGE=true MIR=false PAT=false $(IMPORTDIR)/$*_import.owl

# ----------------------------------------
# Components
# ----------------------------------------
# Some ontologies contain external and internal components. A component is included in the ontology in its entirety.

ifeq ($(COMP),true)
.PHONY: all_components
all_components: $(OTHER_SRC)

.PHONY: recreate-components
recreate-components:
$(MAKE) --assume-new=$(TMPDIR)/stamp-component-idpo-mappings.owl \
COMP=true IMP=false MIR=true PAT=true all_components

.PHONY: no-mirror-recreate-components
no-mirror-recreate-components:
$(MAKE) --assume-new=$(TMPDIR)/stamp-component-idpo-mappings.owl \
COMP=true IMP=false MIR=false PAT=true all_components

.PHONY: recreate-%
recreate-%:
$(MAKE) --assume-new=$(TMPDIR)/stamp-component-$*.owl \
COMP=true IMP=false MIR=true PAT=true $(COMPONENTSDIR)/$*.owl

.PHONY: no-mirror-recreate-%
no-mirror-recreate-%:
$(MAKE) --assume-new=$(TMPDIR)/stamp-component-$*.owl \
COMP=true IMP=false MIR=false PAT=true $(COMPONENTSDIR)/$*.owl

$(COMPONENTSDIR)/%.owl: $(TMPDIR)/stamp-component-%.owl | $(COMPONENTSDIR)
test -f $@ || touch $@
.PRECIOUS: $(COMPONENTSDIR)/%.owl

$(TMPDIR)/stamp-component-%.owl: | $(TMPDIR)
touch $@
.PRECIOUS: $(TMPDIR)/stamp-component-%.owl

$(COMPONENTSDIR)/idpo-mappings.owl: $(MAPPINGDIR)/idpo-mappings.sssom.tsv $(TMPDIR)/stamp-component-idpo-mappings.owl | all_robot_plugins
$(ROBOT) --add-prefix 'sssom: https://w3id.org/sssom/' \
--add-prefix 'semapv: http://w3id.org/semapv/vocab/' \
sssom:inject --sssom $(MAPPINGDIR)/idpo-mappings.sssom.tsv \
--create --direct \
$(ANNOTATE_CONVERT_FILE)
.PRECIOUS: $(COMPONENTSDIR)/idpo-mappings.owl

endif # COMP=true
# ----------------------------------------
# Mirroring upstream ontologies
# ----------------------------------------
Expand Down Expand Up @@ -568,6 +624,27 @@ ifneq ($(SPARQL_EXPORTS_ARGS),)
$(ROBOT) query -f tsv --use-graphs true -i $< $(SPARQL_EXPORTS_ARGS)
endif

# ----------------------------------------
# SSSOM Mapping Files
# ----------------------------------------

validate-sssom-%:
tsvalid $(MAPPINGDIR)/$*.sssom.tsv --comment "#"
sssom validate $(MAPPINGDIR)/$*.sssom.tsv

validate_mappings:
$(MAKE_FAST) $(foreach n,$(MAPPINGS),validate-sssom-$(n))

normalize-sssom-%:
sssom-cli --output $(MAPPINGDIR)/$*.sssom.tsv $(MAPPINGDIR)/$*.sssom.tsv

normalize_mappings:
$(MAKE_FAST) $(foreach n,$(MAPPINGS),normalize-sssom-$(n))

# This mappingset is manually curated, so we only check that the file actually exists.
$(MAPPINGDIR)/idpo-mappings.sssom.tsv:
test -f $@

# ----------------------------------------
# Release artefacts: export formats
# ----------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/ontology/catalog-v001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<group id="odk-managed-catalog" prefer="public">
<uri name="http://purl.obolibrary.org/obo/idpo/imports/merged_import.owl" uri="imports/merged_import.owl" />
<uri name="http://purl.obolibrary.org/obo/idpo/components/idpo-mappings.owl" uri="components/idpo-mappings.owl" />
</group>
</catalog>
41 changes: 41 additions & 0 deletions src/ontology/components/idpo-mappings.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Prefix(:=<http://purl.obolibrary.org/obo/idpo/components/idpo-mappings.owl#>)
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Prefix(xml:=<http://www.w3.org/XML/1998/namespace>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Prefix(sssom:=<https://w3id.org/sssom/>)
Prefix(semapv:=<http://w3id.org/semapv/vocab/>)


Ontology(<http://purl.obolibrary.org/obo/idpo/components/idpo-mappings.owl>
<http://purl.obolibrary.org/obo/idpo/releases/2026-11-03/components/idpo-mappings.owl>
Annotation(<http://purl.org/dc/terms/description> "Manually curated SKOS mappings from IDPO classes to related terms in other OBO ontologies, reviewed during the IDPO OBO Foundry review.")
Annotation(<http://purl.org/dc/terms/license> "https://creativecommons.org/licenses/by/4.0/"^^xsd:anyURI)
Annotation(<http://purl.org/dc/terms/title> "IDPO mappings to related terms in other ontologies")
Annotation(owl:versionInfo "2026-11-03")

Declaration(AnnotationProperty(<http://purl.org/dc/terms/created>))
Declaration(AnnotationProperty(<http://purl.org/dc/terms/description>))
Declaration(AnnotationProperty(<http://purl.org/dc/terms/license>))
Declaration(AnnotationProperty(<http://purl.org/dc/terms/title>))
Declaration(AnnotationProperty(<http://www.w3.org/2004/02/skos/core#broadMatch>))
Declaration(AnnotationProperty(<http://www.w3.org/2004/02/skos/core#closeMatch>))
Declaration(AnnotationProperty(<http://www.w3.org/2004/02/skos/core#narrowMatch>))
Declaration(AnnotationProperty(<http://www.w3.org/2004/02/skos/core#relatedMatch>))
Declaration(AnnotationProperty(sssom:mapping_justification))
Declaration(AnnotationProperty(sssom:object_label))
Declaration(AnnotationProperty(sssom:subject_label))
Declaration(Datatype(xsd:date))


AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "Genuine specialization. PATO's bearer is unrestricted ('inhering in a bearer') while the IDPO quality inheres only in a protein region. The differentiae also differ: PATO says 'lacking distinct structure', whereas an IDR does have structure (transient secondary structure, defined conformational ensembles) and lacks specifically a stable fixed tertiary arrangement. Not equivalent, so not a reuse case.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "unstructured") Annotation(sssom:subject_label "disorder state") <http://www.w3.org/2004/02/skos/core#broadMatch> <http://purl.obolibrary.org/obo/IDPO_0000002> <http://purl.obolibrary.org/obo/PATO_0001412>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "Overlapping but neither subsumes the other. SBO's genus is 'biochemical reaction' and its bearer is any reactant; IDPO's genus is BFO process and its bearer is a protein region moving between defined structural states. IDPO is broader on the process axis and narrower on the bearer axis, so closeMatch rather than broad/narrow.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "conformational transition") Annotation(sssom:subject_label "protein structural transition") <http://www.w3.org/2004/02/skos/core#closeMatch> <http://purl.obolibrary.org/obo/IDPO_0000010> <http://purl.obolibrary.org/obo/SBO_0000181>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "CHMO describes the general formation of a gel; IDPO's term is that process restricted to a liquid-like biomolecular condensate crosslinking into a gel-like state, i.e. a specialization.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "gelation") Annotation(sssom:subject_label "gelation") <http://www.w3.org/2004/02/skos/core#broadMatch> <http://purl.obolibrary.org/obo/IDPO_0000027> <http://purl.obolibrary.org/obo/CHMO_0001646>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "Category difference confirmed by the definitions: MI:1126 denotes the intra-molecular interaction itself, while IDPO:0000056 is a BFO function borne by a protein region. The MI term names the process in which the IDPO function is realized, so the relation runs through 'realized in' rather than subsumption.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "self interaction") Annotation(sssom:subject_label "intramolecular interaction function") <http://www.w3.org/2004/02/skos/core#relatedMatch> <http://purl.obolibrary.org/obo/IDPO_0000056> <http://purl.obolibrary.org/obo/MI_1126>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "Two differences. CHMO:0001305 is a process, IDPO:0000060 is a BFO function borne by a protein region. CHMO also describes association of separate components into higher-order structures (intermolecular), whereas the IDPO term covers association between regions of the same protein (intramolecular).") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "self-assembly") Annotation(sssom:subject_label "intramolecular assembly function") <http://www.w3.org/2004/02/skos/core#relatedMatch> <http://purl.obolibrary.org/obo/IDPO_0000060> <http://purl.obolibrary.org/obo/CHMO_0001305>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "TXPO:0002661 is generic ('the aggregation, arrangement and bonding together of molecules'), with no commitment to solubility, reversibility, or native state. IDPO:0000066 adds insoluble intermolecular interactions, irreversibility, a non-native protein state and an aberrant LLPS origin. A clear specialization.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "protein aggregation") Annotation(sssom:subject_label "protein aggregate formation") <http://www.w3.org/2004/02/skos/core#broadMatch> <http://purl.obolibrary.org/obo/IDPO_0000066> <http://purl.obolibrary.org/obo/TXPO_0002661>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "GO's definition requires the product to be a non-membrane-bounded organelle, which confines it to a cellular context. IDPO:0000084 also covers in vitro condensate formation, which accounts for the majority of DisProt curation. GO's term is therefore the narrower of the two.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "membraneless organelle assembly") Annotation(sssom:subject_label "biomolecular condensate formation") <http://www.w3.org/2004/02/skos/core#narrowMatch> <http://purl.obolibrary.org/obo/IDPO_0000084> <http://purl.obolibrary.org/obo/GO_0140694>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "Despite the label, ChEBI does not define this as a denatured state: it describes a protein lacking well-defined tertiary structure, flexible, non-compact, with little or no ordered secondary structure under physiological conditions, which is close to equivalent to the IDPO definition. IDPO retains its own term because the community label 'unfolded' conventionally denotes a denatured state of a protein that has a native fold, and because IDPO:0000096 carries a logical definition ('has quality' some 'disorder state') that ChEBI does not.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "unfolded protein") Annotation(sssom:subject_label "intrinsically disordered protein") <http://www.w3.org/2004/02/skos/core#closeMatch> <http://purl.obolibrary.org/obo/IDPO_0000096> <http://purl.obolibrary.org/obo/CHEBI_194424>)
AnnotationAssertion(Annotation(<http://purl.org/dc/terms/created> "2026-11-03"^^xsd:date) Annotation(rdfs:comment "MI:2274 is defined as an entity ('Entity whose activity exerts an effect...'), whereas IDPO:0000108 is a BFO function borne by such an entity. MI's term is also unrestricted as to target, while the IDPO function is specific to liquid-liquid phase separation and excludes bearers incorporated into the condensate.") Annotation(sssom:mapping_justification <https://w3id.org/semapv/vocab/ManualMappingCuration>) Annotation(sssom:object_label "regulator") Annotation(sssom:subject_label "regulator function in condensate assembly") <http://www.w3.org/2004/02/skos/core#relatedMatch> <http://purl.obolibrary.org/obo/IDPO_0000108> <http://purl.obolibrary.org/obo/MI_2274>)
)
Loading
Loading