Skip to content

Commit 088d268

Browse files
committed
Adding new entries for kbase
Attempting to best resolve PURL muddle; see https://github.com/biopragmatics/obo-db-ingest/issues/15
1 parent bbb475a commit 088d268

File tree

4 files changed

+113
-35
lines changed

4 files changed

+113
-35
lines changed

ontologies.Makefile

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,17 @@ db/orcid.owl: download/orcid.owl
548548
cp $< $@
549549

550550

551+
download/ror.owl: STAMP
552+
curl -L -s https://w3id.org/biopragmatics/resources/ror/ror.owl.gz | gzip -dc > $@.tmp
553+
sha256sum -b $@.tmp > $@.sha256
554+
mv $@.tmp $@
555+
556+
.PRECIOUS: download/ror.owl
557+
558+
db/ror.owl: download/ror.owl
559+
cp $< $@
560+
561+
551562
download/cpont.owl: STAMP
552563
curl -L -s https://w3id.org/cpont/cpont.owl > $@.tmp
553564
sha256sum -b $@.tmp > $@.sha256
@@ -966,6 +977,17 @@ db/interpro.owl: download/interpro.owl
966977
perl -npe 's@ go:@ GO:@g;s@ ro:@ RO:@g;s@ interpro:@ InterPro:@g' $< > $@.tmp && robot convert -i $@.tmp -o $@
967978

968979

980+
download/pfam.owl: STAMP
981+
curl -L -s https://w3id.org/biopragmatics/resources/pfam/pfam.owl > $@.tmp
982+
sha256sum -b $@.tmp > $@.sha256
983+
mv $@.tmp $@
984+
985+
.PRECIOUS: download/pfam.owl
986+
987+
db/pfam.owl: download/pfam.owl
988+
cp $< $@
989+
990+
969991
download/hgnc.genegroup.owl: STAMP
970992
curl -L -s https://github.com/biopragmatics/obo-db-ingest/raw/main/export/hgnc.genegroup/hgnc.genegroup.owl.gz | gzip -dc > $@.tmp
971993
sha256sum -b $@.tmp > $@.sha256
@@ -999,14 +1021,14 @@ db/sgd.owl: download/sgd.owl
9991021
robot merge -i $< -o $@
10001022

10011023

1002-
download/dictybase.owl: STAMP
1003-
curl -L -s https://github.com/biopragmatics/obo-db-ingest/raw/main/export/dictybase/dictybase.owl.gz | gzip -dc > $@.tmp
1024+
download/gtdb.owl: STAMP
1025+
curl -L -s https://w3id.org/biopragmatics/resources/gtdb/gtdb.owl > $@.tmp
10041026
sha256sum -b $@.tmp > $@.sha256
10051027
mv $@.tmp $@
10061028

1007-
.PRECIOUS: download/dictybase.owl
1029+
.PRECIOUS: download/gtdb.owl
10081030

1009-
db/dictybase.owl: download/dictybase.owl
1031+
db/gtdb.owl: download/gtdb.owl
10101032
cp $< $@
10111033

10121034

@@ -1022,7 +1044,7 @@ db/eccode.owl: download/eccode.owl
10221044

10231045

10241046
download/uniprot.owl: STAMP
1025-
curl -L -s https://w3id.org/biopragmatics/resources/uniprot/2022_02/uniprot.owl.gz | gzip -dc > $@.tmp
1047+
curl -L -s https://w3id.org/biopragmatics/resources/uniprot/uniprot.owl.gz | gzip -dc > $@.tmp
10261048
sha256sum -b $@.tmp > $@.sha256
10271049
mv $@.tmp $@
10281050

@@ -1032,15 +1054,37 @@ db/uniprot.owl: download/uniprot.owl
10321054
cp $< $@
10331055

10341056

1057+
download/uniprot.ptm.owl: STAMP
1058+
curl -L -s https://w3id.org/biopragmatics/resources/uniprot.ptm/uniprot.ptm.owl > $@.tmp
1059+
sha256sum -b $@.tmp > $@.sha256
1060+
mv $@.tmp $@
1061+
1062+
.PRECIOUS: download/uniprot.ptm.owl
1063+
1064+
db/uniprot.ptm.owl: download/uniprot.ptm.owl
1065+
cp $< $@
1066+
1067+
1068+
download/credit.owl: STAMP
1069+
curl -L -s https://raw.githubusercontent.com/biopragmatics/obo-db-ingest/main/export/credit/credit.owl > $@.tmp
1070+
sha256sum -b $@.tmp > $@.sha256
1071+
mv $@.tmp $@
1072+
1073+
.PRECIOUS: download/credit.owl
1074+
1075+
db/credit.owl: download/credit.owl
1076+
cp $< $@
1077+
1078+
10351079
download/rhea.owl: STAMP
1036-
curl -L -s https://w3id.org/biopragmatics/resources/rhea/rhea.obo > $@.tmp
1080+
curl -L -s https://w3id.org/biopragmatics/resources/rhea/rhea.owl.gz | gzip -dc > $@.tmp
10371081
sha256sum -b $@.tmp > $@.sha256
10381082
mv $@.tmp $@
10391083

