-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from microbiomedata/issue-12
Issue 12: remove equivalents as subclasses
- Loading branch information
Showing
13 changed files
with
609,327 additions
and
1,865 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,7 +139,7 @@ $(ONT)-relation-graph.owl: $(ONT).owl $(ONT)-merged-labels.ttl | |
@echo "\n** building $@ **" | ||
relation-graph --ontology-file $< \ | ||
--reflexive-subclasses false \ | ||
--equivalence-as-subclass true \ | ||
--equivalence-as-subclass false \ | ||
--non-redundant-output-file $(ONT)-nonredundant.ttl \ | ||
--redundant-output-file $(ONT)-redundant.ttl \ | ||
--mode rdf | ||
|
@@ -158,15 +158,21 @@ $(ONT).json: $(ONT)-relation-graph.owl | |
$(ANNOTATE_ONTOLOGY_VERSION) \ | ||
convert --output $@ | ||
|
||
$(ONT)-classes.json: $(ONT)-relation-graph.owl $(ONT)-merged-labels.ttl | ||
# select classes, merge with the labels, and convert ontology to json | ||
$(ONT)-classes.owl: $(ONT)-relation-graph.owl $(ONT)-merged-labels.ttl | ||
# select classes and merge with the labels | ||
@echo "\n** building $@ **" | ||
$(ROBOT) filter --input $< \ | ||
--select classes \ | ||
merge --input $(word 2, $^) \ | ||
annotate --ontology-iri $(ONTBASE)/$@ \ | ||
$(ANNOTATE_ONTOLOGY_VERSION) \ | ||
convert --output $@ | ||
--output $@ | ||
|
||
$(ONT)-classes.json: $(ONT)-classes.owl | ||
# convert ontology to json | ||
@echo "\n** building $@ **" | ||
$(ROBOT) annotate --input $< --ontology-iri $(URIBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) \ | ||
convert -o [email protected] && mv [email protected] $@ | ||
|
||
# ----------------------------------------------------- | ||
# Variant artefacts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.