vimalinx/bio-agent / .claude/skills/vcf-isec
vcf-isec
UnverifiedUse when you need to compute intersections, unions, or complements between bgzipped and tabix-indexed VCF or tab-delimited files.
vcf-isec
Quick Start
- Command:
vcf-isec [OPTIONS] file1.vcf file2.vcf ... - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/vcf-isec - Full reference: See
references/help.md
When To Use This Tool
- Compute intersections, unions, complements, or Venn-style set outputs across multiple indexed VCFs.
- Compare concordance or exclusivity between callsets.
- Work on either VCFs or other tab-delimited region files when positions are indexable.
- Use it when set logic matters more than multi-sample merging.
Common Patterns
# 1) Keep positions present in at least two files
vcf-isec \
-n +2 \
a.vcf.gz b.vcf.gz c.vcf.gz \
> shared.vcf
# 2) Output positions unique to the first file
vcf-isec \
-c \
a.vcf.gz b.vcf.gz c.vcf.gz \
> a_only.vcf
# 3) Create Venn-style output files
vcf-isec \
-p isec_out \
a.vcf.gz b.vcf.gz c.vcf.gz
Recommended Workflow
- Bgzip and index all inputs first.
- Decide whether you want count-based set logic (
-n), complement (-c), or multi-output decomposition (-p). - Add
-aif you want to ignore non-PASS records during comparison. - Review outputs carefully because records from different files can intermix in surprising ways.
Guardrails
- Inputs must be bgzipped and tabix-indexed unless you are using the tab-delimited mode explicitly with
-t. -fforces past differing columns or VCF versions; only do that when you understand the compatibility risk.-oprints only entries from the left-most file even when set logic uses all files.- Nearby indels may be normalized differently across callers, so
-wcan materially change what is considered shared.
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 |