10401084
.PRECIOUS: download/rhea.owl
10411085

10421086
db/rhea.owl: download/rhea.owl
1043-
robot merge -i $< -o $@
1087+
perl -npe 's@https://www.ebi.ac.uk/.*ec=@https://bioregistry.io/eccode:@g' $< > $@.tmp && robot convert -i $@.tmp -o $@
10441088

10451089

10461090
download/swisslipid.owl: STAMP
@@ -1317,4 +1361,4 @@ download/%.owl: STAMP
13171361
db/%.owl: download/%.owl
13181362
robot merge -i $< -o $@
13191363

1320-
EXTRA_ONTOLOGIES = swo chiro pcl chemessence ogco ncit fma maxo foodon chebiplus msio pride modl phenio phenio_test comploinc hba mba dmba dhba pba bero aio reacto xsmo bcio icd10who ordo gard mondo-ingest oeo envthes wifire taxslim goldterms sdgio kin biovoices omop comet cco occo iof upa go go-lego go-amigo neo bao orcid cpont biolink biopax enanomapper mlo ito chemont molgenie cso obiws biopragmatics-reactome reactome-hs reactome-mm efo hcao hpinternational edam chr sweetAll oboe-core oboe-standards lov schema-dot-org prov dtype vaem qudtunit quantitykind cellosaurus cosmo fhkb dbpendiaont uberoncm icd10cm omim co_324 ppeo interpro hgnc.genegroup hgnc sgd dictybase eccode uniprot rhea swisslipid drugbank drugcentral complexportal wikipathways pathbank kegg.genome drugmechdb rxnorm vccf ontobiotope nando ecso enigma_context ontie ecosim nmdc_schema mixs kgcl fibo bfo2020 bfo2020_core bfo2020_notime bfo2020_time
1364+
EXTRA_ONTOLOGIES = swo chiro pcl chemessence ogco ncit fma maxo foodon chebiplus msio pride modl phenio phenio_test comploinc hba mba dmba dhba pba bero aio reacto xsmo bcio icd10who ordo gard mondo-ingest oeo envthes wifire taxslim goldterms sdgio kin biovoices omop comet cco occo iof upa go go-lego go-amigo neo bao orcid ror cpont biolink biopax enanomapper mlo ito chemont molgenie cso obiws biopragmatics-reactome reactome-hs reactome-mm efo hcao hpinternational edam chr sweetAll oboe-core oboe-standards lov schema-dot-org prov dtype vaem qudtunit quantitykind cellosaurus cosmo fhkb dbpendiaont uberoncm icd10cm omim co_324 ppeo interpro pfam hgnc.genegroup hgnc sgd gtdb eccode uniprot uniprot.ptm credit rhea swisslipid drugbank drugcentral complexportal wikipathways pathbank kegg.genome drugmechdb rxnorm vccf ontobiotope nando ecso enigma_context ontie ecosim nmdc_schema mixs kgcl fibo bfo2020 bfo2020_core bfo2020_notime bfo2020_time

