BioGeeks
EN
  • English
  • Español
  • Português
  • Deutsch
  • Français
  • Italiano
  • Русский
  • Українська
  • 繁體中文
  • 简体中文
  • 한국어
  • 日本語
  • ไทย
$
Log inJoin

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

Favourite
Follow the thread

A mail when somebody comments. No account needed.

Have an account? Log in and follow in one click.

ResearchbioRxivWiewiorka, M., Sitek, W., Gambin, T.5d ago

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.

Read it at biorxiv.org

Discussion

You pick a name in the next step. Already a member? Log in.

The newsletter

Get our free newsletter with new papers, software, lab services, lab gear and biotech news.