|
10 | 10 | # More information: https://github.com/INCATools/ontology-development-kit/ |
11 | 11 |
|
12 | 12 | # Fingerprint of the configuration file when this Makefile was last generated |
13 | | -CONFIG_HASH= cdc9b63b8b8955e2b712546db4b77127d976453f51db8b288c6c5790c1404ac5 |
| 13 | +CONFIG_HASH= 39068016a7a3bd9ee8180df6a20ff316731d4d5dca9057f0ff91b48fdd6cf9de |
14 | 14 |
|
15 | 15 |
|
16 | 16 | # ---------------------------------------- |
@@ -159,7 +159,7 @@ all_main: $(MAIN_FILES) |
159 | 159 | # ---------------------------------------- |
160 | 160 |
|
161 | 161 |
|
162 | | -IMPORTS = APOLLO_SV BFO CL DOID EXO IAO OBI OGMS OMRSE PATO RO SBO UBERON UO VO |
| 162 | +IMPORTS = APOLLO_SV BFO CL DOID EXO GAZ IAO OBI OGMS OMRSE PATO RO SBO UBERON UO VO |
163 | 163 |
|
164 | 164 | IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS)) |
165 | 165 | IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl) |
@@ -364,6 +364,13 @@ $(IMPORTDIR)/%_import.owl: $(MIRRORDIR)/%.owl $(IMPORTDIR)/%_terms_combined.txt |
364 | 364 |
|
365 | 365 | .PRECIOUS: $(IMPORTDIR)/%_import.owl |
366 | 366 |
|
| 367 | +## Module for ontology: GAZ |
| 368 | + |
| 369 | +$(IMPORTDIR)/GAZ_import.owl: $(MIRRORDIR)/GAZ.owl $(IMPORTDIR)/GAZ_terms_combined.txt |
| 370 | + if [ $(IMP) = true ] && [ $(IMP_LARGE) = true ]; then $(ROBOT) extract -i $< -T $(IMPORTDIR)/GAZ_terms_combined.txt --force true --copy-ontology-annotations true --individuals include --method BOT \ |
| 371 | + query --update ../sparql/inject-subset-declaration.ru --update ../sparql/inject-synonymtype-declaration.ru --update ../sparql/postprocess-module.ru \ |
| 372 | + $(ANNOTATE_CONVERT_FILE); fi |
| 373 | + |
367 | 374 |
|
368 | 375 | .PHONY: refresh-imports |
369 | 376 | refresh-imports: |
@@ -436,6 +443,19 @@ mirror-EXO: | $(TMPDIR) |
436 | 443 | $(ROBOT) convert -i $(TMPDIR)/EXO-download.owl -o $(TMPDIR)/$@.owl |
437 | 444 |
|
438 | 445 |
|
| 446 | +## ONTOLOGY: GAZ |
| 447 | +.PHONY: mirror-GAZ |
| 448 | +.PRECIOUS: $(MIRRORDIR)/GAZ.owl |
| 449 | +ifeq ($(strip $(IMP_LARGE)),true) |
| 450 | +mirror-GAZ: | $(TMPDIR) |
| 451 | + curl -L $(OBOBASE)/GAZ.owl --create-dirs -o $(TMPDIR)/GAZ-download.owl --retry 4 --max-time 200 && \ |
| 452 | + $(ROBOT) convert -i $(TMPDIR)/GAZ-download.owl -o $(TMPDIR)/$@.owl |
| 453 | +else |
| 454 | +mirror-GAZ: |
| 455 | + @echo "Not refreshing GAZ because refreshing large imports is disabled (IMP_LARGE=$(IMP_LARGE))." |
| 456 | +endif |
| 457 | + |
| 458 | + |
439 | 459 | ## ONTOLOGY: IAO |
440 | 460 | .PHONY: mirror-IAO |
441 | 461 | .PRECIOUS: $(MIRRORDIR)/IAO.owl |
|
0 commit comments