Skip to main content

VariantCentrifuge

CI Docker Coverage Docs Release Python License

A command-line tool for filtering, extracting, and prioritizing genetic variants from VCF files. VariantCentrifuge combines gene-centric region extraction, multi-tier filtering (bcftools, SnpSift, pandas), inheritance analysis, and configurable scoring into a single reproducible pipeline.

Features

  • Gene-centric variant extraction using gene names or BED regions
  • Three-tier filtering: bcftools prefilter, SnpSift expressions, pandas final filter
  • Inheritance pattern analysis (de novo, AD, AR, X-linked, compound het)
  • Configurable variant scoring models
  • Association analysis with Fisher's exact test (legacy --perform-gene-burden is deprecated)
  • Modular association testing: SKAT-O, COAST allelic series, logistic/linear burden regression with covariates and PCA, ACAT-O omnibus combination — see the Association Testing Guide
  • Interactive HTML reports with column-level filtering, semantic color badges, summary dashboard, accessible design (WCAG 2.1 AA), and PDF export
  • ClinVar, gnomAD, and SpliceAI annotation links
  • Cohort aggregation across multiple samples
  • Field profiles for switching annotation database versions (e.g., dbNSFP v4/v5)
  • Docker image with all bioinformatics dependencies included
  • Stage-based pipeline architecture with parallel execution

Installation

Docker (recommended -- all tools included):

docker pull ghcr.io/scholl-lab/variantcentrifuge:latest

The production image contains an immutable runtime environment. pip is used only while building the image and is removed before distribution; package installation belongs in a development environment.

pip:

pip install variantcentrifuge

From source:

git clone https://github.com/scholl-lab/variantcentrifuge.git
cd variantcentrifuge && pip install .

External tools (bcftools, snpEff, SnpSift, bedtools) must be in PATH when not using Docker. Install via conda: mamba create -y -n vc bcftools snpsift snpeff bedtools

Quick Start

# Filter rare coding variants in a gene list
variantcentrifuge \
  --gene-file genes.txt \
  --vcf-file input.vcf.gz \
  --preset rare,coding \
  --html-report \
  --xlsx

# Score and filter with a custom model
variantcentrifuge \
  --gene-file genes.txt \
  --vcf-file input.vcf.gz \
  --preset rare,coding \
  --scoring-config-path scoring/nephro_variant_score \
  --final-filter 'score > 0.8 and IMPACT == "HIGH"' \
  --output-file results.tsv

Snakemake Workflow

A Snakemake 8+ workflow for batch-processing multiple VCFs on HPC clusters (SLURM, PBS) is included under workflow/, with cluster profiles in profiles/ and sample configuration in config/. See scripts/run_snakemake.sh for the auto-detecting launcher.

Documentation

Full documentation: scholl-lab.github.io/variantcentrifuge

Contributing

Contributions are welcome. Please see the Contributing Guide for details.

How to cite

If you use VariantCentrifuge in your research, cite the software and record the exact release or commit used in your analysis. CITATION.cff provides machine-readable citation metadata for GitHub's Cite this repository menu. Until an archive DOI is available, cite the corresponding GitHub release or commit URL. For example, for the latest published release:

Popp, B. (2026). VariantCentrifuge (version 0.17.12) [Computer software]. https://github.com/scholl-lab/variantcentrifuge/releases/tag/v0.17.12

The current development version is 0.26.0, as recorded in variantcentrifuge/version.py, CITATION.cff, and .zenodo.json. It has no release date yet; the latest published release is v0.17.12 (2026-07-19). For a development checkout, include its full commit hash and URL instead of citing it as a published release.

Zenodo archive pending: metadata is prepared, but no DOI has been minted. See the release and archival guide for the maintainer steps to archive a release and add the resulting DOI badge.

License

This project is licensed under the MIT License.

Metadata

Release files for variantcentrifuge 0.26.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for variantcentrifuge 0.26.0
File Size Uploaded Provenance
variantcentrifuge-0.26.0.tar.gz 758.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for variantcentrifuge 0.26.0
File Interpreter ABI Platform
variantcentrifuge-0.26.0-cp312-cp312-manylinux_2_31_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.31+ x86-64 Details

Total release size: 1.6 MB

Release files / variantcentrifuge-0.26.0.tar.gz

Download URL variantcentrifuge-0.26.0.tar.gz
Size 758.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fd068b6bbe79ab1788b4d100c2ac761236664677e4f43786a2c5b03f9f25ae33
BLAKE2b-256 checksum
How to use checksums
6d78271735deac1e98a22fff84bec4ce579bcd8983addf5016befce582b78c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / variantcentrifuge-0.26.0-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL variantcentrifuge-0.26.0-cp312-cp312-manylinux_2_31_x86_64.whl
Size 829.6 kB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
43fea01af5f7eadaa9d72cd43aac1119b02d328c134a1509cee72fb0e6d97a58
BLAKE2b-256 checksum
How to use checksums
55d2cd914c83b3cef81ada279a25eae5b31122c8dd1804d8d02cf72fc2407933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for variantcentrifuge 0.26.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for variantcentrifuge-0.26.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page