Skip to content
Agentmart
Submit a tool

variant-analysis-tools

Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage.

Skill by DrugClaw

IndexedApache-2.0★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drugclaw-variant-analysis-tools

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage. Use when the user asks to inspect a VCF, count mutation classes, filter by VAF or depth, summarize genes or consequences, or prepare a local variant report before downstream annotation.

Use cases: documents, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/variant-analysis-tools

What's inside

Skill name
variant-analysis-tools
Description
Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage. Use when the user asks to inspect a VCF, count mutation classes, filter by VAF or depth, summarize genes or consequences, or prepare a local variant report before downstream annotation.
License
Apache-2.0
Instructions
83 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • variant_report.py · templates/

SKILL.md (first lines)

# Variant Analysis Tools

Use this skill when the user provides a VCF or BCF and wants concrete counts, filtering, or mutation summaries instead of only database lookup.

Typical triggers:
- summarize the contents of a VCF or BCF
- count SNVs, indels, or structural variants
- filter by VAF, read depth, PASS status, or variant type
- exclude intronic or intergenic consequences from a local callset
- generate a machine-readable variant table before ClinVar, gnomAD, or dbSNP follow-up

## Environment Check

```bash
which python3 || true
python3 - <<'PY'
mods = ["pysam"]
for name in mods:
    try:
        __import__(name)
        print(f"{name}: ok")
    except Exception as exc:
        print(f"{name}: missing ({exc})")
PY
```

Do not claim VCF analysis ran if `pysam` is unavailable.

## Bundled Asset

- `templates/variant_report.py`

## Preferred Workflow

1. Confirm which sample to read when the VCF is multi-sample.
2. Decide whether the user wants raw counts, filtered rows, or both.
3. Apply explicit filters for VAF, depth, PASS status, and consequence terms.
4. Export the filtered table plus a summary JSON.
5. If the user wants clinical significance or population frequency, hand the filtered rows to `bio-db-tools` for ClinVar, gnomAD, or dbSNP follow-up.

## Quick Start

```bash
python3 templates/variant_report.py \
  --input cohort/sample.vcf.gz \
  --sample TUMOR \
  --pass-only \
  --min-vaf 0.05 \
  --min-depth 20 \
  --exclude-consequence intronic \
  --exclude-consequence intergenic \
  --output variants/sample_filtered.csv \
  --summary variants/sample_filtered.json
```

Structural-variant focused example:

```bash
python3 templates/variant_report.py \
  --input sv_calls.vcf.gz \
  --include-variant-type DEL \
  --include-variant-type DUP \
  --output variants/sv_subset.csv \
  --summary variants/sv_subset.json
```

## Output Expectations

Good answers should mention:
- the exact variant file and sample used
- which filters were applied
- total records seen versus retained
- variant-type and consequence distributions
- top affected genes after filtering
- where the CSV and summary JSON were written

## Related Skills

For ClinVar, Ensembl, gnomAD, or dbSNP lookups, activate `bio-db-tools`.
For statistical testing or survival modeling on variant-derived burden tables, activate `stat-modeling-tools` or `survival-analysis-tools`.
For target-level interpretation around genes hit by the variants, activate `target-intelligence-tools`.

From DrugClaw/DrugClaw, Apache-2.0.

More from DrugClaw/DrugClaw

Signals

Stars
87
Forks
8
Open issues
1
Last commit (this folder)
Mar 11, 2026 (7 months ago)
Last release
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DrugClaw

Cite this page

variant-analysis-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-variant-analysis-tools (last updated 2026-10-24)