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 guideline table now has a clinpgxid column instead of the pharmgkbid column. The pharmgkbid held an array of one or more IDs to PharmGKB Guidline Annotations. However, this new clinpgxid column contains one ID to an overall Guideline entity that is a better one-to-one match for this table.
  • The pair table and pair_view view changed the column name of pgkbcalevel to clinpgxlevel. The contents are logically the same, only the name is changed.
  • The drug table changed pharmgkbid to clinpgxid. The contents are logically the same, only the name is changed.
  • The gene table changed pharmgkbid to clinpgxid. 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.

Subscribe to ClinPGx Blog

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe