Tumor Heterogeneity Agent
AI-powered intratumor heterogeneity analysis for clonal architecture reconstruction, subclonal evolution tracking, and therapy resistance prediction using multi-region and longitudinal sequencing.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install openclaw-medical-tumor-heterogeneity-agentManual setup by platform
Claude Code
~/.claude/skills/openclaw-medical-tumor-heterogeneity-agent/SKILL.md
Instructions
Tumor Heterogeneity Agent
The Tumor Heterogeneity Agent provides comprehensive analysis of intratumor heterogeneity (ITH) for understanding clonal architecture, tracking subclonal evolution, and predicting therapy resistance. It integrates multi-region sequencing, single-cell data, and longitudinal samples to reconstruct tumor phylogenies and identify actionable subclones.
When to Use This Skill
- When analyzing multi-region tumor sequencing for clonal architecture.
- For tracking clonal evolution under treatment pressure.
- To predict resistance emergence from subclonal populations.
- When assessing tumor heterogeneity impact on treatment response.
- For integrating single-cell and bulk sequencing for ITH analysis.
Core Capabilities
-
Clonal Deconvolution: Infer clonal populations and their frequencies.
-
Phylogeny Reconstruction: Build tumor evolutionary trees from variants.
-
Subclonal Tracking: Monitor subclone dynamics over time.
-
Resistance Prediction: Identify pre-existing resistant subclones.
-
Multi-Region Integration: Combine spatial heterogeneity data.
-
Single-Cell ITH: Integrate scDNA-seq for ground-truth clones.
Heterogeneity Metrics
| Metric | Definition | Clinical Relevance |
|---|---|---|
| MATH Score | Mutant-allele tumor heterogeneity | ITH quantification |
| Shannon Index | Clonal diversity | Evolutionary potential |
| Clone Count | Number of distinct clones | Complexity |
| Truncal Fraction | % truncal mutations | Targetability |
| ITH Score | Composite heterogeneity | Prognosis |
Workflow
-
Input: Multi-region/longitudinal WES/WGS, copy number, tumor purity.
-
Preprocessing: Variant calling, CNV calling, purity estimation.
-
CCF Estimation: Calculate cancer cell fraction for each mutation.
-
Clustering: Group mutations into clonal populations.
-
Phylogeny: Reconstruct evolutionary tree.
-
Temporal Analysis: Track clone dynamics over time.
-
Output: Clone structures, phylogenies, heterogeneity metrics.
Example Usage
User: "Analyze the clonal architecture of this multi-region lung tumor sequencing to understand heterogeneity and identify resistant subclones."
Agent Action:
python3 Skills/Oncology/Tumor_Heterogeneity_Agent/ith_analysis.py \
--multi_region_vcfs region1.vcf,region2.vcf,region3.vcf \
--cnv_segments cnv_calls.seg \
--purity 0.7,0.65,0.72 \
--sample_names Primary,Met1,Met2 \
--method pyclone-vi \
--phylogeny_method citup \
--output ith_analysis/
Deconvolution Methods
| Method | Approach | Best For |
|---|---|---|
| PyClone-VI | Variational inference | Large datasets |
| SciClone | Kernel density | High purity |
| EXPANDS | Probabilistic | Multi-region |
| Canopy | EM algorithm | CNV integration |
| Clonevol | Phylogeny-aware | Longitudinal |
| CITUP | Integer programming | Tree optimization |
Input Requirements
| Input | Format | Required |
|---|---|---|
| Somatic Variants | VCF with depth | Yes |
| Copy Number | SEG file | Yes |
| Tumor Purity | Float (0-1) | Yes |
| Sample Metadata | TSV | Yes |
| Normal BAM | BAM | Recommended |
Output Components
| Output | Description | Format |
|---|---|---|
| Clone Assignments | Mutation-to-clone mapping | .csv |
| Clone Frequencies | Per-sample clone fractions | .csv |
| Phylogenetic Tree | Newick and visualization | .nwk, .pdf |
| ITH Metrics | Heterogeneity scores | .json |
| Subclone Variants | Clone-specific mutations | .vcf |
| Evolution Plot | Clone dynamics over time | .png |
| Actionable Subclones | Druggable clone mutations | .csv |
Clonal Classification
| Clone Type | Definition | Implications |
|---|---|---|
| Truncal | Present in all samples | Ideal targets |
| Branch | Present in subset | Regional targets |
| Private | Single sample only | Local significance |
| Resistant | Expand under therapy | Resistance mechanism |
AI/ML Components
Clone Inference:
- Variational autoencoders for CCF estimation
- Dirichlet process mixture models
- Graph neural networks for phylogeny
Resistance Prediction:
- Time-series models for clone trajectories
- Classification of resistant signatures
- Drug-clone interaction prediction
Multi-Region Integration:
- Multi-task learning across regions
- Spatial models for regional patterns
- Transfer learning across cancers
Clinical Applications
| Application | ITH Insight | Clinical Action |
|---|---|---|
| Treatment Selection | Truncal vs branch targets | Prioritize truncal targets |
| Resistance Monitoring | Pre-existing resistant clones | Early combination therapy |
| Prognosis | ITH score | Risk stratification |
| Biomarker Development | Clonal biomarkers | Robust biomarker selection |
Cancer-Specific Patterns
| Cancer Type | Typical ITH | Key Drivers |
|---|---|---|
| Lung (NSCLC) | High | EGFR, KRAS subclonal |
| Breast | Moderate-High | PIK3CA, ESR1 evolution |
| Colorectal | Moderate | KRAS, BRAF clonal |
| Renal | Very High | VHL truncal, diverse branches |
| Melanoma | High | BRAF/NRAS truncal |
Prerequisites
- Python 3.10+
- PyClone-VI, SciClone
- CITUP, Clonevol
- CNVkit/FACETS for CNV
- R with clonal evolution packages
Related Skills
- ctDNA_Dynamics_MRD_Agent - Liquid biopsy tracking
- Single_Cell_CNV_Agent - scDNA-seq analysis
- HRD_Analysis_Agent - Genomic instability
- Pan_Cancer_MultiOmics_Agent - Multi-omic integration
Phylogeny Visualization
| View Type | Shows | Best For |
|---|---|---|
| Fish Plot | Clone dynamics over time | Longitudinal |
| Tree Diagram | Branching evolution | Multi-region |
| Muller Plot | Population dynamics | Treatment response |
| Clone Map | Spatial distribution | Multi-region spatial |
Special Considerations
- Sampling Bias: Multi-region captures more heterogeneity
- Purity Effects: Low purity reduces clone resolution
- CNV Complexity: High CNV burden complicates CCF
- Single-Cell Validation: Ground truth from scDNA-seq
- Temporal Resolution: Frequent sampling improves tracking
Resistance Mechanisms
| Mechanism | Detection | Intervention |
|---|---|---|
| Pre-existing resistant clone | Subclonal at baseline | Combination therapy |
| Acquired resistance | New clone emerges | Switch therapy |
| Phenotypic plasticity | Expression change | Monitor phenotype |
| Microenvironment | TME evolution | Immunotherapy |
Author
AI Group - Biomedical AI Platform
Security
Reviews (0)
Related skills
Browse all →More from OpenClaw Medical
View source →More Build skills
Browse category →Frequently asked questions about tumor-heterogeneity-agent
What does the tumor-heterogeneity-agent skill do?
AI-powered intratumor heterogeneity analysis for clonal architecture reconstruction, subclonal evolution tracking, and therapy resistance prediction using multi-region and longitudinal sequencing. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the tumor-heterogeneity-agent skill?
Run `npx @skills-hub-ai/cli install openclaw-medical-tumor-heterogeneity-agent` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/openclaw-medical-tumor-heterogeneity-agent/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does tumor-heterogeneity-agent work with?
tumor-heterogeneity-agent runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the tumor-heterogeneity-agent skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use tumor-heterogeneity-agent after installing it?
In Claude Code, type `/openclaw-medical-tumor-heterogeneity-agent` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the tumor-heterogeneity-agent skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.