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

Adding direct links to entities based on EQs #3480

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft
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
30 changes: 28 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ TODAY ?= $(shell date +%Y-%m-%d)
OBODATE ?= $(shell date +'%d:%m:%Y %H:%M')
VERSION= $(TODAY)
ANNOTATE_ONTOLOGY_VERSION = annotate -V $(ONTBASE)/releases/$(VERSION)/$@ --annotation owl:versionInfo $(VERSION)
OTHER_SRC = $(PATTERNDIR)/definitions.owl
OTHER_SRC = $(PATTERNDIR)/definitions.owl $(COMPONENTSDIR)/eq-relations.owl
ONTOLOGYTERMS = $(TMPDIR)/ontologyterms.txt
PATTERNDIR= ../patterns
PATTERN_TESTER= dosdp validate -i
Expand Down Expand Up @@ -307,6 +307,32 @@ no-mirror-refresh-%:
$(MAKE) IMP=true IMP_LARGE=true MIR=false PAT=false $(IMPORTDIR)/$*_import.owl -B


# ----------------------------------------
# Components
# ----------------------------------------
# Some ontologies contain external and internal components. A component is included in the ontology in its entirety.

COMP=true # Global parameter to bypass component generation

.PHONY: all_components
all_components: $(OTHER_SRC)

.PHONY: recreate-components
recreate-components:
$(MAKE) IMP=true MIR=true PAT=true IMP_LARGE=true all_components -B

.PHONY: recreate-%
recreate-%:
$(MAKE) IMP=true IMP_LARGE=true MIR=true PAT=true $(COMPONENTSDIR)/$*.owl -B

$(COMPONENTSDIR)/%: | $(COMPONENTSDIR)
touch $@
.PRECIOUS: $(COMPONENTSDIR)/%





# ----------------------------------------
# Mirroring upstream ontologies
# ----------------------------------------
Expand Down Expand Up @@ -335,7 +361,7 @@ mirror-pr: | $(TMPDIR)
.PHONY: mirror-go
.PRECIOUS: $(MIRRORDIR)/go.owl
mirror-go: | $(TMPDIR)
if [ $(MIR) = true ] && [ $(IMP) = true ]; then curl -L $(URIBASE)/go.owl --create-dirs -o $(MIRRORDIR)/go.owl --retry 4 --max-time 200 && $(ROBOT) convert -i $(MIRRORDIR)/go.owl -o [email protected] && mv [email protected] $(TMPDIR)/[email protected]; fi
if [ $(MIR) = true ] && [ $(IMP) = true ]; then $(ROBOT) convert -I http://purl.obolibrary.org/obo/go/go-base.owl -o [email protected] && mv [email protected] $(TMPDIR)/[email protected]; fi


## ONTOLOGY: uberon
Expand Down
2 changes: 2 additions & 0 deletions src/ontology/catalog-v001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<uri id="Automatically generated entry, Timestamp=1569338358152" name="http://purl.obolibrary.org/obo/mp/imports/pr_import.owl" uri="imports/pr_import.owl"/>
<uri id="Automatically generated entry, Timestamp=1569338358152" name="http://purl.obolibrary.org/obo/mp/imports/ro_import.owl" uri="imports/ro_import.owl"/>
<uri id="Automatically generated entry, Timestamp=1569338358152" name="http://purl.obolibrary.org/obo/mp/imports/uberon_import.owl" uri="imports/uberon_import.owl"/>
<uri id="Automatically generated entry, Timestamp=1569338358152" name="http://purl.obolibrary.org/obo/mp/imports/upheno_import.owl" uri="imports/upheno_import.owl"/>
<uri id="Automatically generated entry, Timestamp=1569338358152" name="http://purl.obolibrary.org/obo/mp/components/eq-relations.owl" uri="components/eq-relations.owl"/>
<uri id="Automatically generated entry, Timestamp=1569338358152" name="http://purl.obolibrary.org/obo/mp/patterns/definitions.owl" uri="../patterns/definitions.owl"/>
</group>
</catalog>
Loading