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
  • Gene burden analysis with Fisher's exact test
  • 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.20.1, 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.20.1

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.20.1
File Size Uploaded Provenance
variantcentrifuge-0.20.1.tar.gz 678.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for variantcentrifuge 0.20.1
File Interpreter ABI Platform
variantcentrifuge-0.20.1-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.4 MB

Release files / variantcentrifuge-0.20.1.tar.gz

Download URL variantcentrifuge-0.20.1.tar.gz
Size 678.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c7771043042689fa7b1e82e936c5b8b167c227b36b2ed8c19ad40a456c6225c
BLAKE2b-256 checksum
How to use checksums
f638ee025e428f04c19faa6ef7f15536c17ee4744afacc0e0fabac8590cdfa08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 20, 2026.

Transparency log

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

Download URL variantcentrifuge-0.20.1-cp312-cp312-manylinux_2_31_x86_64.whl
Size 735.0 kB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
bddc8e2c04ef8f88273e72023f0198ba9758bd133f1f293a130eb8903be32d16
BLAKE2b-256 checksum
How to use checksums
2839fc336ba6961794ea72af7626696ce7ea9a24623d15d97b8a9661d09df460
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 20, 2026.

Transparency log

Security for variantcentrifuge 0.20.1

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.20.1.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 20, 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