bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.07.15.738815

A hierarchical clock-mixture model for Bayesian phylogenetic dating

Abstract

Conditioning the inference of a Bayesian phylogenetic time tree on a single molecular clock model treats clock choice as fixed, even when support among plausible clock families is uncertain. When that assumption is wrong, estimated timescales and their uncertainty can be distorted. Existing practice usually addresses this by fitting strict, uncorrelated lognormal relaxed (UCLN), and autocorrelated clocks separately and comparing their marginal likelihoods, but this requires multiple computationally expensive model selection analyses. Here we introduce a hierarchical clock-mixture framework, implemented as the open-source RelaxClockAveraging package for BEAST 2, that separates two questions that are often conflated in clock comparison: whether branch-specific rate variation is needed at all, and, if it is, whether that variation is better described as uncorrelated or autocorrelated. The method averages analytically between strict and relaxed clocks at the top level and then compares UCLN and autocorrelated models within the relaxed class on a shared branch-rate vector, returning posterior probabilities for all three clock families together with model-averaged summaries for parameters shared across them. In stratified simulations, the generating clock family was retained in the 95% posterior model set in all replicates, while model-averaged estimates of the overall substitution rate, root age, and tree length remained accurate. On a DENV-4 benchmark, the mixture reproduced the higher-effort nested-sampling ranking of clock families while avoiding the extreme run-to-run variability of independent marginal-likelihood estimates. On empirical benchmarks, the method recovered strong support for the autocorrelated clock on the classical 31-taxon chloroplast rbcL data set. On an RSV-A G-gene data set it concentrated virtually all posterior support on UCLN while preserving the established RSV-A timescale. On a 245-taxon structured-coalescent H3N2 dataset it assigned most posterior mass to the relaxed-clock class, with support within that class concentrated on the autocorrelated family, and the inferred timescale remained consistent with the published estimate. These results show that clock-model support and downstream timescale sensitivity are related but not identical. Single-clock dating analyses can still be adequate, but fixing a clock model should be justified by posterior support rather than treated as a default assumption.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Xu, Y., Douglas, J., Bouckaert, R., Drummond, A. J.. 2026-07-21. A hierarchical clock-mixture model for Bayesian phylogenetic dating. https://doi.org/10.64898/2026.07.15.738815

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

RELAX does not reproduce its own estimates at default settings, and its output does not show it

Selection-intensity estimates from RELAX are reported as a point value of K with a likelihood-ratio P. We report that, at default settings and on data of ordinary size, the program does not reproduce its own fits. Of 27 enzyme entries refitted under two optimiser configurations, none reproduced its log-likelihood to within 0.01 units; the median change was 103 units, the largest over 3,400, and four verdicts reversed. Eighty null orthologues reproduced none. A byte-identical command returned a distinct likelihood on every repetition, single-threaded, across three releases, and on alignments simulated under the fitted model, where 3.3 per cent of replicates reproduced. The documented random-number seed never reaches the generator when assigned on the command line, yet reads back as the value supplied. PAML localises the cause: its two-ratio model, without site classes, reproduced its log-likelihood for all 288 genes; its site-class models agreed for 27 to 67 per cent. The instability follows the mixture over sites, not the program. The output does not show it: 46 of 410 fits ended with a negative likelihood-ratio statistic, impossible under convergence, and 123 of 410 report a K re-estimated under a domain restriction rather than the unconstrained maximum. Of 234 published studies using RELAX, none reported a seed. Seeding while holding the thread count at one reproduced sixty of sixty runs on twenty genes under two releases; the seed alone reproduced none of five, and no documentation states the second condition. We recommend that fits be repeated and their dispersion published.

evolutionary biology↗

Sequential accumulation of adaptive alleles forms an inversion supergene in deer mice

Supergenes are clusters of co-inherited loci that affect multiple or complex phenotypes. Despite the growing number of chromosomal inversions identified as supergenes in natural populations, their molecular basis and evolutionary history often remain obscure. Here, we identified two candidate genes, Slc45a2 and Npr3, within a 41-Mb inversion supergene in the deer mouse (Peromyscus maniculatus) that respectively drive darker coats and longer tails - two traits associated with forest adaptation. Mice homozygous for the inversion (inv/inv) exhibit elevated Slc45a2 expression in melanocytes relative to the congenic standard genotype (std/std), disrupting pheomelanin production. In parallel, downregulation of Npr3 in inv/inv mouse growth plates prolongs postnatal growth of caudal vertebrae, resulting in tail elongation. Population-level analyses further implicate that this supergene arose through the subsequent accumulation of the Npr3 allele within the inversion, rather than by capturing all beneficial mutations at its origin.

evolutionary biology↗

Toxin structure shapes palatability in a chemically defended butterfly

The toxicity of chemical defences is well studied, but the potential contribution of compound structure to predator deterrence remains largely unexplored. Whether predation acts more strongly on toxicity or unpalatability remains largely untested, partly because few systems allow toxin structure to vary independently of quantity. Heliconius sara larvae provide such a system: those reared on Passiflora auriculata sequester cyclopentenyl cyanogenic glucosides (CGs), while those reared on P. biflora biosynthesise comparable quantities of aliphatic CGs. Using two invertebrate predators, Camponotus floridanus ants and Hierodula membranacea mantids, we tested whether this structural difference affects palatability independent of toxicity. Mantids rejected larvae with cyclopentenyl CGs more often than larvae with aliphatic CGs, despite no detectable difference in total CG content. This pattern was mirrored in extract-based assays with ants, independently of cyanide release: extracts with cyclopentenyl CGs remained deterrent, while extracts with aliphatic CGs did not differ in deterrence from water. Live larvae, by contrast, elicited similar responses from ants regardless of CG structure. These results show that variation in toxin structure can strongly affect palatability, with some compounds conferring greater protection than others. This demonstrates the importance of chemical structural diversity in the evolution of chemical defences.

evolutionary biology↗