Skip to content

Commit

Permalink
Merge pull request #181 from Radiobiology-Informatics-Consortium/new_…
Browse files Browse the repository at this point in the history
…changes

New changes
  • Loading branch information
DanBerrios authored Sep 14, 2023
2 parents d42e099 + f678fcd commit 2d40fc2
Show file tree
Hide file tree
Showing 16 changed files with 64,127 additions and 6,721 deletions.
151 changes: 130 additions & 21 deletions rbo-base.owl

Large diffs are not rendered by default.

25,724 changes: 22,288 additions & 3,436 deletions rbo-full.owl

Large diffs are not rendered by default.

23,532 changes: 21,192 additions & 2,340 deletions rbo.owl

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/ontology/catalog-v001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<uri name="http://purl.obolibrary.org/obo/rbo/imports/chebi_import.owl" uri="imports/chebi_import.owl"/>
<uri name="http://purl.obolibrary.org/obo/rbo/imports/chebi_import.obo" uri="imports/chebi_import.obo"/>

<uri name="http://purl.obolibrary.org/obo/rbo/imports/chebi_top_import.owl" uri="imports/chebi_top_import.owl"/>
<uri name="http://purl.obolibrary.org/obo/rbo/imports/chebi_top_import.obo" uri="imports/chebi_top_import.obo"/>

<uri name="http://purl.obolibrary.org/obo/rbo/imports/go_import.owl" uri="imports/go_import.owl"/>
<uri name="http://purl.obolibrary.org/obo/rbo/imports/go_import.obo" uri="imports/go_import.obo"/>

Expand Down
125 changes: 105 additions & 20 deletions src/ontology/components/all_templates.owl

Large diffs are not rendered by default.

908 changes: 86 additions & 822 deletions src/ontology/imports/chebi_import.owl

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ontology/imports/chebi_terms.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CHEBI:24432
CHEBI:33250
CHEBI:24432 # exact
obo:CHEBI_30216 # alpha particle
CHEBI:30222 # neutron
CHEBI:24636 # proton
Expand All @@ -8,3 +7,4 @@ CHEBI:36348 # pi meson
CHEBI:36347 # nuclear particle
CHEBI:36080
CHEBI:33695
CHEBI:33314
2 changes: 2 additions & 0 deletions src/ontology/imports/chebi_terms_top.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHEBI:33250
CHEBI:22313
20,125 changes: 20,125 additions & 0 deletions src/ontology/imports/chebi_top_import.owl

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ontology/imports/obi_import.owl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
xmlns:terms="http://purl.org/dc/terms/"
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/rbo/imports/obi_import.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/rbo/releases/2022-10-05/imports/obi_import.owl"/>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/rbo/releases/2023-07-06/imports/obi_import.owl"/>
<dc:source rdf:resource="http://purl.obolibrary.org/obo/obi/2022-07-11/obi.owl"/>
<owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string">2022-10-05</owl:versionInfo>
<owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string">2023-07-06</owl:versionInfo>
</owl:Ontology>


Expand Down
2 changes: 1 addition & 1 deletion src/ontology/imports/obi_terms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ obo:OBI_0000272 # protocol
obo:OBI_0002983 # altitude measurement datum
obo:OBI_0001138 # x-ray machine
http://purl.obolibrary.org/obo/OBI_0302889 # irradiation

