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

DO NOT MERGE remove or modify usages of non redundant relation graph output #33

Closed
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
12 changes: 8 additions & 4 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,24 @@ $(ONT)-relation-graph.owl: $(ONT).owl $(ONT)-merged-labels.ttl
# build relation-graph from nmdc-merged.ttl file
# for relation-graph see https://github.com/balhoff/relation-graph
# note, you may need to increase Java memory: export JAVA_OPTS=-Xmx16G

# --non-redundant-output-file $(ONT)-nonredundant.ttl \
# --redundant-output-file $(ONT)-redundant.ttl

@echo "\n** building $@ **"
relation-graph --ontology-file $< \
--reflexive-subclasses false \
--equivalence-as-subclass false \
--non-redundant-output-file $(ONT)-nonredundant.ttl \
--redundant-output-file $(ONT)-redundant.ttl \
--mode rdf
--mode rdf \
--output-file $(ONT)-relation-graph-raw.ttl
# merge in nmdco-merged for annotations
$(ROBOT) merge \
--input $(word 2, $^) \
--input $(ONT)-nonredundant.ttl \
--input $(ONT)-relation-graph-raw.ttl \
annotate --ontology-iri $(ONTBASE)/$@ \
$(ANNOTATE_ONTOLOGY_VERSION) \
--output $@
rm -f $(ONT)-relation-graph-raw.ttl

$(ONT).json: $(ONT)-relation-graph.owl
# convert ontology to json
Expand Down
4 changes: 2 additions & 2 deletions src/ontology/imports/envo_import.owl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#"
xmlns:process_attribute="http://purl.obolibrary.org/obo/envo-p/patterns/process_attribute/">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/nmdco/imports/envo_import.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/nmdco/releases/2024-02-15/imports/envo_import.owl"/>
<owl:versionInfo>2024-02-15</owl:versionInfo>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/nmdco/releases/2024-02-16/imports/envo_import.owl"/>
<owl:versionInfo>2024-02-16</owl:versionInfo>
</owl:Ontology>


Expand Down
4 changes: 2 additions & 2 deletions src/ontology/imports/po_import.owl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
xmlns:terms="http://purl.org/dc/terms/"
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/nmdco/imports/po_import.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/nmdco/releases/2024-02-15/imports/po_import.owl"/>
<owl:versionInfo>2024-02-15</owl:versionInfo>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/nmdco/releases/2024-02-16/imports/po_import.owl"/>
<owl:versionInfo>2024-02-16</owl:versionInfo>
</owl:Ontology>


Expand Down
4 changes: 2 additions & 2 deletions src/ontology/imports/ro_import.owl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
xmlns:subsets="http://purl.obolibrary.org/obo/ro/subsets#"
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/nmdco/imports/ro_import.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/nmdco/releases/2024-02-15/imports/ro_import.owl"/>
<owl:versionInfo>2024-02-15</owl:versionInfo>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/nmdco/releases/2024-02-16/imports/ro_import.owl"/>
<owl:versionInfo>2024-02-16</owl:versionInfo>
</owl:Ontology>


Expand Down
Loading
Loading