All Together Now: Joint Codon Alignment, Ohmic Networks, and Error-Controlled Selection Inference in HyPhy 3

Codon-based maximum likelihood models are the workhorse of molecular selection analysis, yet standard workflows assume that the input sequence alignment and phylogenetic tree are known without error. In practice, heuristic aligners ignore the genetic code and phylogeny, which packs non-homologous codons into shared columns across insertion-deletion loops and inflates gene-wide false-positive rates above 80%. This sequential division of labor is statistically suboptimal and computationally wasteful. Here, we present WALRUS (Wheatstone Alignment and Likelihood Rate Unification for Selection), a unified engine in HyPhy 3 (https://github.com/veg/hyphy-3) that maps unaligned coding sequences to a coordinate-consistent selection atlas in one run. From a single Inside-Outside likelihood table, the pipeline repairs reading frames, co-estimates a codon alignment and Ohmic reticulate network, models directional base-composition drift, and evaluates eight selection tests (BUSTED-E, aBSREL, RELAX, FEL, dFEL, MEME, Contrast-FEL, and PRIME). Across 10,020 simulated alignments, WALRUS recovers 94.6% of true columns on the 800 INDELible replicates and cuts indel-driven false positives from 44.7%-58.1% to 4.4% under BUSTED (21.1%-21.4% to 1.4% under BUSTED-E). Under Zipfian indel saturation, false positives drop four-fold (33.3%-83.3% to 17.0%-20.5%), while 11,190 avian orthogroup runs execute 6.6-35.8-fold faster and cut housekeeping false positives 13-fold (28-fold on ultraconserved genes) proteome-wide.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-11-14
DOI
https://doi.org/10.64898/2026.11.06.764988
Primary Topic
Genomics and Phylogenetic Studies
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

All Together Now: Joint Codon Alignment, Ohmic Networks, and Error-Controlled Selection Inference in HyPhy 3

Sergei L. Kosakovsky Pond, Timothy B. Sackton, Spencer V. Muse, Vincent J. Lynch et al.
bioRxiv (Cold Spring Harbor Laboratory)
Genomics and Phylogenetic Studies
preprint

All Together Now: Joint Codon Alignment, Ohmic Networks, and Error-Controlled Selection Inference in HyPhy 3

Sergei L. Kosakovsky Pond, Timothy B. Sackton, Spencer V. Muse, Vincent J. Lynch, David Enard, Steven Weaver, Hannah E. Verdonk, Darren Patrick Martin, ANTON Y NEKRUTENKO, Jordan D. Zehr, Simon D. W. Frost, Danielle Callan, Gallean Brown, Daria Chalkova
preprint en

Abstract

Codon-based maximum likelihood models are the workhorse of molecular selection analysis, yet standard workflows assume that the input sequence alignment and phylogenetic tree are known without error. In practice, heuristic aligners ignore the genetic code and phylogeny, which packs non-homologous codons into shared columns across insertion-deletion loops and inflates gene-wide false-positive rates above 80%. This sequential division of labor is statistically suboptimal and computationally wasteful. Here, we present WALRUS (Wheatstone Alignment and Likelihood Rate Unification for Selection), a unified engine in HyPhy 3 (https://github.com/veg/hyphy-3) that maps unaligned coding sequences to a coordinate-consistent selection atlas in one run. From a single Inside-Outside likelihood table, the pipeline repairs reading frames, co-estimates a codon alignment and Ohmic reticulate network, models directional base-composition drift, and evaluates eight selection tests (BUSTED-E, aBSREL, RELAX, FEL, dFEL, MEME, Contrast-FEL, and PRIME). Across 10,020 simulated alignments, WALRUS recovers 94.6% of true columns on the 800 INDELible replicates and cuts indel-driven false positives from 44.7%-58.1% to 4.4% under BUSTED (21.1%-21.4% to 1.4% under BUSTED-E). Under Zipfian indel saturation, false positives drop four-fold (33.3%-83.3% to 17.0%-20.5%), while 11,190 avian orthogroup runs execute 6.6-35.8-fold faster and cut housekeeping false positives 13-fold (28-fold on ultraconserved genes) proteome-wide.

bioRxiv (Cold Spring Harbor Laboratory)
Microsoft (United States) (US), Pennsylvania State University (US), Harvard University (US), North Carolina State University (US), University of Arizona (US), University of Cape Town (ZA), Cornell University (US), London School of Hygiene & Tropical Medicine (GB), Institute of Infectious Disease and Molecular Medicine (ZA), University at Buffalo, State University of New York (US), Temple University (US)
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon