forked from OBOFoundry/purl.obolibrary.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
obo.yml
72 lines (52 loc) · 2.12 KB
/
obo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# PURL configuration for http://purl.obolibrary.org/obo/
idspace: OBO
base_url: /obo
term_browser: custom
### Global Tests
tests:
# Test case insensitivity
- from: /chebi/about/CHEBI_15377
to: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI_15377
- from: /CHEBI/about/CHEBI_15377
to: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI_15377
### Entries
entries:
### Term Overrides
- exact: /BFO_0000050
replacement: http://www.ontobee.org/browser/rdf.php?o=RO&iri=http://purl.obolibrary.org/obo/BFO_0000050
- exact: /BFO_0000051
replacement: http://www.ontobee.org/browser/rdf.php?o=RO&iri=http://purl.obolibrary.org/obo/BFO_0000051
- exact: /BFO_0000066
replacement: http://www.ontobee.org/browser/rdf.php?o=RO&iri=http://purl.obolibrary.org/obo/BFO_0000066
- exact: /BFO_0000062
replacement: http://www.ontobee.org/browser/rdf.php?o=RO&iri=http://purl.obolibrary.org/obo/BFO_0000062
### Custom (non-Ontobee) term_browser redirects
# Term redirects for CHEBI
- regex: ^/obo/CHEBI_(\d+)$
replacement: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:$1
status: see other
tests:
- from: /CHEBI_15377
to: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:15377
# Term redirects for HAO
- regex: ^/obo/HAO_(\d+)$
replacement: http://api.hymao.org/api/ontology/ontology_class/HAO_$1
status: see other
tests:
- from: /HAO_0000000
to: http://api.hymao.org/api/ontology/ontology_class/HAO_0000000
# Term redirects for PR
# Match digits or UniProt ID, see http://www.uniprot.org/help/accession_numbers
- regex: ^/obo/PR_(\d+|[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2})$
replacement: http://pir.georgetown.edu/cgi-bin/pro/entry_pro?id=PR_$1
status: see other
tests:
- from: /PR_000000001
to: http://pir.georgetown.edu/cgi-bin/pro/entry_pro?id=PR_000000001
- from: /PR_Q9BWV1
to: http://pir.georgetown.edu/cgi-bin/pro/entry_pro?id=PR_Q9BWV1
### OBO Format Specification
- exact: /oboformat/
replacement: http://owlcollab.github.io/oboformat/doc/obo-syntax.html
- exact: /oboformat/spec.html
replacement: http://owlcollab.github.io/oboformat/doc/obo-syntax.html