bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.11.20.768172

RustBEARS: Survival-Conditioned Likelihoods, Uniformization Stochastic Mapping, and Uncertainty Quantification for Historical Biogeography

Abstract

Probabilistic discrete-range models, including dispersal-extinction-cladogenesis (DEC), DIVALIKE, BAYAREALIKE, founder-event speciation (+J), spatial modifiers, and time stratification, underpin historical biogeography. As empirical datasets grow, however, BioGeoBEARS workflows face slow multi-area optimization and branch-wise rejection stochastic mapping that fails on rare stepping-stone pathways and scales poorly across posterior trees. Standard fixed-tree pruning likelihoods also retain an absorbing null range without conditioning on extant tip survival, which often drives extinction estimates toward zero and inflates founder-event support, whereas DEC* avoids null absorption only by forbidding single-area extirpation. Boundary Hessian failures and single-tree point estimates also leave parameter, model, phylogenetic, and mapping uncertainties unquantified. Here we present RustBEARS, a Rust engine with BioGeoBEARS-compatible R and Python packages. Across 1,339 configurations from 77 studies, RustBEARS matches BioGeoBEARS log-likelihoods (median |delta lnL| = 9.95 x 10^-14) and ancestral probabilities (<= 1.50 x 10^-14), accelerates 64- to 256-state optimization 2.8- to 17.3-fold on one core and 4.1- to 36.1-fold on eight cores over the fastest BioGeoBEARS setting, and replaces trial-limited rejection with Uniformization stochastic mapping (170.9-fold median speedup for 200-map Python runs across 30 studies). RustBEARS also introduces whole-tree tip-survival conditioning for unstratified and chronologically emerging island models alongside five frequentist uncertainty tools. Across 58 extant clades from this 77-study archive, survival conditioning cuts near-zero DEC extinction estimates from 62.1% to 0.0% (87.9% finite interior, 12.1% ceiling-censored) and lowers AICc preference for DEC+J from 75.9% to 36.2%.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

He, J., Chen, J., Chen, W., Xie, L.. 2026-11-23. RustBEARS: Survival-Conditioned Likelihoods, Uniformization Stochastic Mapping, and Uncertainty Quantification for Historical Biogeography. https://doi.org/10.64898/2026.11.20.768172. https://biorxiv.science/record/biorxiv%3A10.64898%2F2026.11.20.768172/rustbears-survival-conditioned-likelihoods-uniformization-stochastic-mapping-and-uncertainty-quantif

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 bioRxiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related preprints

Specificity-subunit truncation drives repeated loss of Type I restriction in multi-host Streptococcus agalactiae

Type I restriction-modification systems determine which foreign DNA a bacterial lineage will accept, and the functional state of this system across Streptococcus agalactiae has not been described. Five S. agalactiae isolates from farmed tilapia, human clinical infection and water buffalo were sequenced using Oxford Nanopore R10.4.1 chemistry, closed to single chromosomes, and characterised for base-resolution methylation, restriction-modification content and mobile-element composition. Methylation was adenine-dominated, two genomes carrying abundant 6-methyladenine and three almost none. The difference lay not in the Type I methyltransferase, intact at 487 to 526 amino acids in all five genomes, nor in the presence of an hsdS gene, but in the integrity of the specificity subunit. The three non-methylating genomes retained a 64 amino acid stub at the operon position and a distant 196 amino acid copy that structural modelling aligned to one target-recognition domain of the full-length subunit. Across 1,742 host-labelled public genomes the components were unevenly and not independently distributed, an hsdS gene occurring in 99.3%, the methyltransferase in 72.2%, the restriction subunit in 36.2% and a full-length specificity subunit in 20.9%. The most frequent state, in 45.5% of genomes, was a methyltransferase with no restriction subunit, a distribution consistent with progressive loss and not with horizontal acquisition of an intact operon. Loss was fixed within lineages and occurred in at least 51 sequence types across all three host classes. Genomes with the least functional system were predominantly fish-associated, and these lineages carried tetracycline and macrolide resistance on Tn916 and Tn5253 elements.

evolutionary biology↗

Evolution of RNA Editing in Drosophila melanogaster Populations Adapted to Novel Thermal Environments

RNA editing can modify the transcriptome and proteome without changing the underlying DNA sequence, but its contribution to adaptation among natural populations remains poorly understood. Here, we investigated RNA editing in three geographically distant pairs of cold- and warm-adapted populations of Drosophila melanogaster reared at a common temperature. Using 138 RNA-seq libraries, we identified 15 high-confidence editing sites in larvae, 38 in pupae, and 73 in adults. We analyzed population differentiation in editing frequency, identifying six larval, 10 pupal and 21 adult edits as potentially driven by local adaptation. These candidates were enriched at nonsynonymous sites in adults. A differentiated edit at the sodium/potassium pump Atp, yielding a radical protein-altering change, was an adult stage outlier in two of the three independent population pairs. We also found multiple outlier editing sites at the chromatin-binding non-coding RNA gene roX1, and in untranslated regions (UTRs) of other genes - indicating a range of mechanisms by which RNA editing could influence adaptation to novel environments. After accounting for population structure, editing was associated with host-gene expression at 16 of 71 tested adult sites, and a subset of edits (including at Atp and roX1) covaried with thousands of other genes. Our results identify protein recoding and regulatory variation as potential contributions of RNA editing to adaptive evolution across multiple populations and developmental stages.

evolutionary biology↗

Positive assortment can impair the evolution of public goods

Positive assortment, the tendency of cooperators to interact with each other, is the standard explanation for cooperation: kin selection and spatial structure both work by bringing cooperators together, and relatedness is the usual measure of how much they do. This view rests largely on models with linear, additive benefits, in which every act of cooperation has the same effect. Most biological public goods, however, are nonlinear, from microbial enzymes and the growth factors of cancer cells to collective action in animal and human groups: their benefit requires a minimum number of producers, levels off, or becomes harmful in excess. I show that for such goods assortment can hinder cooperation, and I give an exact condition for when it does. Even when every additional producer increases the benefit, higher relatedness can reduce cooperation when groups are founded by a few individuals or, in social insects, colonies are founded by a queen with few mates; it cannot when groups are clonal or grow by reproduction and immigration. When the good is harmful in excess, assortment can reduce cooperation even when additional production would be best for the group or increase it beyond what is best. Relatedness alone is therefore not enough to predict how much cooperation evolves: one also needs to know how the benefit changes with the number of producers and how groups form.

evolutionary biology↗