Skip to content
Open
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
32 changes: 30 additions & 2 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= 5bf26c23bfcb879278b686600e5495f3e35c9340d447f3b52eb8caabf7d6ae2b
CONFIG_HASH= 22422850bb9857253c7b34dbbf3a4d4808243a9669131b0ee975de0c69471f84


# ----------------------------------------
Expand Down Expand Up @@ -188,7 +188,7 @@ all_main: $(MAIN_FILES)
# ----------------------------------------


IMPORTS = omo pato cl envo go other orcidio uberon obi cob
IMPORTS = omo pato cl envo go other orcidio uberon obi cob so

IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS))
IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl)
Expand Down Expand Up @@ -569,6 +569,26 @@ $(IMPORTDIR)/cob_import.owl: $(MIRRORDIR)/cob.owl
@echo " This rule needs to be overwritten in ro.Makefile!"
@false

## Module for ontology: so (minimal)
$(IMPORTDIR)/so_import.owl: $(MIRRORDIR)/so.owl $(IMPORTDIR)/so_terms.txt $(IMPORTSEED) | all_robot_plugins
$(ROBOT) annotate --input $< --remove-annotations \
odk:normalize --add-source true \
extract --term-file $(IMPORTDIR)/so_terms.txt $(T_IMPORTSEED) \
--copy-ontology-annotations true --force true --method BOT \
remove --axioms external --preserve-structure false --trim false \
--base-iri http://purl.obolibrary.org/obo/SO \
odk:normalize --base-iri http://purl.obolibrary.org/obo --subset-decls true \
--synonym-decls true \
repair --merge-axiom-annotations true \
remove $(foreach p, $(ANNOTATION_PROPERTIES), --term $(p)) \
--term rdfs:label \
--term IAO:0000115 \
--term OMO:0002000 \
--term-file $(IMPORTDIR)/so_terms.txt $(T_IMPORTSEED) \
--select complement \
--select "classes individual annotation-properties" \
$(ANNOTATE_CONVERT_FILE)

endif # IMP=true

.PHONY: refresh-imports
Expand Down Expand Up @@ -729,6 +749,14 @@ mirror-cob: | $(TMPDIR)
$(ROBOT) convert -i $(TMPDIR)/cob-download.owl -o $(TMPDIR)/[email protected]


## ONTOLOGY: so
.PHONY: mirror-so
.PRECIOUS: $(MIRRORDIR)/so.owl
mirror-so: | $(TMPDIR)
curl -L $(OBOBASE)/so.owl --create-dirs -o $(TMPDIR)/so-download.owl --retry 4 --max-time 200 && \
$(ROBOT) convert -i $(TMPDIR)/so-download.owl -o $(TMPDIR)/[email protected]


$(MIRRORDIR)/%.owl: mirror-% | $(MIRRORDIR)
if [ -f $(TMPDIR)/mirror-$*.owl ]; then if cmp -s $(TMPDIR)/mirror-$*.owl $@ ; then echo "Mirror identical, ignoring."; else echo "Mirrors different, updating." &&\
cp $(TMPDIR)/mirror-$*.owl $@; fi; fi
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 @@ -11,6 +11,7 @@
<uri name="http://purl.obolibrary.org/obo/ro/imports/uberon_import.owl" uri="imports/uberon_import.owl" />
<uri name="http://purl.obolibrary.org/obo/ro/imports/obi_import.owl" uri="imports/obi_import.owl" />
<uri name="http://purl.obolibrary.org/obo/ro/imports/cob_import.owl" uri="imports/cob_import.owl" />
<uri name="http://purl.obolibrary.org/obo/ro/imports/so_import.owl" uri="imports/so_import.owl" />
<uri name="http://purl.obolibrary.org/obo/ro/components/core.owl" uri="components/core.owl" />
<uri name="http://purl.obolibrary.org/obo/ro/components/el-constraints.owl" uri="components/el-constraints.owl" />
<uri name="http://purl.obolibrary.org/obo/ro/components/generated-axioms.owl" uri="components/generated-axioms.owl" />
Expand Down
34 changes: 34 additions & 0 deletions src/ontology/imports/so_import.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Prefix(:=<http://purl.obolibrary.org/obo/ro/imports/so_import.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#>)


Ontology(<http://purl.obolibrary.org/obo/ro/imports/so_import.owl>
<http://purl.obolibrary.org/obo/ro/releases/2025-11-17/imports/so_import.owl>
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/so/2024-11-18/so.owl>)
Annotation(owl:versionInfo "2025-11-17")

Declaration(Class(<http://purl.obolibrary.org/obo/SO_0001260>))
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/IAO_0000115>))
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/source>))
Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#hasDbXref>))
Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym>))
Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#id>))


