BioGeeks

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

研究bioRxivWiewiorka, M., Sitek, W., Gambin, T.2天前

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.org 閱讀

討論

下一步請選擇名稱。已是會員?登入。

追蹤此討論串

有人留言時寄送郵件通知。無需帳號。

電子報

訂閱我們的免費電子報,掌握生物科技的最新動態。

1 USD = 1,617 ARS 換算後的價格僅供參考。 Coinbase, 2026-12-02 21:52 UTC