Tumor clonal evolution agent

From vitaclaw/vitaclaw · View interactive version

Tumor clonal evolution agent is an AI agent skill from the GitHub repository vitaclaw/vitaclaw. AI-powered analysis of tumor clonal architecture, subclonal dynamics, and evolutionary trajectories from multi-region sequencing and longitudinal liquid biopsy data.

How to use this skill

Skill file

<!--

COPYRIGHT NOTICE

This file is part of the "Universal Biomedical Skills" project.

Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>

All Rights Reserved.

#

This code is proprietary and confidential.

Unauthorized copying of this file, via any medium is strictly prohibited.

#

Provenance: Authenticated by MD BABU MIA

-->


name: 'tumor-clonal-evolution-agent'

description: 'AI-powered analysis of tumor clonal architecture, subclonal dynamics, and evolutionary trajectories from multi-region sequencing and longitudinal liquid biopsy data.'

measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.

allowed-tools:


Tumor Clonal Evolution Agent

The Tumor Clonal Evolution Agent analyzes intratumoral heterogeneity (ITH), reconstructs tumor phylogenies, and tracks clonal dynamics over time. It integrates multi-region sequencing data, longitudinal liquid biopsies, and mathematical modeling to predict treatment response and resistance emergence.

When to Use This Skill

Core Capabilities

  1. Clonal Deconvolution: Identifies tumor subpopulations and estimates their cellular fractions using variant allele frequencies (VAF) from bulk sequencing.
  1. Phylogenetic Reconstruction: Builds tumor evolutionary trees showing relationships between subclones and their mutational acquisition order.
  1. Longitudinal Tracking: Monitors subclone dynamics over time using ctDNA variant frequencies from serial blood draws.
  1. Resistance Prediction: Applies Bayesian evolutionary frameworks to forecast emergence of resistant clones and time to progression.
  1. Spatial ITH Mapping: Integrates multi-region data to visualize spatial distribution of subclones across tumor sites.
  1. Fitness Estimation: Calculates subclone fitness parameters to identify aggressive populations driving tumor progression.

Workflow

  1. Input: Multi-region or longitudinal mutation data (VCF/MAF), tumor purity estimates, copy number profiles.
  1. Clustering: Cluster mutations into subclones using PyClone, SciClone, or MOBSTER.
  1. Phylogeny: Reconstruct evolutionary trees using CITUP, PhyloWGS, or CALDER.
  1. Modeling: Apply mathematical models (Lotka-Volterra, birth-death) to estimate dynamics.
  1. Prediction: Forecast treatment response and resistance timeline.
  1. Output: Phylogenetic trees, subclone trajectories, resistance predictions, actionable insights.

Example Usage

User: "Analyze the clonal evolution from these 6 longitudinal ctDNA samples and predict time to progression."

Agent Action:

python3 Skills/Oncology/Tumor_Clonal_Evolution_Agent/clonal_evolution.py \
    --input longitudinal_ctdna_variants.maf \
    --timepoints 0,4,8,12,16,20 \
    --tumor_burden cea_values.csv \
    --method bayesian_evolution \
    --predict_ttp true \
    --output evolution_analysis/

Key Methods and Algorithms

| Tool/Method | Application | Reference |

|-------------|-------------|-----------|

| PyClone-VI | Bayesian clustering of mutations | Nature Methods 2014 |

| MOBSTER | Subclonal deconvolution with selection | Nature Genetics 2020 |

| PhyloWGS | Phylogenetic tree reconstruction | Genome Biology 2015 |

| CALDER | Copy-number aware phylogeny | Nature Methods 2019 |

| CHESS | Cancer heterogeneity from single samples | Cell Systems 2019 |

Mathematical Framework

The agent applies evolutionary dynamics models:

Lotka-Volterra Competition:

dNi/dt = ri * Ni * (1 - sum(aij * Nj) / Ki)

Where:

VAF Dynamics Modeling:

Prerequisites

Related Skills

Clinical Applications

  1. Treatment Selection: Identify dominant subclones to target
  2. Resistance Monitoring: Detect emerging resistant populations early
  3. Prognosis: Predict time to treatment failure
  4. Combination Therapy: Design strategies targeting multiple subclones

Author

AI Group - Biomedical AI Platform

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.