Skip to content

Commit 25f52d6

Browse files
committed
regen
1 parent 69841d0 commit 25f52d6

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ selected: $(patsubst %,all-%,$(SELECTED_ONTS))
3434

3535
all-%: db/%.db
3636
sqlite3 $< "SELECT COUNT(*) FROM statements"
37-
#stage/%.db.gz: db/%.db
38-
# gzip -c $< > [email protected] && mv [email protected] $@
39-
stage/%.db.gz:
40-
gzip -c db/$*.db > $@.tmp && mv $@.tmp $@
37+
stage/%.db.gz: db/%.db
38+
gzip -c $< > $@.tmp && mv $@.tmp $@
39+
#stage/%.db.gz:
40+
# gzip -c db/$*.db > [email protected] && mv [email protected] $@
4141
.PRECIOUS: stage/%.db.gz
4242

4343
list-onts:

ontologies.Makefile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,17 @@ db/complexportal.owl: download/complexportal.owl
416416
cp $< $@
417417

418418

419+
download/drugmechdb.owl: STAMP
420+
curl -L -s None > $@.tmp
421+
sha256sum -b $@.tmp > $@.sha256
422+
mv $@.tmp $@
423+
424+
.PRECIOUS: download/drugmechdb.owl
425+
426+
db/drugmechdb.owl: download/drugmechdb.owl
427+
cp $< $@
428+
429+
419430
download/%.owl: STAMP
420431
curl -L -s http://purl.obolibrary.org/obo/$*.owl > $@.tmp
421432
sha256sum -b $@.tmp > $@.sha256
@@ -426,4 +437,4 @@ download/%.owl: STAMP
426437
db/%.owl: download/%.owl
427438
robot merge -i $< -o $@
428439

429-
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 rhea drugbank drugcentral complexportal
440+
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 rhea drugbank drugcentral complexportal drugmechdb

src/semsql/builder/prefixes/prefixes.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
7070
drugbank,http://purl.obolibrary.org/obo/drugbank_
7171
drugbank,http://purl.obolibrary.org/obo/drugcentral_
7272
complexportal,http://purl.obolibrary.org/obo/complexportal_
73+
MESH,http://id.nlm.nih.gov/mesh/
7374
RBO,http://purl.obolibrary.org/obo/RBO_
7475
RBO,http://purl.obolibrary.org/obo/RBO_
7576
CLYH,http://purl.obolibrary.org/obo/CLYH_

src/semsql/builder/prefixes/prefixes_local.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
1818
drugbank,http://purl.obolibrary.org/obo/drugbank_
1919
drugbank,http://purl.obolibrary.org/obo/drugcentral_
2020
complexportal,http://purl.obolibrary.org/obo/complexportal_
21+
MESH,http://id.nlm.nih.gov/mesh/

src/semsql/builder/registry/ontologies.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,6 @@ ontologies:
164164
compression: gzip
165165
prefixmap:
166166
complexportal: http://purl.obolibrary.org/obo/complexportal_
167+
drugmechdb:
168+
prefixmap:
169+
MESH: http://id.nlm.nih.gov/mesh/

0 commit comments

Comments
 (0)