bio-clinical-databases-pharmacogenomics
Installation
SKILL.md
Version Compatibility
Reference examples tested with: pandas 2.2+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Pharmacogenomics
PharmGKB REST API
Goal: Retrieve drug-gene clinical annotations and dosing guidelines from PharmGKB.
Approach: Query PharmGKB REST endpoints by gene symbol or drug name and parse JSON annotation records.