http://purl.obolibrary.org/obo/OBI_0000299 # has specified output
32 changes: 25 additions & 7 deletions src/ontology/rbo-edit.owl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Import(<http://purl.obolibrary.org/obo/doid/subsets/DO_RAD_slim.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/components/all_templates.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/imports/bfo_import.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/imports/chebi_import.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/imports/chebi_top_import.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/imports/chmo_import.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/imports/cob_import.owl>)
Import(<http://purl.obolibrary.org/obo/rbo/imports/efo_import.owl>)
Expand Down Expand Up @@ -79,6 +80,10 @@ SubClassOf(obo:BFO_0000023 obo:BFO_0000017)

SubClassOf(obo:CHEBI_33252 ObjectSomeValuesFrom(obo:RO_0002493 obo:RBO_00002118))

# Class: obo:CHEBI_36080 (protein)

SubClassOf(obo:CHEBI_36080 obo:CHEBI_33695)

# Class: obo:CHEBI_50906 (role)

SubClassOf(obo:CHEBI_50906 obo:BFO_0000017)
Expand All @@ -87,6 +92,18 @@ SubClassOf(obo:CHEBI_50906 obo:BFO_0000017)

SubClassOf(obo:CL_0000000 obo:BFO_0000040)

# Class: obo:CL_0017502 (acidophilic cytoplasm)

SubClassOf(obo:CL_0017502 obo:GO_0005737)

# Class: obo:CL_0017503 (basophilic cytoplasm)

SubClassOf(obo:CL_0017503 obo:GO_0005737)

# Class: obo:CL_0017504 (polychromatophilic cytoplasm)

SubClassOf(obo:CL_0017504 obo:GO_0005737)

# Class: obo:DOID_4 (disease)

SubClassOf(obo:DOID_4 obo:BFO_0000016)
Expand All @@ -109,7 +126,6 @@ SubClassOf(obo:PO_0009012 obo:BFO_0000015)

# Class: obo:RBO_00002118 (Radioactive decay)

# change to the 115 radiation new thing concept
SubClassOf(obo:RBO_00002118 ObjectSomeValuesFrom(obo:OBI_0000299 obo:RBO_00015000))
SubClassOf(obo:RBO_00002118 ObjectMinCardinality(1 obo:OBI_0000293 obo:CHEBI_33252))

Expand All @@ -121,16 +137,18 @@ SubClassOf(obo:RBO_00002122 ObjectSomeValuesFrom(obo:RO_0002234 obo:RBO_010016))

SubClassOf(obo:RBO_00005068 ObjectAllValuesFrom(obo:RO_0002404 obo:ENVO_01001023))

# Class: obo:UBERON_0000000 (processual entity)
# Class: obo:RBO_00015022 (track formation)

SubClassOf(obo:UBERON_0000000 obo:BFO_0000003)
EquivalentClasses(obo:RBO_00015022 ObjectSomeValuesFrom(obo:OBI_0000299 obo:RBO_00015023))
EquivalentClasses(obo:RBO_00015009 ObjectSomeValuesFrom(obo:RO_0000086 obo:RBO_00015011))

SubClassOf(obo:CL_0017502 obo:GO_0005737)
SubClassOf(obo:CL_0017503 obo:GO_0005737)
SubClassOf(obo:CL_0017504 obo:GO_0005737)
# Class: obo:SO_0000704 (gene)

SubClassOf(obo:SO_0000704 obo:BFO_0000040)
SubClassOf(obo:CHEBI_36080 obo:CHEBI_33695)

# Class: obo:UBERON_0000000 (processual entity)

SubClassOf(obo:UBERON_0000000 obo:BFO_0000003)


AnnotationAssertion(oboInOwl:hasExactSynonym obo:UO_0000160 "micromole per square meter per second")
Expand Down
6 changes: 5 additions & 1 deletion src/ontology/rbo.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
##################### CUSTOM IMPORTS#########

imports/chebi_import.owl: mirror/chebi.owl imports/chebi_terms_combined.txt
if [ $(IMP) = true ]; then $(ROBOT) extract -i $< -T imports/chebi_terms_combined.txt --force true --method BOT \
if [ $(IMP) = true ]; then $(ROBOT) extract -i $< -T imports/chebi_terms_combined.txt --force true --method STAR \
annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --output $@.tmp.owl && mv $@.tmp.owl $@; fi

imports/chebi_top_import.owl: mirror/chebi.owl
if [ $(IMP) = true ]; then $(ROBOT) extract -i $< --branch-from-terms imports/chebi_terms_top.txt --force true --method MIREOT \
annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --output $@.tmp.owl && mv $@.tmp.owl $@; fi

imports/chmo_import.owl: mirror/chmo.owl imports/chmo_terms_combined.txt
Expand Down
Loading

0 comments on commit 2d40fc2

Please sign in to comment.