cnvkit-copy-number

Detect somatic copy number variants from sequencing BAM files using CNVkit.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill cnvkit-copy-number
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cnvkit-copy-number
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/cnvkit-copy-number
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill cnvkit-copy-number

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cnvkit, matplotlib, pandas, samtools, R-DNAcopy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the detection of somatic copy number variants (CNVs) from sequencing data, which is crucial for understanding cancer genomics and identifying potential therapeutic targets.

Core Features & Use Cases

  • Somatic CNV Detection: Identifies amplifications and deletions in tumor samples using WES, WGS, or targeted panels.
  • Purity & Ploidy Estimation: Estimates tumor purity and ploidy to refine CNV calls.
  • Data Export: Generates output files in standard formats (VCF, SEG, BED) for downstream analysis and visualization.
  • Use Case: Analyze a tumor-normal pair of WES samples to identify regions of amplification or homozygous deletion, and export these findings for visualization in cBioPortal.

Quick Start

Run the cnvkit.py batch command to perform a paired tumor/normal CNV analysis on your WES data.

Frequently Asked Questions about cnvkit-copy-number

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect somatic copy number variants from WES or WGS BAM files?

Detect somatic copy number variants from WES, WGS, or targeted sequencing BAM files by normalizing coverage and segmenting copy ratios to call amplifications and deletions. The pipeline automates this detection for paired tumor-normal samples.

Can I estimate tumor purity and ploidy when calling copy number amplifications and deletions?

Estimate tumor purity and ploidy to refine copy number variant calls. The tool integrates purity and ploidy estimation directly into the segmentation and calling process for more accurate somatic mutation detection.

What sequencing data formats are supported for exporting copy number variation results?

Export copy number variation results in VCF, SEG, and BED formats for downstream analysis and visualization. These standard formats support integration with platforms like cBioPortal and other genomic pipelines.

What is the best way to integrate copy number variant detection into a custom bioinformatics pipeline?

Integrate copy number variant detection into a custom bioinformatics pipeline using both CLI and Python API interfaces. This allows automated batch processing of paired tumor-normal WES or WGS samples within existing workflows.

Do I need normal sample BAM files to detect somatic copy number variations?

Detect somatic copy number variations using paired tumor-normal BAM files. Normal samples are used to normalize coverage and accurately distinguish true somatic amplifications and deletions from sequencing artifacts.

What dependencies are required to run cnvkit for copy number variation analysis?

Running cnvkit for copy number variation analysis requires dependencies including matplotlib, pandas, samtools, and R-DNAcopy. These tools support coverage normalization, segmentation, and visualization of sequencing data.