Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New composite pipeline #3129

Merged
merged 20 commits into from
Dec 1, 2023
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ composite-metazoan.*
composite-metazoan-basic.*
composite-vertebrate.*
composite-vertebrate-basic.*
collected-metazoan.*
ext.json
ext.obo
ext.owl
Expand All @@ -215,4 +216,4 @@ src/ontology/subsets/*.json
src/ontology/subsets/*.obo
src/ontology/subsets/*.owl
src/ontology/subsets/*.tsv
src/ontology/imports/*_import.owl
src/ontology/imports/*_import.owl
11 changes: 10 additions & 1 deletion src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PATTERN_RELEASE_FILES= $(PATTERNDIR)/definitions.owl $(PATTERNDIR)/pattern.

FORMATS = $(sort owl obo json owl)
FORMATS_INCL_TSV = $(sort $(FORMATS) tsv)
RELEASE_ARTEFACTS = $(sort $(ONT)-base $(ONT)-full $(ONT)-simple $(ONT)-basic basic composite-metazoan composite-metazoan-basic composite-vertebrate composite-vertebrate-basic common-anatomy )
RELEASE_ARTEFACTS = $(sort $(ONT)-base $(ONT)-full $(ONT)-simple $(ONT)-basic basic collected-metazoan composite-metazoan composite-metazoan-basic composite-vertebrate composite-vertebrate-basic common-anatomy )

# ----------------------------------------
# Top-level targets
Expand Down Expand Up @@ -706,6 +706,12 @@ basic.json: basic.owl
$(ROBOT) annotate --input $< --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) \
convert --check false -f json -o [email protected] &&\
mv [email protected] $@
collected-metazoan.obo: collected-metazoan.owl
$(ROBOT) convert --input $< --check false -f obo $(OBO_FORMAT_OPTIONS) -o [email protected] && grep -v ^owl-axioms [email protected] > $@ && rm [email protected]
collected-metazoan.json: collected-metazoan.owl
$(ROBOT) annotate --input $< --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) \
convert --check false -f json -o [email protected] &&\
mv [email protected] $@
composite-metazoan.obo: composite-metazoan.owl
$(ROBOT) convert --input $< --check false -f obo $(OBO_FORMAT_OPTIONS) -o [email protected] && grep -v ^owl-axioms [email protected] > $@ && rm [email protected]
composite-metazoan.json: composite-metazoan.owl
Expand Down Expand Up @@ -810,6 +816,9 @@ $(ONT)-basic.owl: $(EDIT_PREPROCESSED) $(OTHER_SRC) $(SIMPLESEED) $(KEEPRELATION
basic.owl:
echo "ERROR: You have configured a custom release artefact ($@); this release artefact needs to be define in uberon.Makefile!" && false

collected-metazoan.owl:
echo "ERROR: You have configured a custom release artefact ($@); this release artefact needs to be define in uberon.Makefile!" && false

composite-metazoan.owl:
echo "ERROR: You have configured a custom release artefact ($@); this release artefact needs to be define in uberon.Makefile!" && false

Expand Down
75 changes: 0 additions & 75 deletions src/ontology/bridge/catalog-v001.xml

This file was deleted.

51 changes: 51 additions & 0 deletions src/ontology/bridge/collected-adult-mammal-hdr.owl
matentzn marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/uberon/bridge/collected-adult-mammal.owl#"
xml:base="http://purl.obolibrary.org/obo/uberon/bridge/collected-adult-mammal.owl"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:terms="http://purl.org/dc/terms/">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/uberon/bridge/collected-adult-mammal.owl">
<terms:creator>Uberon editors</terms:creator>
<terms:description>This is an ontology that collects all of the core Uberon, plus the adult anatomy ontology for mouse (MA). Note that it does no longer include the adult anatomy ontology for human (FMA).</terms:description>
<terms:title>Collected anatomy ontology for post-natal mammals</terms:title>
<rdfs:comment>Uberon ontologies with the prefix ‘collected’ are ontologies that import the core Uberon ontology together with one or more external, typically species-centric, ontologies plus bridging axioms that connect Uberon to those external ontologies. Uberon ontologies with the prefix ‘composite’ are variations of the corresponding ‘collected’ ontologies with additional reasoning performed.</rdfs:comment>
<rdfs:seeAlso rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://genomebiology.com/2012/13/1/R5</rdfs:seeAlso>
</owl:Ontology>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://purl.org/dc/terms/creator -->

<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/creator"/>



<!-- http://purl.org/dc/terms/description -->

<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/description"/>



<!-- http://purl.org/dc/terms/title -->

<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/title"/>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi -->

Loading