VariantCentrifuge
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.18.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.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| variantcentrifuge-0.18.0.tar.gz | 663.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| variantcentrifuge-0.18.0-cp310-cp310-manylinux_2_31_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.31+ x86-64 | Details |
Total release size: 1.4 MB
Release files / variantcentrifuge-0.18.0.tar.gz
| Download URL | variantcentrifuge-0.18.0.tar.gz |
|---|---|
| Size | 663.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c1d71dfb00c105bc4ddbeea3e877842e0cf21811d790eb7af5cb51a761051e9
|
|
BLAKE2b-256 checksum How to use checksums |
a75f6abcb459705b87cc52c0f71c2b5dbe5e8ce68c72e7edaefc336b127ad73c
|
| 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 logRelease files / variantcentrifuge-0.18.0-cp310-cp310-manylinux_2_31_x86_64.whl
| Download URL | variantcentrifuge-0.18.0-cp310-cp310-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 715.0 kB |
| Tags | CPython 3.10 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
18855841a7c7c7b82c1a1d6d7cb67a1e72438f4daf6a095f6b0a636b2f8e475d
|
|
BLAKE2b-256 checksum How to use checksums |
2eaa490cb9539e123403ab5f516bbdcbe4b875f42555ab0bd3bad2d03d15f430
|
| 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 logSecurity for variantcentrifuge 0.18.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.
Attestation for variantcentrifuge-0.18.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 20, 2026.
Transparency logA 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.