src/semsql/builder/prefixes/prefixes.csv

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ OccO,http://purl.obolibrary.org/obo/OccO_
117117
IOFcore,https://spec.industrialontologies.org/ontology/
118118
UPa,http://purl.obolibrary.org/obo/UPa_
119119
orcid,https://orcid.org/
120+
ror,https://ror.org/
120121
evs.ncit,http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#
121122
old.fix,http://purl.org/obo/owl/FIX#
122123
mlo,http://www.a2rd.net.br/mlo#
@@ -150,15 +151,20 @@ OMIMPS,https://www.omim.org/phenotypicSeries/PS
150151
co_324,https://cropontology.org/rdf/CO_324:
151152
PPEO,http://purl.org/ppeo/PPEO.owl#
152153
InterPro,http://purl.obolibrary.org/obo/InterPro_
154+
PFAM,https://www.ebi.ac.uk/interpro/entry/pfam/
155+
PFAM.CLAN,https://www.ebi.ac.uk/interpro/set/pfam/
153156
hgnc.genegroup,http://purl.obolibrary.org/obo/hgnc.genegroup_
154157
hgnc,http://purl.obolibrary.org/obo/hgnc_
155-
SGD,http://purl.obolibrary.org/obo/sgd_
156-
hgnc.genegroup,http://purl.obolibrary.org/obo/dictybase_
157-
EC,http://purl.obolibrary.org/obo/eccode_
158-
uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
159-
uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
160-
RHEA,http://purl.obolibrary.org/obo/rhea_
161-
uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
158+
SGD,https://www.yeastgenome.org/locus/
159+
gtdb,https://gtdb.ecogenomic.org/tree?r=
160+
EC,https://bioregistry.io/eccode:
161+
UniProtKB,https://bioregistry.io/uniprot:
162+
UniProtKB,https://bioregistry.io/uniprot:
163+
RESID,https://proteininformationresource.org/cgi-bin/resid?id=
164+
UNIMOD,http://www.unimod.org/modifications_view.php?editid1=
165+
uniprot.ptm,https://biopragmatics.github.io/providers/uniprot.ptm/
166+
credit,https://credit.niso.org/contributor-roles/
167+
RHEA,https://www.rhea-db.org/rhea/
162168
swisslipid,http://purl.obolibrary.org/obo/swisslipid_
163169
drugbank,http://purl.obolibrary.org/obo/drugbank_
164170
drugbank,http://purl.obolibrary.org/obo/drugcentral_

src/semsql/builder/prefixes/prefixes_local.csv

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ OccO,http://purl.obolibrary.org/obo/OccO_
5454
IOFcore,https://spec.industrialontologies.org/ontology/
5555
UPa,http://purl.obolibrary.org/obo/UPa_
5656
orcid,https://orcid.org/
57+
ror,https://ror.org/
5758
evs.ncit,http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#
5859
old.fix,http://purl.org/obo/owl/FIX#
5960
mlo,http://www.a2rd.net.br/mlo#
@@ -87,15 +88,20 @@ OMIMPS,https://www.omim.org/phenotypicSeries/PS
8788
co_324,https://cropontology.org/rdf/CO_324:
8889
PPEO,http://purl.org/ppeo/PPEO.owl#
8990
InterPro,http://purl.obolibrary.org/obo/InterPro_
91+
PFAM,https://www.ebi.ac.uk/interpro/entry/pfam/
92+
PFAM.CLAN,https://www.ebi.ac.uk/interpro/set/pfam/
9093
hgnc.genegroup,http://purl.obolibrary.org/obo/hgnc.genegroup_
9194
hgnc,http://purl.obolibrary.org/obo/hgnc_
92-
SGD,http://purl.obolibrary.org/obo/sgd_
93-
hgnc.genegroup,http://purl.obolibrary.org/obo/dictybase_
94-
EC,http://purl.obolibrary.org/obo/eccode_
95-
uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
96-
uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
97-
RHEA,http://purl.obolibrary.org/obo/rhea_
98-
uniprot.obo,http://purl.obolibrary.org/obo/uniprot_
95+
SGD,https://www.yeastgenome.org/locus/
96+
gtdb,https://gtdb.ecogenomic.org/tree?r=
97+
EC,https://bioregistry.io/eccode:
98+
UniProtKB,https://bioregistry.io/uniprot:
99+
UniProtKB,https://bioregistry.io/uniprot:
100+
RESID,https://proteininformationresource.org/cgi-bin/resid?id=
101+
UNIMOD,http://www.unimod.org/modifications_view.php?editid1=
102+
uniprot.ptm,https://biopragmatics.github.io/providers/uniprot.ptm/
103+
credit,https://credit.niso.org/contributor-roles/
104+
RHEA,https://www.rhea-db.org/rhea/
99105
swisslipid,http://purl.obolibrary.org/obo/swisslipid_
100106
drugbank,http://purl.obolibrary.org/obo/drugbank_
101107
drugbank,http://purl.obolibrary.org/obo/drugcentral_

