Related Experiment Video
Updated: Mar 24, 2026

A Quantitative Fitness Analysis Workflow
Published on: August 13, 2012
The B -value calculator: expected diversity under background selection
Jacob I Marsh1, Austin T Daigle1,2,3, Parul Johri1,2,4
1Department of Biology, University of North Carolina, Chapel Hill, NC 27599.
None:
Background selection (BGS), resulting from indirect effects of selection at linked and unlinked conserved sites experiencing purifying selection, is a key evolutionary force that shapes patterns of diversity across genomes. Calculating the expected diversity at neutral sites under BGS relative to that under strict neutrality (referred to as -value or simply ) is important for understanding processes that shape patterns of genomic variation and for developing null models when performing inference, in particular, demographic inference and detection of selective sweeps. We extend and integrate previous theory to estimate -values analytically, assuming no selective interference. Here, we present the -value calculator, Bvalcalc, an easy-to-use command-line interface written in Python for efficient analytical calculation of expected genome-wide at single base-pair resolution. Bvalcalc has several modules for calculating diversity as a function of distance from a single conserved element or considering the multiplicative effects of all conserved elements across the genome, accounting for recombination maps, gene conversion, self-fertilization, single population size changes, and unlinked effects from other chromosomes, where specified. We validated the effectiveness of Bvalcalc with comparisons against simulated results, and generated -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/.
More Related Videos
Related Concept Videos
Frequency-dependent Selection
Expected Frequencies in Goodness-of-Fit Tests
Identifying Statistically Significant Differences: The F-Test
Hardy-Weinberg Principle
F Distribution
Chi-square Analysis
The chi-square test was developed by Pearson in 1990.
The first step of performing a Chi-square analysis is to establish a null hypothesis, which assumes that there is no real...

