bioRxiv · 10.64898/2026.11.06.764988
All Together Now: Joint Codon Alignment, Ohmic Networks, and Error-Controlled Selection Inference in HyPhy 3
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Kosakovsky Pond, S. L., Weaver, S., Martin, D. P., Frost, S. D. W., Brown, G., Callan, D., Chalkova, D., Enard, D., Lynch, V. J., Sackton, T. B., Verdonk, H., Zehr, J. D., Muse, S. V., Nekrutenko, A.. 2026-11-14. All Together Now: Joint Codon Alignment, Ohmic Networks, and Error-Controlled Selection Inference in HyPhy 3. https://doi.org/10.64898/2026.11.06.764988
Cite the original work for its findings. Save a collection to share your selection of sources.