diff --git a/config/oba.yml b/config/oba.yml index 24255943..05e6fecf 100644 --- a/config/oba.yml +++ b/config/oba.yml @@ -8,6 +8,10 @@ products: - oba.obo: https://github.com/obophenotype/bio-attribute-ontology/releases/latest/download/oba.obo - oba.json: https://github.com/obophenotype/bio-attribute-ontology/releases/latest/download/oba.json +term_browser: custom +example_terms: +- OBA_0000001 + entries: - exact: /subsets/oba-basic.owl replacement: https://github.com/obophenotype/bio-attribute-ontology/releases/latest/download/oba-basic.owl @@ -40,10 +44,6 @@ entries: - prefix: /imports/ replacement: https://raw.githubusercontent.com/obophenotype/bio-attribute-ontology/master/imports/ - prefix: /about/ - replacement: http://www.ontobee.org/ontology/OBA?iri=http://purl.obolibrary.org/obo/ + replacement: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/ - prefix: / replacement: https://github.com/obophenotype/bio-attribute-ontology/releases/latest/download/ - -term_browser: ontobee -example_terms: -- OBA_0000001 diff --git a/config/obo.yml b/config/obo.yml index 391a047b..755605b9 100644 --- a/config/obo.yml +++ b/config/obo.yml @@ -148,6 +148,17 @@ entries: - from: /DOID_0014667 to: https://disease-ontology.org/?id=DOID:0014667 +# Term redirects for OBA +# Some OBA IDs start with VT, because they were originally sourced from VT +- regex: ^/obo/OBA_((VT)?\d+)$ + replacement: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/OBA_$1 + status: see other + tests: + - from: /OBA_0000001 + to: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/OBA_0000001 + - from: /OBA_VT0000002 + to: https://www.ebi.ac.uk/ols4/ontologies/oba/entities/http://purl.obolibrary.org/obo/OBA_VT0000002 + ### OBO Format Specification - exact: /oboformat/ replacement: http://owlcollab.github.io/oboformat/doc/obo-syntax.html