Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Filters, merges, annotates, normalizes and queries VCF/BCF variant files with bcftools, a samtools companion in HTSlib.
91% 100%+9 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
62 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
bcftools is the standard command-line toolkit for processing VCF (Variant Call Format) and BCF (Binary Call Format) files in the HTSlib ecosystem. It covers the complete post-variant-calling workflow: format conversion, quality filtering, variant normalization, multi-sample merging, annotation with external databases, genotype extraction, and QC statistics. bcftools uses streaming by design — most commands read from stdin and write to stdout, making it ideal for memory-efficient pipelines on large cohorts.
GATK HaplotypeCaller instead when calling variants with local realignment in human samplesVCFtools instead for population genetics statistics (Fst, LD, Hardy-Weinberg)bcftools in the HTSlib pipeline; use picard for duplicate-marking and library metrics.vcf.gz + .vcf.gz.tbi) for region queriessamtools for BAM processing; tabix for VCF indexingCheck before installing: The tool may already be available in the current environment (e.g., inside a
pixi/condaenv). Runcommand -v bcftoolsfirst and skip the install commands below if it returns a path. When running inside a pixi project, invoke the tool viapixi run bcftoolsrather than barebcftools.
# Bioconda (recommended — installs HTSlib suite)
conda install -c bioconda bcftools
# Homebrew (macOS)
brew install bcftools
# Verify
bcftools --version | head -1
# bcftools 1.20
# Index a VCF for region queries
bcftools index -t variants.vcf.gz # creates .tbi
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.