bioRxivEvolutionary BiologyPreprint
The B-value calculator: expected diversity with background selection
Abstract
Background selection (BGS), the indirect effect of purifying selection at linked and unlinked sites, is a key evolutionary process shaping genomic patterns of variation. Calculating the expected diversity at neutral sites experiencing BGS relative to that under strict neutrality (referred to as B-value or simply B) is important for developing null models when performing population genomic inference, in particular, demographic inference and detection of selective sweeps. We extend and integrate previous theory to estimate B-values analytically, assuming no selective interference, with novel expressions to account for gene conversion between proximal sites. Here, we present the B-value calculator, Bvalcalc, an easy-to-use command-line interface written in Python for efficient analytical calculation of expected genome-wide B at single base-pair resolution. Bvalcalc has several modules for calculating diversity as a function of distance from a single selected element or considering the multiplicative effects of all selected elements across the genome, accounting for recombination maps, gene conversion, self-fertilization, single population size changes, and unlinked effects from other chromosomes. We validated the effectiveness of Bvalcalc with comparisons against simulated results, and generated B-maps for the model species Homo sapiens, Drosophila melanogaster and Arabidopsis thaliana as a proof of concept using public data. Bvalcalc is available with documentation at johrilab.github.io/Bvalcalc/.
- organism: human
- organism: Drosophila
- organism: Arabidopsis
- assay: DNA methylation
- assay: whole-genome sequencing
- research focus: variant effect prediction
- research focus: benchmarking
- research focus: database / resource
- approach: statistical model
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A New Model of Genetic Variation and Evolution Evaluates Relative Impacts of Background Selections and Selective Sweeps
X. Gu·bioRxiv·Jan 11, 2020
- Background selection as baseline for nucleotide variation across the Drosophila genome
Josep M Comeron·bioRxiv·May 9, 2014
- The temporal dynamics of background selection in non-equilibrium populations
R. Torres, M. G. Stetter, … J. Ross-Ibarra·bioRxiv·Nov 10, 2019
- The effect of strong purifying selection on genetic diversity
I. Cvijovic, B. H. Good, M. M. Desai·bioRxiv·Oct 30, 2017
- Estimating the reduction in genetic diversity from background selection under non-equilibrium demography and partial selfing
Alexander Mackintosh, Maxence Brault, … Sylvain Glémin·Molecular Biology and EvolutionPeer-reviewed·Jan 6, 2026
- Background selection under evolving recombination rates
T. R. Booker, B. A. Payseur, A. Tigano·bioRxiv·Dec 20, 2021