Comprehensive patient stratification for precision medicine by integrating genomic, clinical, and therapeutic data. Given a disease/condition, genomic data (germline variants, somatic mutations, expression), and optional clinical parameters, performs multi-phase analysis covering disease disambiguation, genetic risk assessment, disease-specific molecular stratification, pharmacogenomic profiling, comorbidity/DDI risk, pathway analysis, clinical evidence and guideline mapping, clinical trial matching, and integrated outcome prediction. Generates a quantitative Precision Medicine Risk Score (0-100) with risk tier assignment, treatment algorithm, pharmacogenomic guidance, clinical trial matches, and monitoring plan.
Transform patient genomic and clinical profiles into actionable risk stratification, treatment recommendations, and personalized therapeutic strategies.
Stratification means splitting patients into groups that respond differently to a treatment or have different prognoses. Ask these questions before running any tools:
Route to the correct Phase 3 path BEFORE running Phase 2 tools — cancer, metabolic, CVD, rare disease, and autoimmune pipelines require different stratifiers.
LOOK UP DON'T GUESS: Never assume a variant is pathogenic, never assume a gene is relevant to a disease, never assign metabolizer status without PharmGKB or CPIC evidence.
KEY PRINCIPLES:
Reference files (same directory):
TOOLS_REFERENCE.md - Tool parameters, response formats, phase-by-phase tool listsSCORING_REFERENCE.md - Scoring matrices, risk tiers, pathogenicity tables, PGx tablesREPORT_TEMPLATE.md - Output report template, treatment algorithms, completeness requirementsEXAMPLES.md - Six worked examples (cancer, metabolic, NSCLC, CVD, rare, neuro)QUICK_START.md - Sample prompts and output summaryWhen analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.
Apply when user asks about patient risk stratification, treatment selection, prognosis prediction, or personalized therapeutic strategy for any disease with genomic/clinical data.
NOT for (use other skills instead):
tooluniverse-variant-interpretationtooluniverse-immunotherapy-response-predictiontooluniverse-adverse-event-detectiontooluniverse-drug-target-validationtooluniverse-clinical-trial-matchingtooluniverse-drug-drug-interactiontooluniverse-polygenic-risk-scoreClassify into one category (determines Phase 3 routing):
| Category | Examples |
|---|---|
| CANCER | Breast, lung, colorectal, melanoma |
| METABOLIC | Type 2 diabetes, obesity, NAFLD |
| CARDIOVASCULAR | CAD, heart failure, AF |
| NEUROLOGICAL | Alzheimer, Parkinson, epilepsy |
| RARE/MONOGENIC | Marfan, CF, sickle cell, Huntington |
| AUTOIMMUNE | RA, lupus, MS, Crohn's |
See TOOLS_REFERENCE.md for full details. Key gotchas:
query (NOT q)variant_id (NOT rsid)species='homo_sapiens'query, case_sensitive, exact_match, limitgene_list is a STRING (space-separated), not array{articles: [...]}limit=1000 for all results{data: {entity: {field: ...}}} structurePhase 1: Disease Disambiguation & Profile Standardization
Phase 2: Genetic Risk Assessment
Phase 3: Disease-Specific Molecular Stratification (routes by disease type)
Phase 4: Pharmacogenomic Profiling
Phase 5: Comorbidity & Drug Interaction Risk
Phase 6: Molecular Pathway Analysis
Phase 7: Clinical Evidence & Guidelines
Phase 8: Clinical Trial Matching
Phase 9: Integrated Scoring & Recommendations
OpenTargets_get_disease_id_description_by_nameMyGene_query_genes to get Ensembl/Entrez IDsClinVar_search_variants, EnsemblVEP_annotate_rsid/_hgvsOpenTargets_target_disease_evidencegwas_get_associations_for_trait, OpenTargets_search_gwas_studies_by_diseasegnomad_get_variantgnomad_get_gene_constraints (pLI, LOEUF scores)Scoring: See SCORING_REFERENCE.md for genetic risk score component (0-35 points).
cBioPortal_get_mutations, HPA_get_cancer_prognostics_by_genefda_pharmacogenomic_biomarkers for FDA cutoffsGWAS_search_associations_by_gene, OpenTargets_target_disease_evidenceClinVar_search_variants for LDLR, APOB, PCSK9PharmGKB_get_clinical_annotations for SLCO1B1ClinVar_search_variantsUniProt_get_disease_variants_by_accessionScoring: See SCORING_REFERENCE.md for disease-specific tables.
PharmGKB_get_clinical_annotations, PharmGKB_get_dosing_guidelinesfda_pharmacogenomic_biomarkers (use limit=1000)PharmGKB_get_drug_detailsScoring: See SCORING_REFERENCE.md for PGx risk score (0-10 points).
OpenTargets_get_associated_targets_by_disease_efoIddrugbank_get_drug_interactions_by_drug_name_or_id, FDA_get_drug_interactions_by_drug_nameenrichr_gene_enrichment_analysis (libs: KEGG_2021_Human, Reactome_2022, GO_Biological_Process_2023)ReactomeAnalysis_pathway_enrichment, Reactome_map_uniprot_to_pathwaysSTRING_get_interaction_partners, STRING_functional_enrichmentOpenTargets_get_target_tractability_by_ensemblIDPubMed_Guidelines_Search (fallback: PubMed_search_articles)OpenTargets_get_associated_drugs_by_disease_efoId, FDA_get_indications_by_drug_namecivic_search_evidence_items, civic_search_assertionssearch_clinical_trials with condition + interventionsearch_clinical_trials for basket/umbrella trials| Score | Tier | Management |
|---|---|---|
| 75-100 | VERY HIGH | Intensive treatment, subspecialty referral, clinical trial |
| 50-74 | HIGH | Aggressive treatment, close monitoring |
| 25-49 | INTERMEDIATE | Standard guideline-based care, PGx-guided dosing |
| 0-24 | LOW | Surveillance, prevention, risk factor modification |
Generate report per REPORT_TEMPLATE.md. See SCORING_REFERENCE.md for detailed scoring matrices.
See EXAMPLES.md for six detailed worked examples: