HyphAeon, WALRUS,
BUSHWHACKER & SQUINT

Compact models and fast operators for comparative genomics at vertebrate scale
Sergei L. Kosakovsky Pond
Institute for Genomics and Evolutionary Medicine, Temple University
with Steven Weaver, Anton Nekrutenko, and the HyPhy / Galaxy teams
Vertebrate Genomes Project · Comparative Genomics Working Group December 2026
Roadmap · Four Stages of Comparative Genomics

Four core stages, four new formulations

Fast compiled implementations throughout (Rust, C++20/WASM, and PyTorch/WebGPU) across the Align → Tree → Selection stack. Today we start at the top with HyphAeon, then step through the rest:

Workflow Stage Current Bottleneck Tool & Stack When You Reach For It
1. Multi-Scale Homology Global flat MSAs struggle with clade-specific & disordered regions SQUINT · Part 04
Rust · .hdb
Parameter-free MDL alignment that abstains where homology breaks down
2. Phylogeny & Networks Strictly binary trees yield unstable splits in rapid radiations BUSHWHACKER · Part 03
Rust · .bwz
Lossless MDL trees, rapid radiations, gene transfer & convergence
3. Joint Align + Tree + ML Sequential MSA → tree → ML handoffs propagate indel FPs (>80%) HyPhy 3 / WALRUS · Part 02
C++20 · SIMD128 WASM
Formal hypothesis tests & detailed single-gene analyses in browser/CLI
4. Exome-Scale Operator Per-site ML is too slow to perturb, permute, or correlate HyphAeon · Part 01
PyTorch · WebGPU
Proteome-wide selection scans, QC, trait mapping & coevolution
01 · SELECTION & ATTRIBUTION · PYTORCH / WEBGPU

HyphAeon

A compact, tree-free, differentiable selection operator for vertebrate-scale alignments

What it does

Detects site-level positive and purifying selection across an entire coding alignment in under a second on a laptop, replacing per-site Markov likelihood optimization with a compact, tree-free neural operator.

Why you should care

Run exome-wide selection scans in minutes, then reuse the same differentiable model for alignment QC, trait-convergence mapping, site coevolution, and phylogenetic permutation tests.

01 · HyphAeon

Scaling codon models to VGP-size datasets

  • VGP and TOGA now give us 17,000+ orthologs across hundreds of vertebrate genomes
  • Classical ML (HyPhy MEME) optimizes 61×61 Markov rate matrices from scratch at every site
    • Accurate and well-calibrated, but scanning a full vertebrate proteome takes weeks of cluster compute
    • Independent single-site estimates carry high variance when branch divergence is sparse
  • An offline numerical optimizer puts you in a one-shot straitjacket: you run it once on a fixed alignment and tree, and cannot easily differentiate it, re-score perturbations, or run large-scale permutation and pairwise coevolution screens
01 · HyphAeon · Intuition

Why a small, column-wise model works

  • Large protein language models (650M–15B parameters) learn sequence and gene-family context rather than phylogenetic dN/dS
  • HyphAeon (1.91M parameters) scores one codon column at a time across M species, without seeing gene identity, sequence position, or flanking codons
  • Trained directly on empirical alignments — 17,186 VGP/TOGA mammalian genes (742 species, 9.77M codons) paired with MEME LRTs — rather than synthetic simulations
  • Empirical Bayes shrinkage (r = 0.71): on finite alignments, two independent realizations of the same evolutionary process correlate at only r ≈ 0.71; HyphAeon matches that ceiling on held-out genes while smoothing single-site ML variance (0.24 ms/site)
01 · HyphAeon · Geometry

Effectively tree-free: continuous metric space

Instead of pruning branch-by-branch over a discrete binary tree, HyphAeon embeds pairwise distances Dij into 4D MDS coordinates (>88% variance), so it runs with a tree or from pairwise distances alone.

Paradigm Phylogenetic Input Genetic Code & dS Consequence at VGP Scale
Classical ML
(MEME, PAML)
Fixed bifurcating tree (branch-by-branch pruning) Explicit 61×61 codon matrix Exact, but compute-heavy and sensitive to local tree error / ILS
Protein LMs
(650M–15B params)
None (sequences treated as i.i.d. strings) Amino acids only (no dS baseline) Does not separate shared ancestry or mutation rate from selection
HyphAeon Tree optional: Newick tree or raw pairwise distances Dij Isolated dS & dN tracks + Markov distance decay Parallel across species, 500–1,000× faster, smooths local tree errors
01 · HyphAeon · How It Works

How HyphAeon works (1.91M parameters)

1. ONE COLUMN [ROOT] (0,0,0,0) Human ATG Microbat GTG Dolphin GTG ⋮ ⋮ Split dS (192D) | dN (192D) 2. CROSS-SPECIES ATTENTION (×6) All M species attend in parallel Tree-RoPE: 4D MDS coordinates Markov decay: bias ~ exp(−λ Dij) No discrete tree traversal · tree optional 3. SITE BOTTLENECK [ROOT] 384D site vector Attention weights → lineage attributions 4. CORAL HEAD 16 ordered thresholds Sum P(LRT > τk) → calibrated LRT & p

Tree-RoPE

Encodes each species' 4D MDS coordinates from pairwise distances directly into attention, without traversing a discrete tree.

Markov decay

Down-weights comparisons across long branches (e−λDij), separating independent convergence from shared ancestry.

[ROOT] token

Aggregates across all M species via attention, so selection on a small subset of lineages is not diluted by conserved background branches.

CORAL loss

Most sites are neutral (LRT ≈ 0). Predicting 16 ordered exceedance thresholds prevents MSE collapse toward zero and preserves tail ranking.

01 · HyphAeon · How You Use It

One forward pass, four downstream analyses

Input: any coding alignment (FASTA/NEXUS; tree optional). Runtime: <1 sec per gene in a browser (WebGPU) or <2 h for 17,000 genes on one GPU / Galaxy. Once computed, the same forward pass supports four analyses:

What One Pass Returns How You Use It Biological Question It Answers
Site scores
LRTs, p, q
Re-score after masking a species, exon, or residue Is this hit genuine adaptation or a draft-genome annotation error?
Lineage attributions
as ∈ ℝM
Correlate against a trait vector y with phylogenetic permutations (permulations) Which genes & sites drove a convergent trait across my tree?
Site-pair correlation
corr(ai, aj)
Identify codon pairs driven by the same subset of lineages Which residues co-evolve in 3D or buffer human disease mutations?
Selection velocity
vs = d(LRTs) / dt
Differentiate site selection scores over sampling calendar dates Which sites are actively sweeping in longitudinally sampled data (e.g., viruses)?
01 · Use Case 1 · Alignment Quality Control

Separating positive selection from annotation errors

WhyShifted exon boundaries and draft-genome errors create apparent bursts of positive selection in comparative alignments.

HowMask one species (or sliding exon window) at a time and re-score; genuine selection persists while single-genome artifacts drop out.

Length of misaligned single-species exon tracts
OrthoMaM v12 (15,868 genes): flags 72,832 misaligned exons (median 31 codons = 1 internal exon; 5.4× worse in marsupial/monotreme drafts) while retaining 96.3% of consistent hits.
Insulation from neutral clock and gBGC
Specificity: tracks nonsynonymous divergence (r = +0.71) while remaining uncorrelated with the neutral clock and gBGC (r = −0.07 across 333M substitutions).
Trained on placental VGP/TOGA · evaluated out-of-distribution on OrthoMaM v12 (180 placentals + unseen 8 marsupials & 2 monotremes)
01 · Use Case 2 · Proteome-Wide Validation

Cellular localization gradient across mammals

  • Why: Before applying a neural model to new VGP clades (birds, fish, reptiles), check whether it reproduces established proteome-wide selection patterns
  • How: Stratify QC-filtered site scores across 15,845 genes by subcellular location and membrane topology
  • What you get: A monotonic outside-in gradient, from 8.0% secreted/outer surface down to 2.4% core 80S ribosome (P = 5.1 × 10−121)
  • Resolves membrane topology: outer-facing receptors (6.8%) vs. inner-leaflet scaffolds (5.0%)
Outside-in cellular selection gradient
15,845 localization-mapped OrthoMaM v12 genes (Human Protein Atlas + Deliverome surfaceome)
01 · Use Case 3 · Trait Mapping & Live Demo

Mapping convergent traits to specific sites

  • Why: Gene-wide averages favor short proteins (e.g., SEM1, 70 aa) and dilute focal adaptive sites inside large multi-domain genes
  • How: Correlate each site's species vector as against trait vector y; calibrate with 1,000 Brownian permulations/gene (15.87M runs in 90 min)
  • What you get: 8 canonical sonar genes in the top 12 of 15,035 (TMC1 #1, CIB2 #2, PCDH15 #3, Prestin composite #3: 762 codons, ρmax = 0.907, 4 parallel substitutions)
Live demo: run HyphAeon in WebGPU (veg.github.io/HyphAeon) on VGP Prestin (SLC26A5) — tree-free, <1 sec
Single-site echolocation convergence in bats and whales
01 · Use Case 3b · Separating Gain from Loss

Distinguishing adaptive gain from relaxed constraint

  • Why: Losing a trait (vision in moles, olfaction in whales) relaxes purifying constraint, letting random substitutions mimic accelerated evolution in convergent scans
  • How: Compare each gene's peak adaptive signal against its substitution rate in the conserved structural core (codons ≥ 90% invariant across background mammals)
  • What you get: Adaptive gains (Prestin, PCDH15, EPAS1) preserve the structural core (<2.2×), whereas vestigial eye-lens (LIM2, CRYBA1, MIP) and olfactory (OR6B1) genes erode it up to 9.5× (P = 1.8 × 10−19)
Adaptation versus vestigial trait decay
01 · Use Case 3c · Evolutionary Repeatability

Repeatability across scales: Gould vs. Morris

  • The debate: If evolution replayed, would lineages take different paths (Gould: contingency) or converge on the same solutions (Conway Morris: determinism)?
  • How: After filtering vestigial decay, measure sharing across 1.23M adaptive sites in four convergent traits (echolocation, diving, burrowing, longevity)
  • What you get: Low sharing for exact amino acids (7.6–14.0%, Gould) and codon position (16.3–27.1%), rising through 10-aa loops (31.5–42.3%) to 3D domains (83.7–93.9%, Morris)
Repeatability across spatial scales
01 · Use Case 4a · Clinical Variants & Coevolution

Why human disease alleles persist in mammals

  • Why: Purifying selection excludes 98.0% of 25,938 pathogenic ClinVar variants from ≥ 2 mammals, yet 2.0% (515 alleles) appear as wild-type in healthy species
  • How: Correlate lineage-attribution vectors (ai, aj) across 497.9M residue pairs (7,576 PDBs) to find sites adapting on the same lineages, without structural input
  • What you get: Inside co-evolving sectors, 97.6% (40/41) of persistent disease alleles carry a co-mutated partner (4.65× over baseline, P = 4.3 × 10−25; 20.2× at <5 Å)
Purifying filter and partner rescue
01 · Use Case 4b · Biophysical Compensation

Compensatory partners restore local packing volume

  • Why: Same-lineage co-substitution alone does not show how a second residue buffers a deleterious allele inside a folded pocket
  • How: Compare side-chain volume changes (ΔV) across 345 compensated pairs (|ΔV| ≥ 25 ų, within 20 Å) linking pathogenic alleles to mammalian partners
  • What you get: Side-chain volume compensation (r = −0.91) — bulky clashes (MPZ, SPOP, PSEN1) pair with partner shrinkage, while cavities (GLA, HBB) pair with expansion
Side-chain volume push-pull rescue
01 · Use Case 5 · Out-of-Distribution Generalization

Transfer beyond mammals: cross-clade & viral tests

WhyVGP spans birds, fish, reptiles, and amphibians — does a model trained only on placental mammals transfer to other clades?

HowWithout retraining, HyphAeon matches MEME across 73 published cross-clade alignments (median ρ = 0.68); we also applied the same weights to longitudinally sampled RNA viruses via vs = d(LRTs)/dt.

Sweeps recovered from post-fixation dilution
Static whole-tree scans find 0 adaptive sites in RSV Fusion (F); selection velocity recovers 67 / 67 sweeps (100%) and 334/359 across 12 pathogens.
Selection velocity precedes dominance
Across 9.34M SARS-CoV-2 genomes, velocity peaks precede 80% global dominance by 2.5–9.8 months, confirming out-of-distribution transfer.
02 · UNIFIED SELECTION WORKBENCH · C++20 / WASM

HyPhy 3 & WALRUS

Joint codon alignment, recombination-aware trees, and selection inference in one pass

What it does

Takes raw unaligned coding sequences (CLI or browser at veg.github.io/hyphy-3), repairs frameshifts, aligns codons with column homology posteriors, infers a phylogeny with recombination checks, and runs eight selection tests in one pass.

Why you should care

Runs 20–87× faster than HyPhy 2.5 and cuts indel-driven false positives from >80% to 1.4–4.4% by propagating alignment uncertainty directly into selection tests.

02 · HyPhy 3 & WALRUS · End-to-End Workbench

Joint alignment, phylogeny, and selection

WhyStandard aligners optimize sequence scores independently of the codon substitution model, which can push selection false positives above 80% in indel-rich loops.

Howhyphy3 walrus (C++20 + SIMD128 WebAssembly) runs one shared Inside–Outside engine from raw FASTA to 8 selection tests (20–87× faster than HyPhy 2.5).

STAGE 0 · QA 6-frame admission • Auto-detect genetic code • Rescue reverse complements • Trim UTRs & quarantine stops Raw unaligned FASTA / NEXUS STAGE 1 · ALIGNMENT Codon Pair-HMM + POA • Frame-preserving codon MSA • 1/2-bp frameshift DP repair • Column posteriors Phom 94.6% true columns recovered STAGE 2 · PHYLOGENY Tree, drift & recombination • O(B) Inside–Outside L-BFGS • ΔBIC recombination checks • GC3 drift & auto-rooting Propagates Phom downstream STAGE 3 · SELECTION Selection tests • BUSTED-E · aBSREL · RELAX • FEL · MEME · Contrast-FEL • PRIME · dFEL · ASR · epistasis 1.4–4.4% indel FPR (vs. >80%)
Browser version: veg.github.io/hyphy-3 runs all 4 stages locally via WebAssembly (no server upload)
Across 10,020 INDELible simulations: cuts indel-driven BUSTED false positives from >80% (MAFFT/MACSE) to 1.4–4.4%
02 · HyPhy 3 & WALRUS · Avian Proteome Benchmark

11,190 avian genes: 13× fewer false positives

WhyOn real vertebrate orthogroups, standard pipelines (PRANK + GUIDANCE + BUSTED) flag 35–48% of conserved housekeeping genes as positively selected.

HowJoint codon alignment propagates column homology posteriors (Phom), repairs frameshifts, and controls GC3 drift inside one pass (6.6–35.8× faster).

Eliminating a gap-magnet false positive in birds
Ratites vs. birds (HOG 13310): PRANK packs an indel into a false MEME hit (p = 2.7×10−4); WALRUS -u separates it (Δln L = +122) into a purifying core.
Unfiltered KEGG enrichment vs housekeeping specificity
11,190 avian genes: cuts Spliceosome, Ribosomal & Proteasome false positives from 35–48% down to 1.2–3.2% while retaining DNA repair and antiviral enrichment.
02 · HyPhy 3 & WALRUS · Multi-Scale Avian Atlas

Selection, GC3 drift, and clade shifts in one pass

  • Shared likelihood pass: jointly quantifies indel-loop selection (71.9% of genes), synonymous-rate islands (57.3%), GC3 drift (52.1%), and CpG hotspots
  • Unsupervised clade discovery: finds lineage shifts without pre-tagging branches, e.g., passerine intensification in antiviral helicase ZNFX1 (K = 4.5×, p = 9.4×10−29)
Genome-wide evolutionary forces across 11,190 avian orthogroups
Passerine clade intensification in avian antiviral helicase ZNFX1
02 · HyPhy 3 & WALRUS · Single-Gene Deep Forensics

Unsupervised domain & regime forensics on TP53

What you getFrom raw coding sequences across 267 mammals & 35 primates: 1D HMM recovers exact PDB 1TUP domains, isolates 6 invariant cancer hotspots (ω = 0), and discovers a Murinae relaxation shift (K = 0.50, p = 3.1×10−7).

Unsupervised 1D domain recovery and clade shift in vertebrate TP53
03 · PHYLOGENY BY COMPRESSION · NATIVE RUST

BUSHWHACKER

Evolutionary trees, rapid radiations, and lateral networks by lossless data compression

What it does

Infers trees, unresolved polytomies, and lateral transfer or convergence links by lossless data compression, retaining a branch only when it saves bits.

Why you should care

Removes 60–80% of unsupported gene-tree conflicts in rapid vertebrate radiations without bootstrap thresholds, and runs 882-mammal supermatrices in under 2 GB of RAM.

03 · BUSHWHACKER · Core Idea

Heredity as lossless data compression

HowEncode one ancestor plus sparse branch edits. A branch or lateral link enters the graph only when shared edits save more nats than its address costs (1.98 GB RAM vs. 79.2 GB for IQ-TREE 2 on 882 mammals).

Heredity as lossless compression
Shared descent compresses sequences: recording shared edits once on a stem scales to 63.2 bytes/genome across 10,062 viral genomes (11.5× smaller than gzip -9).
When a branch earns its place: burst vs split
Branch support without bootstraps: 0–1 shared edits lose nats (stay a polytomy); 2–4 shared edits save +1.2 to +3.9 nats (Plocal = 77–98%); quiet stems beat fast branches 5.6×.
03 · BUSHWHACKER · Resolving Gene-Tree Conflict

Branches enter only when they save bits

WhyEnforcing strictly bifurcating trees on rapid radiations introduces low-support splits: 2/3 of single-gene trees disagree with species trees and shift across models or seeds.

HowZero-change stems (ΔL ≤ 0) remain polytomies instead of forced bifurcations; positive compression savings directly weight species-tree inference.

Untangling mammalian CHST13 gene tree
Mammalian CHST13: ML + UFBoot yields 8 conflicts (3.8 s); BUSHWHACKER leaves the mutation-free hub open → 0 conflicts, 9 true clades in 0.02 s.
Same-alignment flips and conflict across 19 radiations
45,205 genes across 19 radiations: removes 95–96% of model/seed flips and 61.5% of gene-tree clashes (−75% in birds, −83% in early animals).
03 · BUSHWHACKER · Same Framework for Trees, Transfer & Convergence

Back to Prestin: tree intact, convergence isolated

HowContiguous transfers pay 2 endpoints (recombination / gene conversion); scattered parallel edits isolate adaptive convergence without letting 4 sonar sites distort the mammalian species tree.

Prestin sonar network across 116 mammals
Vertical backbone preserved: whales and bats stay monophyletic (Plocal = 1.00) while isolating the dolphin–horseshoe bat sonar shunt (P = 0.98).
Codon states at the 4 certified convergent shunt sites
4 convergent motor codons (N7T, I384T, S392A, G601A) extracted directly from the MDL model, cutting species-tree false splits nearly in half vs. IQ-TREE 2.
03 · BUSHWHACKER · 19,953 TOGA2 Proteins Across 882 Mammals

Gene conversion vs. cross-order convergence

  • Species-tree baseline: 85.9% of proteins (97.9% >1,500 aa) compress tighter on the species tree than on a free gene tree
  • How: Without synteny or paralog labels, genomic footprint separates contiguous tracts (6.0% of genes, median 85 aa) from scattered parallel sites (11.9%)
  • What you get: Contiguous tracts stay within families (68.9%) and enrich 3.9–5.4× in CYP, OR & KRAB clusters; scattered sites cross orders 3.3× more often (38.0%)
Paralog gene conversion versus cross-order parallel sites
03 · BUSHWHACKER · Resolving the Genome-Wide Convergence Debate

Guild neutrality vs. focal cochlear convergence

  • Ecological guilds tested: Do independent lineages sharing a lifestyle — ant-eaters (pangolins/anteaters), subterranean, marine, and echolocators (bats/whales) — show genome-wide convergence?
  • Proteome-wide neutrality (left): None exceed random expectation (0.50–1.47×); the raw 12.6× ant-eater spike comes from giant proteins (titin) and multicopy receptors (1.35× length-adjusted)
  • Focal machinery (right): Inside the 27-gene inner-ear hair-cell complex, half (9/18) of species-tree parallel links unite echolocating bats or whales (3.0×, P = 0.0011; labels = gain in +nats)
Whole-proteome guild neutrality versus focal cochlear bundle
04 · MULTI-SCALE HOMOLOGY · NATIVE RUST

SQUINT

Multi-scale sequence homology by lossless compression

What it does

Aligns sequences using parameter-free Minimum Description Length compression (without BLOSUM or LG tables) and abstains whenever shared ancestry cannot beat a repeat-aware null.

Why you should care

Avoids aligning across clade-specific exons and scrambled disordered tails, recovering a 3–6× faster-evolving vertebrate adaptive stratum often missed by global MSAs.

04 · SQUINT · Core Idea

Alignment as lossless data compression

  • Bit-budget criterion (ΔL = Lind − Ljoint > 0): align two sequences or clades only when joint ancestral encoding takes fewer bits than encoding them independently — defining a parameter-free horizon at ΔL = 0
  • Repeat-aware baseline (Lind): compresses each sequence's local composition and tandem repeats (periods 1–12) before cross-species comparison, so low-complexity tracts cannot earn spurious alignment bits
  • First-principles rates & marginalization: derives rates from the genetic code and 5-axis chemistry (no BLOSUM or LG tables), summing over gap placements, unaligned segments, and inline frameshift repairs via sparse Forward–Backward DP
  • Tree-indexed archive (.hdb): stores universal cores, clade-local blocks, frameshift repairs, and unaligned bubbles intact rather than flattening into one matrix — running in 2–4 s/gene (Rust & WASM)
04 · SQUINT · Limits of Global Rectangular Alignment

When global alignment should abstain

WhyUnlike pairwise search (BLAST, HMMER), standard multiple aligners place every residue into one flat matrix, mixing lineage-specific genes (vpu vs. vpx below, or clade-specific vertebrate exons) or leaving them to gap trimmers.

Forced rectangular alignment versus SQUINT MDL on primate lentiviruses
MAFFT L-INS-i creates 94.2% chimeric columns retained by occupancy masks · SQUINT yields 0.0% collisions (303 universal core + 2,297 clade-local columns)
04 · SQUINT · Parameter-Free MDL Homology · Vertebrate FUS (450 Myr)

Repeat-aware MDL defines the alignment horizon

BiologyVertebrate FUS (33 species, 450 Myr) pairs folded RNA-binding cores (RRM, ZnF; 4.4 bits/aa) with Gly/Ser-rich disordered tails (QGSY, RGG; 2.5 bits/aa) that scramble from mammals to fishes.

HowGenetic-code + 5-axis chemistry rates vs. a repeat-aware null (no BLOSUM/LG): Gly repeats are already cheap independently, so cross-class pairing saves 0 bits and emits anchored bubbles.

SQUINT bit-budget profile on vertebrate FUS
AlphaFold core/IDR concordance 0.945 (vs. 0.715) · frameshift repair cuts errors 20× · 82.8% precision <15% id (Rust, 2–4 s/gene)
04 · SQUINT · Multi-Scale Homology Taxonomy

One MDL test defines four homology tiers

  • Type I · Universal positional core: Residue order compresses across the full tree (ΔLpos > 0 at root) — standard 1-to-1 columns (e.g., folded FUS RRM/ZnF).
  • Type II · Clade-scoped positional: Order fails globally but compresses inside a subclade u — lineage-specific exons, loops, or genes (e.g., vpu / vpx).
  • Type III · Anchored non-positional: Order scrambles even within clades; emits an anchored bubble governed by one shared chemistry/grammar model (e.g., IRS1).
  • Type IV · Clade phase transition: Inside a bubble, two clade-specific chemistry models beat one shared model — a conserved bulk shift (e.g., GJD2, BCL11B).
SQUINT four homology tiers Types I to IV
All four tiers are stored losslessly in one tree-indexed .hdb archive rather than collapsed into a flat FASTA
04 · SQUINT · 3,000 Tetrapod Orthologs

Clade-scoped domains evolve 3–6× faster

  • Question: Do clade-restricted (Type II) domains evolve differently from universal (Type I) cores inside the same protein?
  • How: Run standard FEL and MEME on strict Type II blocks vs. Type I cores on the same subtrees (565 paired vertebrate cohorts)
  • What you get: Monotonic stratigraphy — Type II ω rises from deep clades (2.16×, 352 Mya) through birds (4.39×, MEME 4.7×) to young mammal orders (6.23×; ρ = −0.33, p = 1.3 × 10−15)
Phylogenetic stratigraphy across tetrapods
04 · SQUINT · Global MSA Fate (100 Stratified Genes)

Why global aligners and trimmers miss Type II sites

  • Type I control (top bar): Universal cores survive MAFFT + trimAl cleanly (only 1.7% clipped), whereas clade-specific Type II blocks face a two-way trap
  • Skip trimming → outgroup mixing (◇): Untrimmed MAFFT packs non-homologous outgroups (≥25% occupancy) into 78.1% of Type II columns — contaminating 85% of Type II MEME hits
  • Apply trimming → clade erasure (bars): trimAl deletes gappy subclade columns (40.7% in birds, 52.8% in primates, 98.7% in cetartiodactyls)
  • Net result (bottom row): Only 3 / 80 (3.8%) of Type II adaptive hits remain both unclipped and uncontaminated — though clade-restricted MAFFT replicates the 3.4× ω signal
Global MSA fate of Type II domains
04 · SQUINT · Type III · Beyond Positional Alignment

Liquid homology: fast turnover, frozen net charge

  • Why: When residue order scrambles inside intrinsically disordered loops, standard tools discard them under the assumption of neutral drift
  • How: Inside 5,904 doubly-anchored tetrapod bubbles, calibrate observed chemical drift against neutral 61-codon simulations from flanking Type I 4-fold sites (ψ = 1 is neutral)
  • What you get: 21.7% (1,284) sit in the liquid regime — individual residues turn over near neutrality (ψAA20 ≥ 0.70) while bulk net charge stays purified (ψNCPR ≤ 0.30; IRS1, SFPQ, AFF4, CHRM4)
Liquid homology: fast residue turnover with frozen net charge
04 · SQUINT · Type IV · Macro-Evolutionary Phase Switches

Clade-locked phase switches & null-control audits

  • Double-locked shifts (top): Across 3,000 tetrapod orthologs, Type IV bubbles jump cleanly at major clade roots and stay tightly conserved — e.g., therian GJD2 (4 → 19 aa, 215× lock), placental BCL11B (105×), and isomeric Gln→Pro switches in CHRM4
  • Negative-control audits (bottom): Exact phylogenetic sign tests confirm marine traits match the 50% neutral baseline (50.9–51.6%, p ≥ 0.13) and flag warm-blooded G/P/C drift (85.7%) as coding GC3 isochore bias rather than convergence
Double-locked Type IV clade phase transitions and negative-control audits
Summary · Open-Source Implementations

Four tools, compiled and open source

Compiled and GPU-accelerated implementations running locally on a laptop or browser and scaling to full VGP proteomes on HPC or Galaxy (Orbit).

Tool Primary Focus Stack & Web App Code & Preprint
SQUINT Multi-scale homology & frameshift repair Rust · WASM (.hdb)
veg.github.io/squint
github.com/veg/squint
Preprint in preparation
BUSHWHACKER Trees, polytomy hubs & lateral networks Rust · WASM (.bwz)
veg.github.io/bushwhacker
github.com/veg/bushwhacker
doi:10.5281/zenodo.24222787
HyPhy 3 / WALRUS Joint codon alignment, tree & selection ML C++20 · SIMD128 WASM
veg.github.io/hyphy-3
github.com/veg/hyphy-3
bioRxiv 2026.11.06.764988
HyphAeon Exome-scale selection, QC, traits & epistasis PyTorch · WebGPU
veg.github.io/HyphAeon
github.com/veg/HyphAeon · HF weights
bioRxiv 2026.09.06.749597
Sergei L. Kosakovsky Pond · spond@temple.edu · spond.github.io/CV.js