bio-clinical-databases-pharmacogenomics
Query PharmGKB and CPIC for drug-gene interactions, pharmacogenomic annotations, and dosing guidelines. Use when predicting drug response from genetic variants or implementing clinical pharmacogenomics.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-pharmacogenomics --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Version Compatibility Reference examples tested with: pandas 2.2+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(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. **"Find pharmacogenomic annotations for this gene"** → Query PharmGKB for clinical annotations linking genes to drug response. - Python: `requests.get()` against PharmGKB API (requests) ### Query Drug-Gene Relationships ```python import requests def get_pharmgkb_annotations(gene_symbol): '''Get PharmGKB clinical annotations for a gene''' url = f'https://api.pharmgkb.org/v1/data/clinicalAnnotation' params = {'view': 'base', 'location.genes.symbol': gene_symbol} response = requests.get(url, params=params) return response.json()['data'] annotations = get_pharmgkb_annotation
- Version Compatibility
- PharmGKB REST API
- Query Drug-Gene Relationships
- Query by Drug
- Get Dosing Guidelines
- Star Allele Interpretation
- CYP2D6 Metabolizer Status
- CYP2C19 Interpretation
- Drug Interaction Lookup
- Common PGx Gene-Drug Pairs
- Batch PGx Annotation
- Related Skills
What does the bio-clinical-databases-pharmacogenomics skill do?
Query PharmGKB and CPIC for drug-gene interactions, pharmacogenomic annotations, and dosing guidelines. Use when predicting drug response from genetic variants or implementing clinical pharmacogenomics.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-pharmacogenomics --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
