Skip to content

Commit 2622062

Browse files
Merge pull request #1066 from OBOFoundry/ncbitaxon
Redirect NCBITaxon PURLs to official NCBI site
2 parents 7c2f40e + f913d35 commit 2622062

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

config/ncbitaxon.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ products:
1111
- ncbitaxon.obo.gz: https://github.com/obophenotype/ncbitaxon/releases/latest/download/ncbitaxon.obo.gz
1212
- ncbitaxon.json.gz: https://github.com/obophenotype/ncbitaxon/releases/latest/download/ncbitaxon.json.gz
1313

14-
term_browser: ontobee
14+
term_browser: custom
1515
example_terms:
1616
- NCBITaxon_1
1717

config/obo.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ entries:
8888
- from: /HAO_0000000
8989
to: http://api.hymao.org/api/ontology/ontology_class/HAO_0000000
9090

91+
# Term redirects for NCBI Taxonomy
92+
- regex: ^/obo/NCBITaxon_(\d+)$
93+
replacement: https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=$1
94+
status: see other
95+
tests:
96+
- from: /NCBITaxon_9606
97+
to: https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=9606
98+
9199
# Term redirects for PR
92100
# Match digits or UniProt ID, see http://www.uniprot.org/help/accession_numbers
93101
- regex: ^/obo/PR_(\d+|[OPQ][0-9][A-Z0-9]{3}[0-9](-\d+)?|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2}(-\d+)?)$

0 commit comments

Comments
 (0)