src/semsql/builder/registry/ontologies.yaml

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ ontologies:
238238
url: https://w3id.org/orcidio/orcidio.owl
239239
prefixmap:
240240
orcid: https://orcid.org/
241+
ror:
242+
url: https://w3id.org/biopragmatics/resources/ror/ror.owl.gz
243+
compression: gzip
244+
prefixmap:
245+
ror: https://ror.org/
241246
cpont:
242247
url: https://w3id.org/cpont/cpont.owl
243248
biolink:
@@ -302,6 +307,7 @@ ontologies:
302307
zip_extract_file: Mus_musculus.owl
303308
post_processing_steps:
304309
- "sqlite3 {db} < views/reactome.sql"
310+
305311
efo:
306312
url: http://www.ebi.ac.uk/efo/efo.owl
307313
has_imports: true
@@ -421,6 +427,11 @@ ontologies:
421427
format: obo
422428
prefixmap:
423429
InterPro: http://purl.obolibrary.org/obo/InterPro_
430+
pfam:
431+
url: https://w3id.org/biopragmatics/resources/pfam/pfam.owl
432+
prefixmap:
433+
PFAM: https://www.ebi.ac.uk/interpro/entry/pfam/
434+
PFAM.CLAN: https://www.ebi.ac.uk/interpro/set/pfam/
424435
hgnc.genegroup:
425436
url: https://github.com/biopragmatics/obo-db-ingest/raw/main/export/hgnc.genegroup/hgnc.genegroup.owl.gz
426437
compression: gzip
@@ -436,29 +447,40 @@ ontologies:
436447
url: https://w3id.org/biopragmatics/resources/sgd/sgd.obo
437448
format: obo
438449
prefixmap:
439-
SGD: http://purl.obolibrary.org/obo/sgd_
440-
dictybase:
441-
url: https://github.com/biopragmatics/obo-db-ingest/raw/main/export/dictybase/dictybase.owl.gz
442-
compression: gzip
450+
SGD: https://www.yeastgenome.org/locus/
451+
gtdb:
452+
url: https://w3id.org/biopragmatics/resources/gtdb/gtdb.owl
443453
prefixmap:
444-
hgnc.genegroup: http://purl.obolibrary.org/obo/dictybase_
454+
gtdb: https://gtdb.ecogenomic.org/tree?r=
445455
eccode:
446456
url: https://w3id.org/biopragmatics/resources/eccode/eccode.owl.gz
447457
compression: gzip
448458
prefixmap:
449-
EC: http://purl.obolibrary.org/obo/eccode_
450-
uniprot.obo: http://purl.obolibrary.org/obo/uniprot_
459+
EC: "https://bioregistry.io/eccode:"
460+
UniProtKB: "https://bioregistry.io/uniprot:"
451461
uniprot:
452-
url: https://w3id.org/biopragmatics/resources/uniprot/2022_02/uniprot.owl.gz
462+
url: https://w3id.org/biopragmatics/resources/uniprot/uniprot.owl.gz
453463
compression: gzip
454464
prefixmap:
455-
uniprot.obo: http://purl.obolibrary.org/obo/uniprot_
465+
UniProtKB: "https://bioregistry.io/uniprot:"
466+
uniprot.ptm:
467+
url: https://w3id.org/biopragmatics/resources/uniprot.ptm/uniprot.ptm.owl
468+
prefixmap:
469+
RESID: https://proteininformationresource.org/cgi-bin/resid?id=
470+
UNIMOD: http://www.unimod.org/modifications_view.php?editid1=
471+
uniprot.ptm: https://biopragmatics.github.io/providers/uniprot.ptm/
472+
credit:
473+
url: https://raw.githubusercontent.com/biopragmatics/obo-db-ingest/main/export/credit/credit.owl
474+
prefixmap:
475+
credit: https://credit.niso.org/contributor-roles/
456476
rhea:
457-
url: https://w3id.org/biopragmatics/resources/rhea/rhea.obo
458-
build_command: "robot merge -i $< -o $@"
477+
url: https://w3id.org/biopragmatics/resources/rhea/rhea.owl.gz
478+
# https://github.com/biopragmatics/obo-db-ingest/issues/15
479+
build_command: "perl -npe 's@https://www.ebi.ac.uk/.*ec=@https://bioregistry.io/eccode:@g' $< > [email protected] && robot convert -i [email protected] -o $@"
480+
compression: gzip
481+
# build_command: "robot merge -i $< -o $@"
459482
prefixmap:
460-
RHEA: http://purl.obolibrary.org/obo/rhea_
461-
uniprot.obo: http://purl.obolibrary.org/obo/uniprot_
483+
RHEA: https://www.rhea-db.org/rhea/
462484
swisslipid:
463485
url: https://github.com/biopragmatics/obo-db-ingest/raw/main/export/swisslipid/2023-02-03/swisslipid.obo.gz
464486
format: obo

0 commit comments

Comments
 (0)