Updates to the CPIC Database and API
We want to inform everyone of some things that are changing (and some things that are not) in the CPIC database and API.
CPIC and ClinPGx
CPIC is now part of ClinPGx. The standalone CPIC site will retire soon, but all its content will move to ClinPGx. Visiting cpicpgx.org will redirect you to the corresponding ClinPGx page.
We’re not planning any changes to the CPIC database or API. The database stays on GitHub at the releases page, and the API remains at https://api.cpicpgx.org. If we need to make major changes, we’ll give you plenty of notice.
CPIC Data Changes
That being said, the next release of the CPIC database and API will include some small changes to the schema that may affect you.
PharmGKB has been subsumed by ClinPGx. There are many references to PharmGKB in the CPIC data and schema. We will be updating all "PharmGKB" references to ClinPGx. This means every place we used to refer to "PharmGKB" in the codebase or schema we will change to "ClinPGx". We are also updating some guideline information for the change.
Here are the specific changes you will see in the database and the API:
- The
guidelinetable now has aclinpgxidcolumn instead of thepharmgkbidcolumn. Thepharmgkbidheld an array of one or more IDs to PharmGKB Guidline Annotations. However, this newclinpgxidcolumn contains one ID to an overall Guideline entity that is a better one-to-one match for this table. - The
pairtable andpair_viewview changed the column name ofpgkbcaleveltoclinpgxlevel. The contents are logically the same, only the name is changed. - The
drugtable changedpharmgkbidtoclinpgxid. The contents are logically the same, only the name is changed. - The
genetable changedpharmgkbidtoclinpgxid. The contents are logically the same, only the name is changed.
All of these changes will also be reflected in the gene and drug information files that are exported with every release and made available on ClinPGx.org.
If you have a local copy of the database we recommend grabbing a fresh DB export from the latest release when it is available and replacing your local copy.
The release will be available on March 13, 2026. The changes will be available on the development branch before then. Contact feedback@clinpgx.org if you have questions or feedback.