biopragmatics / bioregistry

📮 An integrative registry of biological databases, ontologies, and nomenclatures.
https://bioregistry.io
MIT License
120 stars 53 forks source link

Update regular expression pattern for COCONUT #1176

Closed CS76 closed 3 months ago

CS76 commented 3 months ago

Prefix

COCONUT

New Regular Expression Pattern

^CNP\\d{7}(\\.\\d+)?$

Explanation

New coconut identifiers are postfixed with dot notation For example, CNP0018459.2 to denote a stereo variant

Also, the URL is now updated to the following

sh:namespace "https://coconut.naturalproducts.net/compound/"^^xsd:anyURI

Example: https://coconut.naturalproducts.net/compounds/CNP0018459.2

Contributor ORCID

0000-0002-2564-3243

bgyori commented 3 months ago

Thanks @CS76, I added the new pattern and also added an extra example ID to the coconut record.