genomics-cnv-calling

genomics-cnv-calling is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 95 tokens per session (1,040 once invoked), scanned A, original, Apache-2.0.

A tool for turning bin-level log2-ratio data from exome or whole-genome sequencing into copy-number segments. Copy-number variation means that parts of DNA occur in extra or missing copies.

In plain words
What is it for?
Use it with CSV output from CNVkit, GATK gCNV, or Control-FREEC to produce segment tables, chromosome summaries, and the fraction of the genome affected. It is not for single-cell or spatial data.
Why use it?
It removes the manual work of grouping nearby coverage measurements and labeling them as amplification, gain, neutral, loss, or deep deletion.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with CSV output from CNVkit, GATK gCNV, or Control-FREEC to produce segment tables, chromosome summaries, and the fraction of the genome affected. It is not for single-cell or spatial data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/genomics-cnv-calling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TianGzlab/OmicsClaw --skill genomics-cnv-calling
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for genomics-cnv-calling

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-cnv-calling/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-cnv-calling)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-cnv-calling"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-cnv-calling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for genomics-cnv-calling

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-cnv-calling"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-cnv-calling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,040 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01040
Opus 5.5 $0.00038 $0.00416
Sonnet 5.5 $0.00019 $0.00208
Haiku 4.5 $0.00010 $0.00104

Measured 17d ago against content hash 07b7ec1f8865, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

genomics-cnv-calling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (_api.py, examples/example_step.py, genomics_cnv_calling.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/genomics/genomics-cnv-calling/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

genomics-cnv-calling

When to use

Load this skill for the file-based analysis named in the description. The function library and CLI share the same calculations; no external aligner, assembler, caller or annotation service is started.

Use from a step

from skills._sdk.notebook import load_skill, read_input, write_output
library = load_skill("genomics-cnv-calling")
data = read_input("input.csv", reader=library.read_bins)
result = library.analyze(data)
write_output(result, "tables/result.csv")
write_output(library.copy_ratio_figure(result), "figures/distribution.png")

Run examples/example_step.py through the step runner for a small, hand-worked synthetic fixture. It asserts known summary values. The reader materializes the input in memory; use bounded FASTQ reads or pre-filter large genomic files before loading them.

API

read_bins(path: str | Path) -> pd.DataFrame

Read a bin CSV through read_input(path, reader=library.read_bins).

:param path: CSV containing chrom, start, end and log2_ratio. :returns: Bin table. :raises ValueError: The CSV cannot be parsed.

analyze(data: pd.DataFrame, *, method: str='cbs', alpha: float=0.01) -> pd.DataFrame

Return new CNV segments from bin-level log2 ratios; leave data unchanged.

:param data: Bins with chrom, start, end and finite log2_ratio. :param method: CLI default cbs, or none to classify individual bins. :param alpha: CLI default 0.01; smaller values require stronger splits. :returns: Segments with cn_state, estimated_cn and attrs['run_info']. :raises ValueError: Columns, coordinates, method or alpha are invalid.

run_info(data: pd.DataFrame, *, keep: bool=True) -> dict

Return analysis diagnostics and numeric summary.

:param data: Result returned by analyze. :param keep: Keep diagnostics by default; the CLI passes False. :returns: Independent copy of run diagnostics. :raises ValueError: analyze has not populated diagnostics.

Read the full file on GitHub · 129 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +34 lines 07b7ec1f8865
  2. 1mo ago First seen · 95 lines · 95 tokens per session scan A 6809295b1398

Subscribe to this mod's changes

genomics-cnv-calling is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 18d ago), licensed Apache-2.0. It adds 95 tokens to every session and 1,040 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

biomcp-research

Do biomedical literature and variant research with the BioMCP CLI, and file what you learn about the tool itself as issues in the biomcp repo.

genomoncology/biomcp · 36 tokens

nfcore-scrnaseq-wrapper

Wrapper skill for running nf-core/scrnaseq 4.1.0 upstream single-cell RNA-seq preprocessing from FASTQ with strict preflight, reproducibility outputs, and downstream handoff to ClawBio scRNA skills.

ClawBio/ClawBio · 55 tokens

nfcore-rnaseq-wrapper

Wrapper skill for running nf-core/rnaseq bulk RNA-seq preprocessing from FASTQ or BAM inputs with strict preflight, reproducibility outputs, and downstream handoff to ClawBio bulk RNA-seq DE skills.

ClawBio/ClawBio · 51 tokens

deepspot-m

Transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Scores a 224x224 tile and returns per-gene log1p-CPM values for any HGNC symbols you ask for, with a CSV, a report and a reproducibility bundle.

ClawBio/ClawBio · 62 tokens

locuscompare-region-render

Render a 4-panel regional LocusCompare diagnostic for one (lead variant, exposure study, outcome study) tuple - overlays GWAS Manhattan, QTL Manhattan, GENCODE gene track, and cross-trait scatter colored by LD r². Use when an agent needs visual confirmation that two GWAS / QTL signals share the same causal variant…

ClawBio/ClawBio · 128 tokens

claw-amplicon-qc

16S/18S rRNA amplicon preprocessing — from raw paired-end FASTQ files through N removal and primer trimming, producing outputs ready for DADA2 quality filtering and denoising. Deliberately stops before quality-filtering decisions that require researcher judgment.

ClawBio/ClawBio · 63 tokens