############################
# Classes
############################

# Class: <http://purl.obolibrary.org/obo/SO_0001260> (sequence_collection)

AnnotationAssertion(Annotation(<http://www.geneontology.org/formats/oboInOwl#hasDbXref> "SO:ke") <http://purl.obolibrary.org/obo/IAO_0000115> <http://purl.obolibrary.org/obo/SO_0001260> "A collection of discontinuous sequences.")
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/SO_0001260> "sequence collection")
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#id> <http://purl.obolibrary.org/obo/SO_0001260> "SO:0001260")
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/SO_0001260> "sequence_collection")


)
1 change: 1 addition & 0 deletions src/ontology/imports/so_terms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SO:0001260
22 changes: 12 additions & 10 deletions src/ontology/ro-edit.owl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Import(<http://purl.obolibrary.org/obo/ro/imports/omo_import.owl>)
Import(<http://purl.obolibrary.org/obo/ro/imports/orcidio_import.owl>)
Import(<http://purl.obolibrary.org/obo/ro/imports/other_import.owl>)
Import(<http://purl.obolibrary.org/obo/ro/imports/pato_import.owl>)
Import(<http://purl.obolibrary.org/obo/ro/imports/so_import.owl>)
Import(<http://purl.obolibrary.org/obo/ro/imports/uberon_import.owl>)
Annotation(terms:description "The OBO Relations Ontology (RO) is a collection of OWL relations (ObjectProperties) intended for use across a wide variety of biological ontologies."@en)
Annotation(terms:license <https://creativecommons.org/publicdomain/zero/1.0/>)
Expand Down Expand Up @@ -591,8 +592,8 @@ Declaration(ObjectProperty(obo:RO_0017006))
Declaration(ObjectProperty(obo:RO_0017007))
Declaration(ObjectProperty(obo:RO_0017008))
Declaration(ObjectProperty(obo:RO_0017009))
Declaration(ObjectProperty(obo:RO_0017011))
Declaration(ObjectProperty(obo:RO_0017010))
Declaration(ObjectProperty(obo:RO_0017011))
Declaration(ObjectProperty(obo:RO_0017502))
Declaration(ObjectProperty(obo:RO_0018001))
Declaration(ObjectProperty(obo:RO_0018002))
Expand Down Expand Up @@ -3915,8 +3916,8 @@ SubObjectPropertyOf(obo:RO_0002433 obo:RO_0002131)
# Object Property: obo:RO_0002434 (interacts with)

AnnotationAssertion(obo:IAO_0000115 obo:RO_0002434 "A relationship that holds between two entities in which the processes executed by the two entities are causally connected.")
AnnotationAssertion(obo:IAO_0000116 obo:RO_0002434 "Considering relabeling as 'pairwise interacts with'"^^xsd:anyURI)
AnnotationAssertion(obo:IAO_0000116 obo:RO_0002434 "This relation and all sub-relations can be applied to either (1) pairs of entities that are interacting at any moment of time (2) populations or species of entity whose members have the disposition to interact (3) classes whose members have the disposition to interact.")
AnnotationAssertion(obo:IAO_0000116 obo:RO_0002434 "Considering relabeling as 'pairwise interacts with'"^^xsd:anyURI)
AnnotationAssertion(obo:IAO_0000117 obo:RO_0002434 <https://orcid.org/0000-0002-6601-2165>)
AnnotationAssertion(obo:IAO_0000232 obo:RO_0002434 "Note that this relationship type, and sub-relationship types may be redundant with process terms from other ontologies. For example, the symbiotic relationship hierarchy parallels GO. The relations are provided as a convenient shortcut. Consider using the more expressive processual form to capture your data. In the future, these relations will be linked to their cognate processes through rules.")
AnnotationAssertion(oboInOwl:hasExactSynonym obo:RO_0002434 "in pairwise interaction with")
Expand Down Expand Up @@ -6547,6 +6548,7 @@ AnnotationAssertion(oboInOwl:hasExactSynonym obo:RO_0015004 "has marker gene com
AnnotationAssertion(oboInOwl:hasExactSynonym obo:RO_0015004 "has marker signature set")
AnnotationAssertion(rdfs:label obo:RO_0015004 "has characterizing marker set")
ObjectPropertyDomain(obo:RO_0015004 obo:CL_0000000)
ObjectPropertyRange(obo:RO_0015004 obo:SO_0001260)

# Object Property: obo:RO_0015006 (different in magnitude relative to)

Expand Down Expand Up @@ -6736,6 +6738,12 @@ AnnotationAssertion(oboInOwl:creation_date obo:RO_0017009 "2023-03-29T17:06:06Z"
AnnotationAssertion(oboInOwl:inSubset obo:RO_0017009 obo:RO_0002259)
AnnotationAssertion(rdfs:label obo:RO_0017009 "is owned by"@en)

# Object Property: obo:RO_0017010 (specified by information)

AnnotationAssertion(obo:IAO_0000115 obo:RO_0017010 "Inverse of information specifies.")
AnnotationAssertion(terms:contributor obo:RO_0017010 <https://orcid.org/0000-0001-9625-1899>)
AnnotationAssertion(terms:created obo:RO_0017010 "2025-06-16T17:13:17Z"^^xsd:dateTime)
AnnotationAssertion(rdfs:label obo:RO_0017010 "specified by information"@en)

# Object Property: obo:RO_0017011 (has marker)

Expand All @@ -6744,12 +6752,6 @@ AnnotationAssertion(terms:contributor obo:RO_0017011 <https://orcid.org/0000-000
AnnotationAssertion(terms:created obo:RO_0017011 "2025-07-14T20:57:25Z"^^xsd:dateTime)
AnnotationAssertion(rdfs:label obo:RO_0017011 "has marker"@en)
SubObjectPropertyOf(obo:RO_0017011 obo:RO_0002610)
# Object Property: obo:RO_0017010 (specified by information)

AnnotationAssertion(obo:IAO_0000115 obo:RO_0017010 "Inverse of information specifies.")
AnnotationAssertion(terms:contributor obo:RO_0017010 <https://orcid.org/0000-0001-9625-1899>)
AnnotationAssertion(terms:created obo:RO_0017010 "2025-06-16T17:13:17Z"^^xsd:dateTime)
AnnotationAssertion(rdfs:label obo:RO_0017010 "specified by information"@en)

# Object Property: obo:RO_0017502 (collected during)

Expand Down Expand Up @@ -7216,8 +7218,8 @@ SubObjectPropertyOf(obo:RO_0020336 obo:RO_0020334)

# Object Property: obo:RO_0020337 (has constituent monomer)

AnnotationAssertion(obo:IAO_0000112 obo:RO_0020337 "An amino acid chain has_constituent_monomer at least two amino acid residues.")
AnnotationAssertion(obo:IAO_0000112 obo:RO_0020337 "A polyubiquitin has_constituent_monomer some ubiquitin.")
AnnotationAssertion(obo:IAO_0000112 obo:RO_0020337 "An amino acid chain has_constituent_monomer at least two amino acid residues.")
AnnotationAssertion(obo:IAO_0000115 obo:RO_0020337 "A relation that holds between a polymer and its constituent monomers. P has_constituent_monomer 'm' if and only if P has_component multiple instances of 'm' and each instance of 'm' is covalently attached to another instance of 'm'."@en)
AnnotationAssertion(oboInOwl:created_by obo:RO_0020337 <https://orcid.org/0000-0001-5809-9523>)
AnnotationAssertion(rdfs:comment obo:RO_0020337 "Usage note: The constituent monomers need not be covalently attached in an end-to-end manner; that is, polymers with internal connections (e.g., polyubiquitin) can use this relation, as can circular polymers (e.g., plasmids) and multi-branched polymers (e.g., glycans). This relation, as non-transitive, allows the number of instances of 'm' to be indicated.")
Expand Down Expand Up @@ -7604,4 +7606,4 @@ AnnotationAssertion(oboInOwl:inSubset obo:RO_0002086 subsets:ro-eco)
AnnotationAssertion(oboInOwl:inSubset obo:RO_0002089 subsets:ro-eco)
AnnotationAssertion(oboInOwl:inSubset obo:RO_0002093 subsets:ro-eco)
AnnotationAssertion(Annotation(rdfs:comment "This is an experimental annotation") obo:IAO_0000589 rdfs:isDefinedBy "is defined by")
)
)
2 changes: 2 additions & 0 deletions src/ontology/ro-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ import_group:
module_type: filter
- id: cob
module_type: custom
- id: so
module_type: minimal
subset_group:
products:
- id: ro-interaction
Expand Down