vimalinx/bio-agent / .claude/skills/vcf-stats
vcf-stats
UnverifiedUse when computing statistics on VCF files, filtering variant data by quality or fields, or generating summary reports from gzipped VCF inputs.
vcf-stats
Quick Start
- Command:
vcf-stats [OPTIONS] file.vcf.gz - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/vcf-stats - Full reference: See
references/help.md
When To Use This Tool
- Generate summary statistics and sample-aware reports from a gzipped VCF.
- Slice statistics by FILTER, QUAL, INFO, FORMAT, or sample-specific fields.
- Produce reusable dump files or prefixed output directories from vcftools-style stats runs.
- Use it mainly when you are already in a vcftools workflow; for broader modern VCF reporting,
bcftools statsis often a better default.
Common Patterns
# 1) Generate stats with a quality and filter breakdown
vcf-stats \
file.vcf.gz \
-f FILTER,QUAL=10:200 \
-p out/
# 2) Generate stats for a single sample
vcf-stats \
file.vcf.gz \
-f SAMPLE/NA00001/DP=1:200 \
-p out/
# 3) Save a dump that can be replayed later
vcf-stats file.vcf.gz > perl.dump
Recommended Workflow
- Start from a gzipped VCF and decide whether you want all samples or a subset with
-s. - Specify one or more filter expressions with
-fto control which summaries are produced. - Use
-pto keep outputs grouped in a predictable directory or prefix. - Review the generated summaries before turning them into dashboards or QC gates.
Guardrails
- Input is expected to be a gzipped VCF.
-fexpressions are powerful but easy to misuse; double-check field paths likeINFO/INDELorSAMPLE/NAME/DP.- Excluding irrelevant samples with
-scan materially improve runtime on large cohorts. - This tool does not provide a normal
--versionpath; use-hfor interface confirmation.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |