Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.11.23.768524

Power analysis for selection in allele-frequency time series.

Abstract

Allele frequencies tracked through time, from ancient DNA, museum collections or monitoring, offer a direct view of selection. Their value depends on whether the sampling design can distinguish change caused by selection from genetic drift and from the noise of sampling few individuals, often sequenced at low coverage. Researchers need to know how much power a design has before committing specimens and sequencing effort, which usually requires study-specific simulations. We present SPOT (Selection Power Over Time), a browser-based simulator that estimates the power to detect directional selection at a candidate locus from samples taken at several dates. Users describe the sampling design (dates, number of individuals, sequencing depth) and a biological scenario (inheritance system, generation time, effective population size, starting allele frequency, selection coefficient and dominance). Within seconds, SPOT simulates selection while accounting for sampling, genotype calling and drift, and sets the detection threshold from simulations without selection. Its sample-size planner shows how many individuals are needed to reach a target power. Conventional approaches, which model sampling error but not drift, overestimate power when drift is strong: in a museum insect case study, a threshold ignoring drift reported 69% power but called 10% of neutral loci selected instead of 5%; the drift-aware threshold gave 55%. SPOT agreed with the individual-based simulator SLiM in allele-frequency distributions, power and false-positive rates. Case studies of museum insects and human ancient DNA show how SPOT identifies detectable selection coefficients and helps allocate specimens and sequencing effort. SPOT is open source and runs without installation.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ben Chehida, Y., Januszczak, I., Broad, G., Paul, A., Price, B., Barnes, I.. 2026-11-24. Power analysis for selection in allele-frequency time series.. https://doi.org/10.64898/2026.11.23.768524. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.23.768524/power-analysis-for-selection-in-allele-frequency-time-series

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related preprints

Recovering the Impacts of Landscape Changes through the Demographic History of a Western Ghats Endemic Bird

Global landscapes are shaped by long-term palaeoclimatic changes and more recent, rapid anthropogenic changes. Changes in the demographic history of a species correspond to responses to changes in its natural habitat. Recent developments in genomics allow the reconstruction of recent historical effective population sizes. Yet only a limited number of studies have linked these changes to specific land-use changes in their natural habitat, especially with known trajectories of habitat change. The Western Ghats mountaintops - Shola Sky Islands have been modified through a combination of colonial-era changes, more recent spread of agriculture and invasive woodlands. In these cloud forests, we selected four characteristic landscape change situations: a) habitat decrease, b) habitat increase (from a spread of woody invasives), c) a combination of decrease followed by an increase (woody invasives), and d) no change. We assessed how these landscape changes affect the demographic history of an endemic passerine, the White-bellied Sholakili (Sholicola albiventris). We generated whole genome sequences for 84 individuals across six populations, each with contrasting land-use changes, and assessed their historical effective population sizes (Ne) estimated over the last 100 generations using Linkage Disequilibrium (LD) methods (GONE2). We used historical landscape information from published documents, historical maps, satellite imagery, and archived photographs to correlate land-use change information with changes in Ne. Further, we assessed these findings using genomic simulations. We found a clear correlation between the demographic histories of White-bellied Sholakili populations and landscape changes in Shola sky islands over the last century. In one case, our simulations suggest possible artefacts from population fusion. We also recognised a previously unknown population expansion in the species, underscoring the importance of genomic tools and simulations for understanding population dynamics and informing assessments of conservation actions such as restoration. Keywords: Demographic history, Landscape change, Genomics, GONE2, Endemic species, Genomic simulations

evolutionary biology↗

PhyloRender: an interactive and agent-ready package for reproducible phylogenetic visualization

Publication-quality phylogenetic figures are central to evolutionary biology and phylogenomics. Scientific workflows are now entering the AI agent era, where AI agents already automate many routine analytical and plotting tasks. Preparing phylogenetic figures, however, still requires heavy manual work due to three bottlenecks. First, existing tree viewers and plotting packages were not built for AI agents and lack both a Model Context Protocol (MCP) server and a domain agent skill for structured, verifiable editing. Second, the standard figures of a phylogenomic paper (multi-support phylograms, fossil-calibrated chronograms, cytonuclear tanglegrams, and gene-tree cloudograms with discordance pies) cannot be made in one program, forcing files across a dozen separate tools. Third, raw plots suffer from a "last-mile" problem: support values overlap short branches, while clade grouping, nested labels, branch coloring, and geologic backgrounds take hours of manual cleanup in vector editors. We present PhyloRender, an open-source package that addresses all three bottlenecks by combining a browser workbench, a built-in MCP server, and a domain Agent Skill on one rendering engine across all four figure types. It places crowded node labels with leader lines, thickens full-support branches, aligns multi-tier clade brackets, draws International Commission on Stratigraphy (ICS) timescales, and splits tall trees into two panels without altering input topologies, branch lengths, supports, ages, or taxon names. Demonstrated on published Sapindaceae phylogenomic datasets (up to 176 taxa and 86 gene trees), PhyloRender generated publication-ready figures across all four modes with zero label overlaps (https://github.com/Jhe1004/PhyloRender).

evolutionary biology↗

How Reliable Are Reconstructions of Complex Polyploid Histories? A Benchmark of Phylogenetic Inference Methods

Polyploid phylogenetic inference methods are regularly applied to reconstruct allo- and autopolyploidization events in clades with complex evolutionary histories. To date, however, they have been evaluated mainly on small, simulated networks containing a handful of species and very few polyploidization events. Moreover, the extent to which different methods recover the same evolutionary history from the same data is largely unexplored. Here, we benchmark five existing methods, PADRE, AlloppNET, GRAMPA, MPAllopp and Polyphest, together with GRAMPAIter, an automated extension of GRAMPA developed here that enables its application to histories involving more than a single polyploidization event. We evaluated their agreement on 12 empirical datasets and their accuracy on simulations based on 21 published phylogenetic networks encompassing dozens of species. Simulations varied incomplete lineage sorting, rates of gene duplication and loss, and extent of fractionation. To compare inferred networks, we introduce two measures that separately quantify disagreement in the descendant taxa and parental lineages associated with reticulation events. Only Polyphest, GRAMPA and GRAMPAIter consistently completed analyses within practical runtimes. On empirical data, the methods differed substantially in which species they inferred to be polyploid and in the number and placement of reticulations. Polyphest was the most accurate method in all 12 simulated configurations without fractionation. Under strong fractionation, however, its accuracy declined sharply, whereas GRAMPAIter, which does not require ploidy, was considerably more robust. Our results reveal substantial uncertainty in reconstructing complex polyploid histories, with performance depending strongly on the evolutionary processes shaping the data.

evolutionary biology↗