name: 'cnv-caller-agent'
description: 'AI-enhanced copy number variation calling and analysis from sequencing data for cancer genomics, constitutional CNV detection, and chromosomal aberration characterization.'
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
- read_file
- run_shell_command
CNV Caller Agent
The CNV Caller Agent provides comprehensive AI-enhanced copy number variation analysis from WGS, WES, and targeted sequencing for cancer genomics and constitutional CNV detection.
When to Use This Skill
- When calling somatic CNVs from tumor-normal paired sequencing.
- To detect constitutional CNVs from germline sequencing.
- For allele-specific copy number analysis.
- When characterizing focal amplifications and deletions in cancer.
- To assess tumor purity and ploidy from CNV data.
Core Capabilities
Somatic CNV Calling: Detect tumor-specific copy number alterations.
Germline CNV Detection: Identify constitutional CNVs for rare disease.
Allele-Specific Analysis: Determine allele-specific copy number and LOH.
Purity/Ploidy Estimation: Estimate tumor content and genome doubling.
Focal Event Detection: Identify amplifications and deletions of driver genes.
Segmentation Optimization: AI-enhanced breakpoint detection.
Workflow
Input: BAM files (tumor/normal), or targeted panel data.
Coverage Normalization: GC correction, mappability adjustment.
Segmentation: Identify regions of consistent copy number.
Allele-Specific: Calculate B-allele frequency for heterozygosity.
Purity/Ploidy: Estimate sample parameters.
Calling: Assign integer copy number states.
Output: Segmented CNV calls, purity/ploidy, driver events.
Example Usage
User: "Call somatic copy number alterations from this tumor-normal WES pair."
Agent Action:
python3 Skills/Genomics/CNV_Caller_Agent/cnv_caller.py \
--tumor tumor.bam \
--normal normal.bam \
--reference GRCh38.fa \
--method facets \
--targets exome_targets.bed \
--driver_genes cancer_genes.txt \
--output cnv_results/
CNV Calling Methods
| Tool |
Application |
Key Features |
| FACETS |
Tumor WES |
Purity/ploidy, allele-specific |
| ASCAT |
Tumor WGS/arrays |
Allele-specific, multi-clone |
| CNVkit |
WES/targeted |
Hybrid reference approach |
| GATK CNV |
WES/WGS |
GATK ecosystem integration |
| Purple |
WGS |
GRIDSS integration, comprehensive |
| CONICS |
scRNA-seq |
Single-cell CNV inference |
Key Output Metrics
| Metric |
Description |
Interpretation |
| Purity |
Tumor fraction |
Sample quality |
| Ploidy |
Average copy number |
Genome doubling |
| LOH |
Loss of heterozygosity |
Regions of allele loss |
| SCNA burden |
Total altered fraction |
Genomic instability |
| Focal events |
Amplifications/deletions |
Driver candidates |
Cancer Driver CNVs
| Gene |
Alteration |
Cancer Type |
| ERBB2 (HER2) |
Amplification |
Breast, gastric |
| MYC |
Amplification |
Many cancers |
| EGFR |
Amplification |
Lung, GBM |
| CDK4/MDM2 |
Amplification |
Sarcoma, GBM |
| CDKN2A |
Deletion |
Many cancers |
| RB1 |
Deletion |
Many cancers |
| PTEN |
Deletion |
Prostate, GBM |
AI/ML Enhancements
Segmentation:
- Deep learning for breakpoint detection
- Noise reduction in low-coverage data
- Improved sensitivity for focal events
Quality Prediction:
- Sample quality scoring
- Artifact detection
- Confidence estimation
Driver Prioritization:
- GISTIC-style analysis
- Functional impact scoring
- Pan-cancer frequency context
Allele-Specific Copy Number
Total CN = Major allele + Minor allele
Examples:
- Normal: 1 + 1 = 2 (diploid)
- CN gain: 2 + 1 = 3 (trisomy)
- CN-LOH: 2 + 0 = 2 (normal total, LOH)
- Homozygous deletion: 0 + 0 = 0
- High amplification: 10 + 0 = 10 (focal amp)
Prerequisites
- Python 3.10+
- CNV calling tools (FACETS, CNVkit, etc.)
- Reference genome and annotations
- Sufficient memory for WGS (16GB+)
Related Skills
- Variant_Interpretation - For CNV annotation
- HRD_Analysis_Agent - For HRD scoring from CNV
- Pan_Cancer_MultiOmics_Agent - For pan-cancer CNV context
Quality Considerations
- Coverage depth: Higher = better resolution
- Tumor purity: Low purity challenges calling
- Normal match: Best with matched normal
- Target design: Uniform coverage for panels
- GC bias: Proper normalization critical
Author
AI Group - Biomedical AI Platform
1---2name: cnv-caller-agent3description: <!--4---5<!--6# COPYRIGHT NOTICE7# This file is part of the "Universal Biomedical Skills" project.8# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>9# All Rights Reserved.10#11# This code is proprietary and confidential.12# Unauthorized copying of this file, via any medium is strictly prohibited.13#14# Provenance: Authenticated by MD BABU MIA1516-->1718---19name: 'cnv-caller-agent'20description: 'AI-enhanced copy number variation calling and analysis from sequencing data for cancer genomics, constitutional CNV detection, and chromosomal aberration characterization.'21measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.22allowed-tools:23 - read_file24 - run_shell_command25---262728# CNV Caller Agent2930The **CNV Caller Agent** provides comprehensive AI-enhanced copy number variation analysis from WGS, WES, and targeted sequencing for cancer genomics and constitutional CNV detection.3132## When to Use This Skill3334* When calling somatic CNVs from tumor-normal paired sequencing.35* To detect constitutional CNVs from germline sequencing.36* For allele-specific copy number analysis.37* When characterizing focal amplifications and deletions in cancer.38* To assess tumor purity and ploidy from CNV data.3940## Core Capabilities41421. **Somatic CNV Calling**: Detect tumor-specific copy number alterations.43442. **Germline CNV Detection**: Identify constitutional CNVs for rare disease.45463. **Allele-Specific Analysis**: Determine allele-specific copy number and LOH.47484. **Purity/Ploidy Estimation**: Estimate tumor content and genome doubling.49505. **Focal Event Detection**: Identify amplifications and deletions of driver genes.51526. **Segmentation Optimization**: AI-enhanced breakpoint detection.5354## Workflow55561. **Input**: BAM files (tumor/normal), or targeted panel data.57582. **Coverage Normalization**: GC correction, mappability adjustment.59603. **Segmentation**: Identify regions of consistent copy number.61624. **Allele-Specific**: Calculate B-allele frequency for heterozygosity.63645. **Purity/Ploidy**: Estimate sample parameters.65666. **Calling**: Assign integer copy number states.67687. **Output**: Segmented CNV calls, purity/ploidy, driver events.6970## Example Usage7172**User**: "Call somatic copy number alterations from this tumor-normal WES pair."7374**Agent Action**:75```bash76python3 Skills/Genomics/CNV_Caller_Agent/cnv_caller.py \77 --tumor tumor.bam \78 --normal normal.bam \79 --reference GRCh38.fa \80 --method facets \81 --targets exome_targets.bed \82 --driver_genes cancer_genes.txt \83 --output cnv_results/84```8586## CNV Calling Methods8788| Tool | Application | Key Features |89|------|-------------|--------------|90| FACETS | Tumor WES | Purity/ploidy, allele-specific |91| ASCAT | Tumor WGS/arrays | Allele-specific, multi-clone |92| CNVkit | WES/targeted | Hybrid reference approach |93| GATK CNV | WES/WGS | GATK ecosystem integration |94| Purple | WGS | GRIDSS integration, comprehensive |95| CONICS | scRNA-seq | Single-cell CNV inference |9697## Key Output Metrics9899| Metric | Description | Interpretation |100|--------|-------------|----------------|101| Purity | Tumor fraction | Sample quality |102| Ploidy | Average copy number | Genome doubling |103| LOH | Loss of heterozygosity | Regions of allele loss |104| SCNA burden | Total altered fraction | Genomic instability |105| Focal events | Amplifications/deletions | Driver candidates |106107## Cancer Driver CNVs108109| Gene | Alteration | Cancer Type |110|------|------------|-------------|111| ERBB2 (HER2) | Amplification | Breast, gastric |112| MYC | Amplification | Many cancers |113| EGFR | Amplification | Lung, GBM |114| CDK4/MDM2 | Amplification | Sarcoma, GBM |115| CDKN2A | Deletion | Many cancers |116| RB1 | Deletion | Many cancers |117| PTEN | Deletion | Prostate, GBM |118119## AI/ML Enhancements120121**Segmentation**:122- Deep learning for breakpoint detection123- Noise reduction in low-coverage data124- Improved sensitivity for focal events125126**Quality Prediction**:127- Sample quality scoring128- Artifact detection129- Confidence estimation130131**Driver Prioritization**:132- GISTIC-style analysis133- Functional impact scoring134- Pan-cancer frequency context135136## Allele-Specific Copy Number137138```139Total CN = Major allele + Minor allele140141Examples:142- Normal: 1 + 1 = 2 (diploid)143- CN gain: 2 + 1 = 3 (trisomy)144- CN-LOH: 2 + 0 = 2 (normal total, LOH)145- Homozygous deletion: 0 + 0 = 0146- High amplification: 10 + 0 = 10 (focal amp)147```148149## Prerequisites150151* Python 3.10+152* CNV calling tools (FACETS, CNVkit, etc.)153* Reference genome and annotations154* Sufficient memory for WGS (16GB+)155156## Related Skills157158* Variant_Interpretation - For CNV annotation159* HRD_Analysis_Agent - For HRD scoring from CNV160* Pan_Cancer_MultiOmics_Agent - For pan-cancer CNV context161162## Quality Considerations1631641. **Coverage depth**: Higher = better resolution1652. **Tumor purity**: Low purity challenges calling1663. **Normal match**: Best with matched normal1674. **Target design**: Uniform coverage for panels1685. **GC bias**: Proper normalization critical169170## Author171172AI Group - Biomedical AI Platform173174175<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->