Skip to content

Commit

Permalink
Merge pull request #987 from anitacaron/patch-5
Browse files Browse the repository at this point in the history
Update RO replacement to use terms instead of only property
  • Loading branch information
jamesaoverton authored Jun 19, 2024
2 parents 64bba89 + de71145 commit 35feb82
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/obo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,16 @@ entries:
# Term redirects for RO
# Some RO terms have a local ID starting with an alphanumeric character, e.g RO_HOMnnnnn
- regex: ^/obo/RO_([A-Z]*\d+)$
replacement: https://www.ebi.ac.uk/ols/ontologies/ro/properties?iri=http://purl.obolibrary.org/obo/RO_$1
replacement: https://www.ebi.ac.uk/ols/ontologies/ro/terms?iri=http://purl.obolibrary.org/obo/RO_$1
status: see other
tests:
- from: /RO_0002202
to: https://www.ebi.ac.uk/ols/ontologies/ro/properties?iri=http://purl.obolibrary.org/obo/RO_0002202
to: https://www.ebi.ac.uk/ols/ontologies/ro/terms?iri=http://purl.obolibrary.org/obo/RO_0002202
- from: /RO_HOM0000001
to: https://www.ebi.ac.uk/ols/ontologies/ro/properties?iri=http://purl.obolibrary.org/obo/RO_HOM0000001
to: https://www.ebi.ac.uk/ols/ontologies/ro/terms?iri=http://purl.obolibrary.org/obo/RO_HOM0000001
- from: /RO_0002533
to: https://www.ebi.ac.uk/ols/ontologies/ro/terms?iri=http://purl.obolibrary.org/obo/RO_0002533


# Term redirects for GNO
# Match digits or GlyTouCan ID
Expand Down

0 comments on commit 35feb82

Please sign in to comment.