bioRxivEvolutionary BiologyPreprint
OmegaSwitch: Bayesian Markov-Modulated Codon Models for Estimating dN/dS
Abstract
Selective pressures can vary across both sites and evolutionary lineages; however, most codon models accommodate heterogeneity along only one of these dimensions and require the number of selective regimes to be specified in advance. Here, we introduce OmegaSwitch, a Bayesian phylogenetic software framework for inferring changes in the nonsynonymous-to-synonymous substitution-rate ratio (dN/dS) across sites and through evolutionary time. We implement a Markov-modulated codon model in which lineages transition among discrete dN/dS regimes and use reversible-jump Markov chain Monte Carlo to infer the number of regimes simultaneously. We further develop a Dirichlet-process mixture extension that allows the parameters governing these time-heterogeneous processes to vary among sites. Ancestral sampling produces joint posterior distributions of dN/dS across sites and nodes of the phylogeny, enabling lineage- and site-specific summaries with quantified uncertainty. Simulation analyses showed that both the posterior intervals for dN/dS and the number of evolutionary regimes were well calibrated under both models. We demonstrate OmegaSwitch using vertebrate alpha- and beta-globins. OmegaSwitch therefore provides a flexible Bayesian framework for investigating how selective pressures vary across protein-coding sequences and phylogenetic history.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Unbiased Estimate Of Synonymous And Non-Synonymous Substitution Rates With Non-Stationary Base Composition
Laurent Guéguen, Laurent Duret·Molecular Biology and EvolutionPeer-reviewed·Dec 5, 2017
- A comparison of one-rate and two-rate inference frameworks for site-specific dN/dS estimation
Stephanie Spielman, Suyang Wan, Claus O Wilke·bioRxiv·Aug 8, 2016
- A Sense of Direction: Detecting Natural Selection Across Non-Stationary Genomes
Sergei L. Kosakovsky Pond·bioRxiv·Oct 16, 2026
- Large-Scale Comparative Analysis of Codon Models Accounting for Protein and Nucleotide Selection
Iakov I. Davydov, Nicolas Salamin, Marc Robinson‐Rechavi·Molecular Biology and EvolutionPeer-reviewed·Mar 4, 2019
- Evaluation of methods to detect shifts in directional selection at the genome scale
L. Duchemin, P. Veber, B. Boussau·Molecular Biology and EvolutionPeer-reviewed·Dec 13, 2022
- MutagenesisForge: A Framework for Modeling Codon-Level Mutational Biases and Calculating dN/dS
Cooper Koers, Rob Bierman, … Joshua M. Akey·bioRxiv·Aug 28, 2025