Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Detects somatic copy number variants from WES, WGS, or targeted BAMs with CNVkit, exporting VCF, SEG, and plots.
64% 91%+27 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 14 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
CNVkit detects somatic copy number variants (CNVs) from whole-exome sequencing (WES), whole-genome sequencing (WGS), or targeted panel BAM files. It calculates read depth in both on-target (capture) bins and off-target (antitarget) bins, corrects for GC bias and library depth, segments the log2 copy ratio profile with circular binary segmentation (CBS) or a hidden Markov model (HMM), and calls amplifications and deletions. CNVkit provides both a CLI (cnvkit.py) and a Python API (cnvlib) for integration into analysis pipelines, and produces scatter plots, chromosome diagrams, heatmaps, and export files in VCF, BED, and SEG formats.
--method wgs modecnvkit.py scatter/diagramgatk DenoiseReadCounts / gatk ModelSegments) instead for deep WGS cohorts with large matched panel-of-normals (PoN); CNVkit is better suited for targeted/exome datacnvlib (installed as part of CNVkit), matplotlib, pandasCheck before installing: The tool may already be available in the current environment (e.g., inside a
pixi/condaenv). Runcommand -v cnvkit.pyfirst and skip the install commands below if it returns a path. When running inside a pixi project, invoke the tool viapixi run cnvkit.pyrather than barecnvkit.py.
# Install CNVkit via conda (recommended — handles R/DNAcopy dependency)
conda install -c bioconda cnvkit
# Or via pip (requires R + DNAcopy already installed)
pip install cnvkit
# Verify
cnvkit.py version
# cnvkit 0.9.10
# Install R DNAcopy (for CBS segmentation)
Rscript -e 'if (!requireNamespace("BiocManager")) install.packages("BiocManager"); BiocManager::install("DNAcopy")'
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.