Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.06.18.733071

The shape of evolution: persistent homology of genetic-distancedata as an observable of reticulate processes in pathogen andplant genomes

Abstract

Evolutionary biology has long theorized processes--recombination, lineage divergence, drug-resistance sweeps, introgression, refugial persistence--whose signatures in genomic data are incompatible with tree structure. We argue that the shape of genetic-distance data, formalized through simplicial complexes and quantified through persistent homology, is a direct observable of these processes. The Vietoris--Rips filtration of a genetic-distance matrix yields the Betti numbers {beta}0 (connected components), {beta}1 (loops), and {beta}2 (cavities); we read {beta}1 not as a literal count of recombination events but as a quantity that is monotone in effective recombination above a sampling-dependent geometric baseline, and we organise the resulting shapes into a four-letter alphabet of topological primitives (K1 clonal, K2 divergence, K3 reticulation, K4 higher-order reticulation). Coalescent and Wright--Fisher simulations establish the two load-bearing claims: {beta}1 rises monotonically with the recombination rate over six orders of magnitude, and persistent-homology features separate reticulate from non-reticulate histories with 98--100% recall (the residual confusion falls entirely within the non-reticulate K1/K2 pair, which {beta}1 does not distinguish). We then apply the pipeline to four empirical systems. (i) On the MalariaGEN Pf7 Plasmodium falciparum dataset (n = 20,864, 33 countries), per-population {beta}1 spans two orders of magnitude and diverges significantly from a label--shuffle null (median 20.5, range 8-32); the ordering runs opposite to recombination rate-freely-recombining African populations sit lowest and clonal/swept Southeast Asian and Papuan populations highest--because at the population scale {beta}1 is dominated by demographic structure rather than recombination rate, a point we reconcile explicitly with the controlled dose-response. (ii) Colombian Cauca SP-resistant samples carry {beta}1 = 12 against a near-clonal SP-sensitive baseline of {beta}1 = 5 (and two orders of magnitude more total persistence), the high-{beta}1, multi-origin band of K3 consistent with resistance carried on several genomic backgrounds. (iii) The Cambodia artemisinin sweep (2008-2018) traces a K3 [->] K1 trajectory, {beta}1 rising to a mid-sweep peak of 45 and collapsing to 13 at fixation--to our knowledge the first direct observation of a selective-sweep transient in topological coordinates, with the caveat that the per-bin values are medians of three subsamples with wide bars. (iv) On Arabidopsis thaliana 1001 Genomes data, Iberian relict populations (Spain, {beta}1/n = 0.64) exceed post-glacial-expansion populations (Sweden 0.54; United Kingdom 0), generalising the framework beyond pathogens. A P. falciparum mitochondrial negative control recovers {beta}1 = 0 across all subsamples, establishing pipeline specificity. Moving above the 1-skeleton, {beta}2 is zero at the clonal/expansion limits and positive across the reticulate systems; a controlled two-vs-three-way admixture simulation confirms that {beta}2 separates regimes that share a {beta}1 profile, while the further suggestion that the ratio = {beta}2/{beta}1 separates microevolutionary from macroevolutionary timescales is presented, given the small number of systems and the absence of a {beta}2 null, as a hypothesis for future testing. Together these results demonstrate that the topology of genetic-distance data is an evolutionary observable, with immediate implications for drug-resistance surveillance in P. falciparum. Author summaryBiologists usually picture the history of life as a tree, in which lineages split and never rejoin. Many of the most consequential evolutionary events break that picture: malaria parasites recombine in the mosquito gut, drug-resistant strains arise repeatedly on different genetic backgrounds, and plant populations that survived the Ice Age in southern refuges carry tangled ancestry that no tree can represent. We ask a different question of genetic data--not "what tree fits?" but "what shape does the data make?" --and answer it with topological data analysis, which measures shape through three counts (the Betti numbers) of clusters, loops, and higher-order cavities. Loops appear when lineages recombine and rejoin. We show, in simulations and in real Plasmodium falciparum and Arabidopsis thaliana genomes, that the loop count rises with recombination above a baseline set by finite sampling, cleanly separates recombining from clonal histories, and tracks a real artemisinin-resistance sweep in Cambodia as it rises and collapses over a decade. A non-recombining mitochondrial control correctly shows no loops. The shape of genetic data is thus a direct, tree-free readout of evolutionary process, with immediate value for drug-resistance surveillance.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Feged-Rivadeneira, A., Gonzalez-Casabianca, F., Cardenas Ramirez, P., Angel, A., Corredor, V.. 2026-06-20. The shape of evolution: persistent homology of genetic-distancedata as an observable of reticulate processes in pathogen andplant genomes. https://doi.org/10.64898/2026.06.18.733071. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.06.18.733071/the-shape-of-evolution-persistent-homology-of-genetic-distancedata-as-an-observable-of-reticulate-pr

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↗