Varlap: Bringing Alignment-Based Variant Quality Control to Scale

Large-scale sequencing studies, particularly in cancer genomics, generate thousands of candidate variants, many arising from problematic alignment contexts such as low depth of coverage, sample contamination, or proximity to other variants. Manually inspecting these in tools such as IGV is effective for small variant sets but impractical at cohort scale. Varlap (github.com/bjpop/varlap) is an open-source tool that automates this process, computing per-variant alignment-context metrics from one or more BAM files, including edit distance, base and mapping quality, alignment length, clipping, and strand distribution. It has supported variant QC across thousands of samples in the Pan Prostate Cancer Group (panprostate.org) and in published studies of breast tumour mutational signatures. Since it makes no assumptions about the origin of the variants or reads, it is also generalizable beyond human and cancer genomics to other organisms and variant-calling contexts. Varlap's original Python implementation queries reads independently for each variant position. This performs well for sparsely distributed somatic variants but scales poorly when variants are closely spaced or when scanning contiguous genomic windows, since overlapping reads are repeatedly refetched from the BAM file. To address this bottleneck, Varlap has been reimplemented in Rust (github.com/jchchiu/rust-varlap), restructuring the core algorithm to iterate over reads rather than variant positions, so that each overlapping read is fetched at most once per genomic bin. This sets the foundation for substantially higher performance on dense or contiguous variant sets, while preserving Varlap's original output format and metrics, and lays the groundwork for future multithreaded execution.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-15
DOI
https://doi.org/10.5281/zenodo.24239218
Primary Topic
Genomics and Phylogenetic Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Varlap: Bringing Alignment-Based Variant Quality Control to Scale

Francesco Favero, Julian Chiu, Daniel Jonathan Park, Bernard J. Pope et al.
Zenodo (CERN European Organization for Nuclear Research)
Genomics and Phylogenetic Studies
article

Varlap: Bringing Alignment-Based Variant Quality Control to Scale

Francesco Favero, Julian Chiu, Daniel Jonathan Park, Bernard J. Pope, Christopher M. Hovens, Peter Georgeson, Chol‐Hee Jung, Grace Hall
article en

Abstract

Large-scale sequencing studies, particularly in cancer genomics, generate thousands of candidate variants, many arising from problematic alignment contexts such as low depth of coverage, sample contamination, or proximity to other variants. Manually inspecting these in tools such as IGV is effective for small variant sets but impractical at cohort scale. Varlap (github.com/bjpop/varlap) is an open-source tool that automates this process, computing per-variant alignment-context metrics from one or more BAM files, including edit distance, base and mapping quality, alignment length, clipping, and strand distribution. It has supported variant QC across thousands of samples in the Pan Prostate Cancer Group (panprostate.org) and in published studies of breast tumour mutational signatures. Since it makes no assumptions about the origin of the variants or reads, it is also generalizable beyond human and cancer genomics to other organisms and variant-calling contexts. Varlap's original Python implementation queries reads independently for each variant position. This performs well for sparsely distributed somatic variants but scales poorly when variants are closely spaced or when scanning contiguous genomic windows, since overlapping reads are repeatedly refetched from the BAM file. To address this bottleneck, Varlap has been reimplemented in Rust (github.com/jchchiu/rust-varlap), restructuring the core algorithm to iterate over reads rather than variant positions, so that each overlapping read is fetched at most once per genomic bin. This sets the foundation for substantially higher performance on dense or contiguous variant sets, while preserving Varlap's original output format and metrics, and lays the groundwork for future multithreaded execution.

Zenodo (CERN European Organization for Nuclear Research)
University of Copenhagen (DK), The University of Melbourne (AU)
Genomics and Phylogenetic Studies
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