Clinical-grade pharmacogenomic analysis — determines how you metabolize drugs based on your DNA. The same tool hospitals use for precision medicine.
Identifies which drugs work well, which need dose adjustments, and which to avoid entirely. Covers 23 pharmacogenes affecting hundreds of medications.
2.15.5 for reproducibility. Newer PharmCAT releases may exist upstream, but step 7 and step 27 should be revalidated together before changing versions.pgkb/pharmcat:2.15.5
SAMPLE=your_sample
GENOME_DIR=/path/to/your/data
# Step 1: preprocess the VCF against the GRCh38 reference
docker run --rm \
--cpus 2 --memory 4g \
-v ${GENOME_DIR}/${SAMPLE}/vcf:/data \
-v ${GENOME_DIR}/reference:/ref \
pgkb/pharmcat:2.15.5 \
python3 /pharmcat/pharmcat_vcf_preprocessor.py \
-vcf /data/${SAMPLE}.vcf.gz \
-refFna /ref/Homo_sapiens_assembly38.fasta \
-o /data/ \
-bf ${SAMPLE}
# Step 2: run PharmCAT on the preprocessed VCF
docker run --rm \
--cpus 2 --memory 4g \
-v ${GENOME_DIR}/${SAMPLE}/vcf:/data \
pgkb/pharmcat:2.15.5 \
java -jar /pharmcat/pharmcat.jar \
-vcf /data/${SAMPLE}.preprocessed.vcf.bgz \
-o /data/ \
-bf ${SAMPLE} \
-reporterJson
${SAMPLE}.report.json)${SAMPLE}.preprocessed.vcf.bgz) generated as an intermediate| Gene | Drugs Affected | Example | |—|—|—| | CYP2C19 | SSRIs, PPIs, clopidogrel | 1/17 = rapid → SSRIs fail faster | | CYP2D6 | 25% of all drugs, opioids, tamoxifen | Complex — may need BAM-based calling | | UGT1A1 | Irinotecan, bilirubin clearance | 28/28 = Gilbert’s syndrome | | DPYD | 5-FU, capecitabine (chemo) | Poor = lethal toxicity | | NAT2 | Isoniazid, hydralazine | Slow acetylator = increased toxicity |
Not called — gene has pseudogene homology that confounds VCF-based calling. Use Cyrius or StellarPGx (BAM-based) if CYP2D6 is critical.27-cpic-lookup.sh) because it parses the JSON output directly.pgkb/pharmcat:2.15.5 for reproducibility, but upstream PharmCAT keeps moving. Latest known upstream release when this doc was last checked was 3.2.0 (2026-02-25).