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

Update hra_subset component pipeline #2975

Closed
wants to merge 6 commits into from
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
4 changes: 2 additions & 2 deletions docs/odk-workflows/RepositoryFileStructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ These are the components in UBERON
| disjoint_union_over.owl | None |
| mappings.owl | None |
| in-subset.owl | None |
| hra_subset.owl | None |
| hra_subset.owl | https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/UB_ASCTB_subset.owl |
| vasculature_class.owl | None |
| hra_depiction_3d_images.owl | None |
| hra_depiction_3d_images.owl | https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/hra_uberon_3d_images.owl |
35 changes: 34 additions & 1 deletion 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= d9dd1f14c02c9157faa08c0c33d811609f31616c2917255ed4dca5559cb438ec
CONFIG_HASH= 5b43938035885714e882948608e09a43483b1e19dbe9e3bf1559f6869da6ea6a


# ----------------------------------------
Expand Down Expand Up @@ -475,7 +475,40 @@ $(COMPONENTSDIR)/%.owl: | $(COMPONENTSDIR)



.PHONY: component-download-hra_subset.owl
component-download-hra_subset.owl: | $(TMPDIR)
if [ $(MIR) = true ] && [ $(COMP) = true ]; then $(ROBOT) merge -I https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/UB_ASCTB_subset.owl \
annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) -o $(TMPDIR)/[email protected]; fi

$(COMPONENTSDIR)/hra_subset.owl: component-download-hra_subset.owl
if [ $(COMP) = true ]; then if cmp -s $(TMPDIR)/component-download-hra_subset.owl.owl $(TMPDIR)/component-download-hra_subset.owl.tmp.owl ; then echo "Component identical."; \
else echo "Component is different, updating." &&\
cp $(TMPDIR)/component-download-hra_subset.owl.owl $(TMPDIR)/component-download-hra_subset.owl.tmp.owl &&\
$(ROBOT) annotate -i $(TMPDIR)/component-download-hra_subset.owl.owl --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) -o $@; fi; fi

.PRECIOUS: $(COMPONENTSDIR)/hra_subset.owl


$(COMPONENTSDIR)/vasculature_class.owl: $(TEMPLATEDIR)/vasculature_class.tsv
if [ $(COMP) = true ] ; then $(ROBOT) template --input imports/merged_import.owl \
$(patsubst %, --template %, $^) \
$(ANNOTATE_CONVERT_FILE); fi

.PRECIOUS: $(COMPONENTSDIR)/vasculature_class.owl


.PHONY: component-download-hra_depiction_3d_images.owl
component-download-hra_depiction_3d_images.owl: | $(TMPDIR)
if [ $(MIR) = true ] && [ $(COMP) = true ]; then $(ROBOT) merge -I https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/hra_uberon_3d_images.owl \
annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) -o $(TMPDIR)/[email protected]; fi

$(COMPONENTSDIR)/hra_depiction_3d_images.owl: component-download-hra_depiction_3d_images.owl
if [ $(COMP) = true ]; then if cmp -s $(TMPDIR)/component-download-hra_depiction_3d_images.owl.owl $(TMPDIR)/component-download-hra_depiction_3d_images.owl.tmp.owl ; then echo "Component identical."; \
else echo "Component is different, updating." &&\
cp $(TMPDIR)/component-download-hra_depiction_3d_images.owl.owl $(TMPDIR)/component-download-hra_depiction_3d_images.owl.tmp.owl &&\
$(ROBOT) annotate -i $(TMPDIR)/component-download-hra_depiction_3d_images.owl.owl --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) -o $@; fi; fi

.PRECIOUS: $(COMPONENTSDIR)/hra_depiction_3d_images.owl
# ----------------------------------------
# Mirroring upstream ontologies
# ----------------------------------------
Expand Down
1,206 changes: 609 additions & 597 deletions src/ontology/components/hra_depiction_3d_images.owl

Large diffs are not rendered by default.

Loading
Loading