File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
src/semsql/builder/registry Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,24 @@ SELECTED_ONTS = obi mondo go envo ro hp mp zfa wbphenotype ecto upheno uberon_cm
1717# EXTRA_ONTOLOGIES is defined in ontologies.Makefile
1818ALL_ONTS = $(ALL_OBO_ONTS ) $(EXTRA_ONTOLOGIES )
1919
20- STAGED_ONTOLOGIES = $(patsubst % ,stage/% .db.gz,$(ALL_ONTS ) )
20+ STAGED_ONTOLOGIES = $(patsubst % , stage/% .db.gz, $(ALL_ONTS ) )
2121
2222TEST_ONTOLOGIES = go-nucleus robot-example
2323
2424
2525all : build_all stage_all
2626build_all : $(patsubst % ,all-% ,$(ALL_ONTS ) )
2727stage_all : $(STAGED_ONTOLOGIES )
28+ echo done $(STAGED_ONTOLOGIES )
2829
2930selected : $(patsubst % ,all-% ,$(SELECTED_ONTS ) )
3031
3132all-% : db/% .db
3233 sqlite3 $< " SELECT COUNT(*) FROM statements"
33- stage/% .db.gz : db/% .db
34- gzip -c $< > $@ .tmp && mv $@ .tmp $@
34+ # stage/%.db.gz: db/%.db
35+ 36+ stage/% .db.gz :
37+ gzip -c db/$* .db > $@ .tmp && mv $@ .tmp $@
3538.PRECIOUS : stage/% .db.gz
3639
3740list-onts :
Original file line number Diff line number Diff line change @@ -20,6 +20,17 @@ db/ncit.owl: download/ncit.owl
2020 robot relax -i $< merge -o $@
2121
2222
23+ download/maxo.owl : STAMP
24+ curl -L -s http://purl.obolibrary.org/obo/maxo.owl > $@ .tmp
25+ sha256sum -b $@ .tmp > $@ .sha256
26+ mv $@ .tmp $@
27+
28+ .PRECIOUS : download/maxo.owl
29+
30+ db/maxo.owl : download/maxo.owl
31+ robot relax -i $< merge -o $@
32+
33+
2334download/foodon.owl : STAMP
2435 curl -L -s http://purl.obolibrary.org/obo/foodon.owl > $@ .tmp
2536 sha256sum -b $@ .tmp > $@ .sha256
@@ -371,4 +382,4 @@ download/%.owl: STAMP
371382db/% .owl : download/% .owl
372383 robot merge -i $< -o $@
373384
374- EXTRA_ONTOLOGIES = chiro ncit foodon chebiplus msio phenio comploinc bero aio reacto go go-lego bao orcid cpont biolink biopax enanomapper mlo ito reactome-Homo-sapiens efo edam sweetAll lov schema-dot-org cosmo co_324 hgnc.genegroup hgnc dictybase eccode uniprot
385+ EXTRA_ONTOLOGIES = chiro ncit maxo foodon chebiplus msio phenio comploinc bero aio reacto go go-lego bao orcid cpont biolink biopax enanomapper mlo ito reactome-Homo-sapiens efo edam sweetAll lov schema-dot-org cosmo co_324 hgnc.genegroup hgnc dictybase eccode uniprot
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ ontologies:
88 ncit :
99 url : http://purl.obolibrary.org/obo/ncit.owl
1010 build_command : " robot relax -i $< merge -o $@"
11+ maxo :
12+ url : http://purl.obolibrary.org/obo/maxo.owl
13+ # https://github.com/monarch-initiative/MAxO/issues/367
14+ build_command : " robot relax -i $< merge reason -r structural -o $@"
1115 foodon :
1216 url : http://purl.obolibrary.org/obo/foodon.owl
1317 build_command : " robot merge -i $< relax reduce -c true -o $@"
You can’t perform that action at this time.
0 commit comments