vepyr: composable, query-optimised variant effect prediction for interactive analysis in the Python DataFrame ecosystem

Motivation: The Ensembl Variant Effect Predictor (VEP) is widely used to annotate genetic variants, and many pipelines depend on its exact output. Recent reimplementations of VEP in Rust, fastVEP and vep-rs, reduce annotation time from hours to minutes but do not reproduce all of its output. All three tools write annotated files, so filtering, combining with other data and summarising need separate tools and another pass over large files each time the question changes. Results: vepyr reproduced VEP 116.0 annotations for every HG002 and ClinVar record tested. With eight workers and the merged cache on macOS, vepyr annotated HG002 in 54.1 s, 99 times faster than VEP with eight processes and substantially faster than fastVEP and vep-rs. Like VEP, vepyr writes annotated Variant Call Format files, from the command line or in nf-core pipelines. It also makes annotation part of interactive analysis, on a composable architecture built on Apache Arrow, Parquet, Apache DataFusion and Polars. The annotation can instead be returned as a Polars LazyFrame, which is computed only for the columns and genomic regions a query uses, and the lookup of known variants reads only the cache pages that may contain the input positions. The results can be combined with other data, including files read from URLs, using Polars, SQL and polars-bio. The converted VEP cache is published on Hugging Face as indexed Parquet files. On a laptop, a trio analysis combining annotation with 12 remote files took 243.6 s in one Python session. Availability and implementation: vepyr is open source under the Apache 2.0 licence and is available from PyPI for Linux, macOS and Windows, from Bioconda and as an nf-core module. Documentation is at https://biodatageeks.org/vepyr/ and the source code at https://github.com/biodatageeks/vepyr; version 0.11.0 is archived at https://doi.org/10.5281/zenodo.24413980.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-12-01
DOI
https://doi.org/10.64898/2026.11.29.769998
Primary Topic
Genomics and Rare Diseases
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

vepyr: composable, query-optimised variant effect prediction for interactive analysis in the Python DataFrame ecosystem

Marek S. Wiewiórka, Tomasz Gambin, Wojciech Sitek
bioRxiv (Cold Spring Harbor Laboratory)
Genomics and Rare Diseases
preprint

vepyr: composable, query-optimised variant effect prediction for interactive analysis in the Python DataFrame ecosystem

Marek S. Wiewiórka, Tomasz Gambin, Wojciech Sitek
preprint en

Abstract

Motivation: The Ensembl Variant Effect Predictor (VEP) is widely used to annotate genetic variants, and many pipelines depend on its exact output. Recent reimplementations of VEP in Rust, fastVEP and vep-rs, reduce annotation time from hours to minutes but do not reproduce all of its output. All three tools write annotated files, so filtering, combining with other data and summarising need separate tools and another pass over large files each time the question changes. Results: vepyr reproduced VEP 116.0 annotations for every HG002 and ClinVar record tested. With eight workers and the merged cache on macOS, vepyr annotated HG002 in 54.1 s, 99 times faster than VEP with eight processes and substantially faster than fastVEP and vep-rs. Like VEP, vepyr writes annotated Variant Call Format files, from the command line or in nf-core pipelines. It also makes annotation part of interactive analysis, on a composable architecture built on Apache Arrow, Parquet, Apache DataFusion and Polars. The annotation can instead be returned as a Polars LazyFrame, which is computed only for the columns and genomic regions a query uses, and the lookup of known variants reads only the cache pages that may contain the input positions. The results can be combined with other data, including files read from URLs, using Polars, SQL and polars-bio. The converted VEP cache is published on Hugging Face as indexed Parquet files. On a laptop, a trio analysis combining annotation with 12 remote files took 243.6 s in one Python session. Availability and implementation: vepyr is open source under the Apache 2.0 licence and is available from PyPI for Linux, macOS and Windows, from Bioconda and as an nf-core module. Documentation is at https://biodatageeks.org/vepyr/ and the source code at https://github.com/biodatageeks/vepyr; version 0.11.0 is archived at https://doi.org/10.5281/zenodo.24413980.

bioRxiv (Cold Spring Harbor Laboratory)
Warsaw University of Technology (PL)
Genomics and Rare Diseases
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon