vimalinx/bio-agent / .claude/skills/vcfutils-pl
vcfutils-pl
UnverifiedUse when working with VCF file utilities from the bcftools bioconda package.
vcfutils-pl
Quick Start
- Command:
vcfutils.pl <command> [arguments] - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/vcfutils.pl - Reference: See references/help.md for detailed usage
When To Use This Tool
- Run legacy VCF helper subcommands bundled with the
bcftoolstoolchain. - Subset samples, list sample names, or fill
AC/ANcounts in VCF records. - Compute quick quality statistics or apply the legacy
varFilter. - Convert all-site VCF output into consensus FASTQ with
vcf2fq.
Common Patterns
# 1) List sample names in a VCF
vcfutils.pl \
listsam \
cohort.vcf
# 2) Fill AC/AN fields from genotypes
vcfutils.pl \
fillac \
cohort.vcf \
> cohort.with-ac.vcf
# 3) Apply the legacy short-variant filter helper
vcfutils.pl \
varFilter \
cohort.vcf \
> cohort.filtered.vcf
# 4) Build a consensus FASTQ from an all-site VCF
vcfutils.pl \
vcf2fq \
all-sites.vcf \
> consensus.fq
Recommended Workflow
- Start by choosing the subcommand that matches the task, because
vcfutils.plis a command multiplexer rather than a single-purpose tool. - Validate whether the chosen subcommand expects ordinary VCF input, an all-site VCF, a
.fai, or bcftools-specific annotations. - Run the subcommand and redirect output into a new file, because most modes write transformed text to stdout.
- Re-validate the resulting VCF/FASTQ before plugging it into downstream analysis.
Guardrails
- The first argument must be a subcommand such as
listsam,fillac,qstats,varFilter, orvcf2fq;-h,--help, and--versionare not valid top-level help flags. fillacexpects theGTfield to be present and to appear first in the FORMAT column.vcf2fqis intended for all-site, position-sorted VCF input and will complain about unsorted data.varFilterand some related commands rely on annotations produced by the SAMtools/BCFtools legacy calling pipeline.
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 |