Agent skill · Data & Analytics

bio-copy-number-cnv-visualization

Visualize copy number profiles, segments, and compare across samples. Create publication-quality plots of CNV data from CNVkit, GATK, or other callers. Use when creating genome-wide CNV plots, sample heatmaps, or chromosome-level visualizations.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill cnv-visualization-gptomics-bioskills-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/cnv-visualization-gptomics-bioskills-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# CNV Visualization ## CNVkit Built-in Plots ```bash # Scatter plot with segments cnvkit.py scatter sample.cnr -s sample.cns -o scatter.png # Scatter for specific chromosome cnvkit.py scatter sample.cnr -s sample.cns -c chr17 -o chr17_scatter.png # Ideogram diagram cnvkit.py diagram sample.cnr -s sample.cns -o diagram.pdf # Heatmap across samples cnvkit.py heatmap *.cns -o cohort_heatmap.pdf # Heatmap for specific region cnvkit.py heatmap *.cns -c chr17:7500000-7700000 -o tp53_region.pdf ``` ## Python: Genome-wide Profile ```python import pandas as pd import matplotlib.pyplot as plt import numpy as np def plot_cnv_profile(cnr_file, cns_file, output=None): '''Plot genome-wide CNV profile with segments.''' cnr = pd.read_csv(cnr_file, sep='\t') cns = pd.read_csv(cns_file, sep='\t') fig, ax = plt.subplots(figsize=(16, 4)) # Chromosome positions chroms = [f'chr{i}' for i in range(1, 23)] + ['chrX', 'chrY'] chrom_order = {c: i for i, c in enumerate(chroms)} cnr['chrom_num'] = cnr['chromosome'].map(chrom_order) cnr = cnr.dropna(subset=['chrom_num']) # Calculate cumulative position chrom_sizes = cnr.groupby('chromosome')['end'].max() cumsum = 0 chrom_starts = {} for chrom in chroms: if chr

What's inside
Steps it walks through
  1. CNVkit Built-in Plots
  2. Python: Genome-wide Profile
  3. Python: Single Chromosome Plot
  4. Python: Cohort Heatmap
  5. R: ggplot2 Visualization
  6. Circos-style Plot
  7. GATK Plot Commands
  8. Related Skills
Ships with 1 file
  • metadata.json
Commands it runs
Scatter plot with segments
cnvkit.py scatter sample.cnr -s sample.cns -o scatter.png
Scatter for specific chromosome
cnvkit.py scatter sample.cnr -s sample.cns -c chr17 -o chr17_scatter.png
Ideogram diagram
cnvkit.py diagram sample.cnr -s sample.cns -o diagram.pdf
Heatmap across samples
cnvkit.py heatmap *.cns -o cohort_heatmap.pdf
Heatmap for specific region
cnvkit.py heatmap *.cns -c chr17:7500000-7700000 -o tp53_region.pdf
More from claude-skill-registry
All skills →
About this skill
What does the bio-copy-number-cnv-visualization skill do?

Visualize copy number profiles, segments, and compare across samples. Create publication-quality plots of CNV data from CNVkit, GATK, or other callers. Use when creating genome-wide CNV plots, sample heatmaps, or chromosome-level visualizations.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill cnv-visualization-gptomics-bioskills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going