An ambitious and potentially very useful unified alignment–selection engine whose reported arithmetic largely checks out, but the released code departs from the Methods (different null distribution, error-sink cap, no Holm correction), a showcase parity result (adh) does not reproduce, Table 4 does not account for ~1,600 replicates, and the replication archive does not exist, so the headline calibration gains cannot yet be trusted as stated.
Soundness
2/4
Presentation
2/4
Contribution
3/4
Confidence
4/5
✓ 6 confirmed✕ 14 discrepancy○ 1 not checkable
Summary
The paper introduces WALRUS, a C++20 engine in HyPhy 3 that takes unaligned coding sequences and, in a single run, curates reading frames (Stage 0), builds a tree-aware two-stratum codon POA alignment (Stage 1, Eq. 1), co-estimates a joint substitution+indel tree with "Ohmic" Wheatstone-bridge reticulations for recombination/gene conversion (Stage 2, Eq. 2), fits a three-regime non-stationary GC3 drift model with automatic rooting (Stage 3, Eq. 3), shares one inside–outside branch–site likelihood cache with a BUSTED-E error sink (Stage 4, Eq. 4), and runs eight selection tests plus domain segmentation and a blind clade scan (Stage 5).
The central claims are that (i) on 10,020 simulated alignments WALRUS aligns better (TC 94.6% vs 87.6% MACSE / 85.7% MAFFT) and reduces indel-driven gene-wide BUSTED false positives from 44.7–58.1% to 4.4% (BUSTED-E 21.1–21.4% to 1.4%); (ii) a six-pillar stress suite shows each stage neutralises a specific confounder; (iii) WALRUS matches standalone tools numerically and runs 6.6–35.8x faster on six benchmark datasets; and (iv) in a reanalysis of 11,190 avian orthogroups (Shultz & Sackton 2019) the genome-wide positive-selection rate drops from 55.4% to 12.1%, with 13-fold and 28-fold fewer calls on housekeeping and ultraconserved genes and stronger host-defence enrichment. Four worked examples (abalone lysin, RBP3, SEMG2, TP53) illustrate individual stages.
Strengths
Addresses a real, well-documented problem with an integrated design
Section 1; Section 3 (Stages 0–5, Eqs. 1–4)
Alignment error propagating into codon-model selection tests is a known source of false positives (Section 1; Jordan & Goldman 2012; Selberg et al. 2025). Co-estimating a codon-aware alignment, reticulation, compositional drift and an error sink within one likelihood framework (Sections 3.1–3.3, Eqs. 1–4) is the right architectural answer, and packaging it with eight familiar HyPhy tests lowers the barrier for users.
Large, ground-truthed simulation design with unfavourable rows reported
Table 3; Section 4.1; Figure 6A
Table 3 reports per-scenario results rather than only pooled numbers, including rows where WALRUS is miscalibrated (S17 7.5%, S19 22.5% null FPR). Our recomputation (check 02) found all 18 pooled columns equal to the 360/440 weighted means within rounding and every rate an achievable k/360, k/440 or k/40 fraction; TC differences (+7.0/+8.9 pp) and the 1.44x speed ratio reproduce.
Reported summary statistics are largely internally consistent
Many numbers recompute exactly: the lysin log-likelihood gains (+15.25, +6.45, −8.80; check 09), the RBP3 GC3 χ² (528.4, p = 3.4e−41 at df = 159; check 06), all six Table 5 speedups (check 10), 24 of 26 avian rate quantities (check 11), the KEGG OR 6.29 / p = 1.2e−17 and GC3 OR 0.77 / p = 5.9e−6 Fisher tests (check 12), and 18 covariate ratios (check 15).
Part of the parity claim reproduces from the released code
Building hyphy3-walrus at the cited commit afacb3e and running it on CD2 reproduced Table 5 exactly (FEL LRT r = 0.9994, 40/40 concordant calls, BUSTED-E p = 1.00), and the camelid gene-wide verdict (p < 1e−4) also reproduced (check 20). The boundary guards and the Λ_dir gate are implemented exactly as described (check 18).
Candid discussion of boundary conditions and AI-assistance disclosure
Section 4.2; Section 6; Acknowledgments (p. 26)
Section 4.2 point 3 and the three boundary conditions in Section 6 acknowledge residual inflation under Zipfian indels and limits of the approach; the Acknowledgments explicitly disclose extensive agentic-AI use in implementation, benchmarking and drafting.
Weaknesses
Released code implements a different gene-wide test and error-sink cap than the Methods describe
At the cited commit afacb3e the WALRUS gene-wide p uses a 50:50 χ12:χ22 mixture (characterize.hpp:4889–4891), whereas the standalone BUSTED results it is compared against use ; this reproduces the otherwise anomalous RBP3 p = 0.39 for LRT 1.30 (check 05; 0.26 under the BUSTED convention). Under a BUSTED-type null this alone lowers the nominal 5% rejection rate to 3.83% (critical LRT 5.14 vs 4.61; check 19), i.e. about a quarter of the false-positive budget, so the Tables 3–4 and avian comparisons partly reflect a change of reference distribution rather than better modelling. The paper never states this. In addition, the error-sink cap is hard-coded at 1.5% (characterize.hpp:4767, 4788) although Sections 3.3, 4.2 and the Discussion state (Section 5.2 mentions a "1.5% cap after the Wsink scale fix"), and the Stage 3 softmax uses data-adaptive , with full-strength GC tilt on all codon positions instead of , , at positions 1–2 (check 18). Fix: document the exact null distributions, constants and code version used for every table, and rerun the WALRUS vs BUSTED comparisons with a common reference distribution.
Questions for the authors
Which exact code version produced Tables 3–6? At commit afacb3e the adh BUSTED-E result is p = 6.5e−5 with zero error-sink weight, not p = 1.00 with a 1.08% quarantined class; was the "Wsink scale fix" applied before or after the simulations and the avian run?
Was the WALRUS gene-wide p-value in Tables 3–4 and the avian analysis computed with the 50:50 χ²₁:χ²₂ mixture found in the code? If so, what are the WALRUS null FPRs and powers under the BUSTED χ²₀:χ²₂ convention?
How were the Holm-adjusted clade-scan p-values computed, given that the released code reports unadjusted χ²₁ p-values and the implied multipliers equal 2N−3 rather than the internal-branch count stated in Section 3.3?
Where are the ~1,600 Table 4 replicates not shown in any row, and on how many replicates were the MAFFT+BUSTED baselines (all multiples of 1/60) evaluated?
In the Omnibus Differential Suite, how many of the 2,650 WALRUS and 743 Contrast-FEL calls are true differential sites?
Were the boundary-guard thresholds, γ_occ, t₀ and the error-sink cap selected using the same simulation suites reported in Section 4? How do results change on a held-out simulation design?
What is the empirical false-gating rate of the Λ_dir test on stationary simulations across tree sizes beyond Pillar 5 (e.g. 200–500 taxa with long branches)?
Verification
Twenty-one checks were run with scripts in work/verify/. Seven are confirmed: Table 3 pooling and granularity, the RBP3 GC3 χ², Table 5 speedups, avian rates, KEGG/GC3 Fisher tests and covariate ratios all recompute (with minor slips noted). Thirteen are discrepancies. Besides presentation-level errors (codon-distance claims, SEMG2 periodicity, lysin text vs figure, AHSG ΔC, 1TUP coverage, reference titles), several bear on main claims. Building the released engine at the cited commit reproduced the CD2 and camelid parity results but not the adh error-sink rescue. Reading the code showed a different gene-wide null distribution (which removes ~23% of the nominal 5% budget), a 1.5% rather than 2.5% error-sink cap, different Stage 3 constants and no Holm correction. Table 4 does not account for ~1,600 replicates, and its baselines were computed on smaller sets. The Contrast-FEL 3.57x figure counts more calls than there are true sites. The replication archive (Zenodo DOI) does not resolve, so the simulation and avian results themselves could not be regenerated (one not_checkable).
6Confirmed
14Discrepancy
1Not checkable
✕DiscrepancyTable 4 (Pillar 3, Omnibus Differential Suite row); Section 4.2 item 3
Stanhope MJ, Czelusniak J, Si J-S, Nickerson J, Goodman M. Molecular Phylogenetics and Evolution 1(2):148-160, 1992 (doi 10.1016/1055-7903(92)90026-D)
Wrong title. The DOI and volume/pages resolve to 'A molecular perspective on mammalian evolution from the gene encoding interphotoreceptor retinoid binding protein, with convincing evidence for bat monophyly', not 'Molecular evidence for the major clades of placental mammals'. The work itself (an IRBP/RBP3 phylogeny) is appropriate for the RBP3 example.
Cho Y, Gorina S, Jeffrey PD, Pavletich NP. Science 265:346-355, 1994 (PDB 1TUP)
Cited for a structural domain map it does not provide. PDB 1TUP contains only the p53 core domain (UniProt P04637 residues 94-312) bound to DNA (RCSB entity 3). Figure 5A nevertheless labels TAD 1-31, IDR 32-91 and OD/CTD 293-393 as 'PDB 1TUP Structure', and Section 2.4 says the core 'matches PDB 1TUP codons 92-292'; the structure actually spans 94-312.
Selberg A et al. Minus the error: Testing for positive selection in the presence of residual alignment errors. eLife 14:RP106921, 2025
Cited (Abstract; Section 1) for heuristic aligners 'inflating gene-wide false-positive rates above 80%'. The abstract (Europe PMC) contains no such figure. This could not be confirmed and may be in the full text; the authors should give the specific result (table/figure) supporting the 80% figure.
Title truncated ('...positive selection in cattle:.'); the full title continues 'adaptive evolution of the T-cell and natural killer cell-surface protein CD2'. Minor bibliographic error.
Suggestions
Deposit a resolvable archive (inputs, per-replicate outputs, avian tables, worked-example sequences, Supplementary Methods) tied to the exact code commit used for each table, and add the LICENSE file.
Make the WALRUS and standalone gene-wide tests use the same, explicitly stated reference distribution, and rerun the calibration comparisons in Tables 3–4 and the avian rates on that basis.
Rebuild Table 4 so that every replicate is accounted for, with per-method n and all methods evaluated on identical replicate sets, and add Clopper–Pearson intervals to every rate.
Report TPR and FDR (not call counts) for Contrast-FEL vs WALRUS against the simulated ground truth, and size-adjusted power for Pillar 4.
Calibrate the Λ_dir gate by simulation or parametric bootstrap across tree sizes instead of referring it to χ²₂, and report its false-gating rate on large stationary trees.
Provide a sensitivity analysis for γ_occ, t₀, κ, τ, the boundary guards and the error-sink cap, and validate the tuned settings on a simulation design not used during development.
Implement and document a single selection-aware multiplicity correction for the blind clade scan; reconcile Section 3.3, Fig 5C and the code.
Correct the worked-example narratives (codon distances, SEMG2 periodicity, lysin species lengths, AHSG ΔC, 1TUP domain coverage) and the abstract's misattributed speedups and "four-fold" claim.
Describe empirical reductions as reductions in calls on conserved genes rather than false positives, and soften causal claims about drift and gBGC unless supported by chromosome-level analyses.
Ethics and integrity
No prompt-injection or instruction-like text was found in the manuscript. The authors disclose extensive agentic-AI use for implementation, benchmarking, figure generation and drafting (Acknowledgments). Several issues we verified fit an under-curated pipeline: the released code differs from the Methods on several points, one showcase result does not reproduce at the cited commit, Table 4 counts do not reconcile, drafting artefacts remain, and the cited data DOI is unregistered. We see no evidence of fabrication; these look like plain errors and version drift. Still, the authors should audit every reported number against a single archived code and data state.
Scope of this review
Only the PDF was supplied. The cited Zenodo record (supplementary derivations, simulation suites, per-replicate outputs, avian tables) is unregistered, so Tables 3, 4 and 6 and Figures 2–8 could only be checked for internal consistency and arithmetic, not regenerated. The repository at commit afacb3e was cloned and built outside the workspace. Only three Table 5 datasets (CD2, adh, camelid) were rerun, with single-node x86_64 timings that cannot be compared with the paper's hardware. Re-simulating 10,020 alignments or rerunning 11,190 orthogroups (~2,785 core-hours) was beyond this review's budget. The Selberg et al. 2025 check covered the abstract only.
Section 5.1 and Table 5 present adh as a case where WALRUS quarantines a 1.08% multi-hit/drift class and moves BUSTED-E from p < 1e−4 to p = 1.00. Running the released engine at afacb3e on the shipped adh data gives BUSTED-E LRT 18.23, p = 6.5e−5, with error-sink weight 0.0 (identical on adh.nex directly), and Stage 3 activates drift (Λ_dir = 47.4) (check 20). The "rescue" is therefore not produced by the code the paper names. Fix: identify the code state that produced Table 5 and release it, or correct the adh row and the narrative.
Replication package does not exist; most main results cannot be regenerated
major · Data and Software Availability (p. 25–26); Section 3 (Supplementary Methods pointer)
The Zenodo DOI 10.5281/zenodo.24021779, cited for the Supplementary Methods (all derivations) and the full replication package, is not registered (doi.org 404; check 17). The repository lacks the simulation suites, per-replicate outputs, avian alignments/tables, PRM1 and ABHD14A, and all four worked-example datasets, and has no LICENSE file despite the stated MIT licence. Tables 3, 4 and 6 and Figures 2–8 therefore cannot be checked against data (check 21). Fix: deposit a resolvable archive with inputs, outputs, the exact code version and the supplementary derivations.
Table 4 does not account for ~1,600 replicates and its baselines were computed on different replicate sets
Only Pillar 0 reconciles: listed rows sum to 1,600 vs 2,400 (Pillar 1), 900 vs 1,600 (Pillar 2), 1,320 vs 1,020 (Pillar 3), 1,500 vs 1,800 (Pillar 4), 500 vs 600 (Pillar 5) — 6,620 listed vs 8,220 stated; Section 4.2 audits 1,200 PAML indel nulls where Table 4 lists 700, and null/positive totals are 3,900/2,720 vs 4,030/2,903 in the text (check 03). The MAFFT+BUSTED baselines in 200-replicate rows (33.3, 83.3, 18.3, 71.7, 66.7, 46.7%) are not achievable as k/200 but are exact multiples of 1/60, and 1.1% is not k/300 (check 04), so baselines and WALRUS were evidently not evaluated on the same replicates. The -u rows in Pillars 1–2 rest on 10–50 replicates (0/10 → 95% CI [0, 30.8%]). Fix: a complete table with per-row n for each method on identical replicate sets.
Contrast-FEL "3.57-fold more sites" counts calls, not correctly identified sites
major · Table 4 (Pillar 3, Omnibus Differential Suite); Section 4.2 item 3
WALRUS makes 2,650 differential-site calls when only 1,746 sites are truly differential, so at least 904 calls (FDR ≥ 34.1%) are false; the most a true-positive comparison could show is 1,746/743 = 2.35x, and applying the row's own 0.96% site FPR to 253,724 null sites implies ~2,436 false calls (check 01). Presenting this as a power gain is misleading. Fix: report TPR and FDR per method against the ground truth.
Calibration under Zipfian indels and deep trees remains poor; abstract overstates the gain
Under Zipfian indel saturation WALRUS -u has 17.0% and 20.5% FPR, 3–4x nominal and above WALRUS on the true alignment (10.5%, 6.0%); the abstract's "four-fold" drop holds only for the severe case (83.3/20.5 = 4.06x; moderate 33.3/17.0 = 1.96x) (check 04). Since -u size is inflated, its higher power than -a-on-truth (95.5% vs 79.0% at λ = 0.06) is not a fair comparison. The pooled 4.4% null FPR also hides S17 = 7.5% and S19 = 22.5% (check 02). Fix: size-adjusted power curves and an explicit statement of where calibration fails.
Clade-scan multiplicity correction is not what the Methods or code say
major · Section 2.4; Figure 5C; Section 3.3; Section 5.2 / Figure 7E
The paper reports tree-wide Holm p_adj (TP53 1.6e−4; ZNFX1 6.9e−27) over internal branches, but the implied multipliers (516 and 73.4) correspond to all 2N−3 branches (531, 73), not the N−3 internal branches (264, 35), while the Pillar 3 threshold uses N−3 (check 14). The released code contains no Holm correction at all and reports an unadjusted χ12 p for a data-selected subtree (characterize.hpp:5234), and ZNFX1 K = 4.5 is the upper bound of a fixed grid (check 18). Fig 5C shows 465+9 = 474 branches, inconsistent with a 267-taxon tree (531). Fix: state and implement one selection-aware correction and report how p_adj values were obtained.
Λ_dir drift gate is not a calibrated χ²₂ test; many tuning constants without sensitivity analysis
Λ_dir = max(2ΔlnL, max_b Z_b² − 2.5) is referred to χ²₂, but in an idealised stationary Monte Carlo the flux term alone exceeds the χ²₂ 5% point with probability ranging from 0% to 73.5% depending on tree size (73–531 branches) and substitution counts (check 19); reported gate p-values (e.g. RBP3 p = 2.0e−5) are therefore not interpretable as stated (the additional tip-level heterogeneity requirement may limit practical false gating). More broadly, γ_occ = 1.5, t₀ = 0.25, the boundary guards (w₁ < 0.52, 1 < ω₃ ≤ 2.5, ≤3 Simes sites) and the error-sink cap appear tuned on the same simulation suite used for evaluation, with no sensitivity analysis or held-out validation.
Empirical "false positives" are defined by a heuristic, and some causal language outruns the evidence
minor · Section 5.2 (p. 19–23); Figure 7C–D
Housekeeping/ultraconserved "false positives" are BUSTED calls on genes with ω_M0 < 0.2 and PAML M2a p > 0.5 (Section 5.2); such genes can still experience episodic selection, so the 13x/28x figures (arithmetic confirmed, check 11) are reductions in calls, not verified false-positive reductions. The 59.2% vs 51.3% association is read as showing that drift "systematically inflated" calls (check 12), and the gBGC/microchromosome interpretation is not supported by chromosome data. Only 15 of 52 timed-out orthogroups were rerun, and the 45,000–75,000 core-hour comparator was not measured.
RBP3: GTG↔GCG, GTC↔GCC and GTG↔GGG are single second-position changes, so the claim that Val↔Ala/Gly exchanges require two nucleotide changes is wrong; SEMG2 codon 168 (GTT↔TTT) is a single change yet listed among "parallel 2-nt bursts" (check 07). SEMG2 discordant sites are not periodic every 60 codons (mod 60: 48, 49, 39, 48, 8, 50, 14; check 08), and the Fig 4 caption attributes ΔAICc = 52.2 to the primary bridge while the arithmetic requires all four bridge parameters. Lysin text names H. corrugata as a longer species and describes shorter-species Lys/Arg packed onto longer-species Ala/Asp, which Fig 2B contradicts (check 09). AHSG has ΔC = +6 (345 → 351) despite the "zero net column change" claim for all eight focal genes, and Fig 7A shows offsetting single-codon indels rather than a 2-codon palaeognath deletion (check 13). Fig 5A labels TAD, IDR and OD/CTD as "PDB 1TUP", which contains only residues 94–312 (check 16).
Inconsistencies and misattributions in headline text
The abstract attributes the 6.6–35.8x speedups to the 11,190 avian runs, but they were measured on six benchmark alignments (Table 5); the avian figure is an estimated 16–27x reduction vs an unmeasured pipeline (check 10). Speedup "scaling with tree size" rests on one dataset (Spearman ρ = 0.71, p = 0.11, n = 6; 6.6–9.6x across 10–39 taxa). Fig 1 says standalone tools are "up to 100x slower". The timed comparison also compares non-identical analyses (WALRUS PRIME is a different 1-df test; MEME/aBSREL use mean-field approximations). The worst-case avian bound is 12.50% / +0.41 pp, not 12.48% / +0.39 pp (check 11); 300 × 400 = 120,000, not 119,600 sites (check 14); MACSE on S12 is 80.0%, not "above 80%" (check 02). Residual drafting artefacts ("after the Wsink scale fix", "dual68", "T/O") suggest the manuscript needs careful curation.
Bibliographic and citation-support issues
minor · References (pp. 26–30); Abstract; Section 1; Figure 5A
Stanhope et al. 1992 has the wrong title; Lynn et al. 2005 is truncated; the ">80%" gene-wide false-positive figure attributed to Selberg et al. 2025 does not appear in its abstract and should be pinned to a specific table/figure; Cho et al. 1994 / PDB 1TUP does not support the full-length domain map in Fig 5A (check 16).
Table 5 / Fig 6B wall-clock speedups (7.47x, 6.56x, 9.37x, 6.92x, 9.64x, 35.79x; range 6.6-35.8x) follow from reported times, and speedup scales with tree size
All six ratios reproduce within 0.01 (CD2 63.72/8.52 = 7.479, printed as 7.47 in Table 5 and 7.5x in Fig 6B; camelid 1538.39/42.98 = 35.79); range 6.56-35.79 matches 6.6-35.8; camelid 2x212-3 = 421 branches. The scaling-with-tree-size statement is weakly supported: Spearman rho = 0.71 (p = 0.11, n = 6) and 0.50 (p = 0.39) without camelid; across 10-39 taxa the speedup stays at 6.6-9.6x, so the claim rests on one dataset. The Apple-silicon speedups (11.5x, 8.7x) cannot be checked because M-series 6-tool times are not given. Separately, the Abstract attributes the 6.6-35.8x range to the 11,190 avian runs, whereas it was measured on these six benchmark alignments (the avian estimate is a 16-27x compute reduction vs an unmeasured hypothetical pipeline, Section 5.2).
Recomputed ratios of 6-tool to WALRUS times; Spearman/Pearson correlation of speedup with taxon count with and without the 212-taxon camelid dataset
24 of 26 quantities reproduce to the last reported digit (e.g. 3309/254 = 13.03, 1250/45 = 27.78, 224.0 s x 11,190 = 696.27 job-h, x4 = 2,785.07 core-h, 45,000/2,785.1 = 16.2, 75,000/2,785.1 = 26.9). The worst-case bound is slightly understated: (1,353+52)/11,242 = 12.50% (claimed 12.48%), a +0.41 pp shift (claimed +0.39 pp); this is a minor numerical error that does not change the conclusion. Caveats: only 15 of the 52 timed-out orthogroups were re-run in -a (6/15 = 40%); the 45,000-75,000 core-hour comparator pipeline was not measured; and the housekeeping/ultraconserved "false positives" are defined by a PAML heuristic (omega_M0 < 0.2, p_M2a > 0.5), so the 13x/28x figures are reductions in calls rather than verified false-positive reductions. Arithmetic itself is classed as confirmed.
Recomputed 26 fractions, fold changes, the worst-case bound and runtime arithmetic
KEGG host-defense (360 genes, 23.9%) vs housekeeping (568, 4.8%) OR = 6.29, Fisher p = 1.2e-17; GC3-drifting 10.75% [627/5,832] vs stationary 13.55% [726/5,358], OR 0.77, p 5.9e-6; published BUSTED 59.2% vs 51.3%, OR 1.38, p 3.6e-17; pathway fractions
KEGG table [[86,274],[27,541]] gives OR 6.289, p 1.16e-17 (claimed 6.29, 1.2e-17). GC3 table [[627,5205],[726,4632]] gives OR 0.769, p 5.89e-6 (claimed 0.77, 5.9e-6); 627+726 = 1,353 matches the WALRUS positive count and 5,832+5,358 = 11,190. Published-BUSTED splits consistent with 59.2%/51.3% and summing to 6,198 give OR 1.376-1.380, p 3.3e-17 to 6.3e-17 (claimed 1.38, 3.6e-17). All 15 pathway percentages are exact fractions (e.g. 14/39 = 35.9%, 1/80 = 1.25% printed as 1.2%). Per-pathway ORs (Fanconi 4.76, Influenza 4.54, TLR 3.55) imply a common background selection rate of about 10.5%, but the reference set is not stated. The causal reading of the 59.2% vs 51.3% association ("shows that unmodeled compositional drift systematically inflated") is not tested by these statistics.
Reconstructed 2x2 tables from counts and percentages; two-sided Fisher exact test (scipy); recomputed 15 pathway percentages; sensitivity scan over splits consistent with rounding
Eight focal avian genes (COPB1, USF1, NOP2, GSTK1, MARCO, TLR4, AHSG, BSDC1) improve lnL_MG94 (+8.24 to +207.04) and joint (+4.16 to +55.66) with zero net change in alignment column count (dC = 0)
The reported ranges reproduce (MG94 min 8.24 AHSG, max 207.04 MARCO; joint min 4.16 GSTK1, max 55.66 MARCO). dC = 0 holds for six genes, but AHSG is 345 -> 351 codons in Table 6 (dC = +6), and Fig 7B shows the rock-pigeon insertion moved into new columns (12 -> 16 columns in the displayed window). The stated invariant therefore fails for one of the eight genes, and that is the very gene used to illustrate it; BSDC1 is not in Table 6 at all. In Fig 7A (HOG 13310), palaeognath and chicken rows both contain 11 residues in the window and WALRUS adds two columns (11 -> 13), so the figure shows offsetting single-codon indels, not the "2-codon Palaeognathae deletion" described.
Parsed Taxa x Codons (-a -> -u) for the seven genes present in Table 6, ranges of reported gains, and column/residue counts of the Fig 7A and 7B alignment panels
Clade-scan multiplicity: TP53 Murinae p=3.1e-7 -> Holm padj=1.6e-4 and ZNFX1 p=9.4e-29 -> 6.9e-27, Holm-corrected across candidate internal branches; Fig 5C 465 reference + 9 Murinae branches for 267 mammals; Pillar 3 threshold 10 + 2 ln B_int = 18.2 for 64 taxa; null-tree site FPRs over 119,600 sites (300 x 400)
Implied multipliers are 516 (interval 492-541) for TP53 and 73.4 (72.5-74.3) for ZNFX1; these match all branches 2N-3 = 531 and 73, not the internal branches (264, 35) the Methods say are corrected over. The correction is therefore more conservative than described (not anti-conservative), but the description is inaccurate, and Section 3.3 writes B_int <= 2N-3 for internal branches. The Pillar 3 threshold uses B_int = exp(4.1) = 60.3 = 61 internal branches (N-3), so the two places use different conventions. Fig 5C shows 465+9 = 474 branches, which does not correspond to the 267-taxon tree (2N-3 = 531; 474 implies N = 238.5). Site arithmetic holds: 23/300 = 7.67%, 23 x 400 = 9,200, 481/9,200 = 5.23%, 25/9,200 = 0.27%, 481/119,600 = 0.40%, 25/119,600 = 0.021%; but 300 x 400 = 120,000, not 119,600.
Implied Holm multiplier padj/p with rounding interval vs N-3 (internal) and 2N-3 (all branches); branch-count and site arithmetic
All 18 ratios reproduce to the last digit (e.g. 10,729/11,183 = 95.94%, 99,646/138,528 = 71.93%, 71.9/37.1 = 1.938, 13/11,190 = 0.116%) and all four guard rates are achievable integer fractions of 4,030 and 2,903. Two side findings: the 4,030 null + 2,903 positive replicate totals do not match the null/alt rows listed in Table 4 (3,900 / 2,720; see check 03), and the error-sink cap is given as w_err <= 2.5% in Section 3.3, Section 4.2 and the Discussion but as a "1.5% boundary cap after the Wsink scale fix" in Section 5.2 (and "1.5% error sink" in Table 1). The paper does not say which runs used which cap.
Recomputed 18 ratios against their stated denominators; granularity test of the guard-firing rates; regex scan of the paper text for the stated error-sink cap
References exist and match the bibliographic details given (49 entries); load-bearing citations support the claims they are cited for (Cho 1994 / PDB 1TUP for the TP53 domain map; Selberg 2025 for >80% false-positive rates; Shultz & Sackton 2019 for the avian dataset)
All 49 references resolve (0 not found). One bibliographic error: Stanhope et al. 1992 (MPE 1(2):148-160) is titled "A molecular perspective on mammalian evolution from the gene encoding interphotoreceptor retinoid binding protein, with convincing evidence for bat monophyly", not "Molecular evidence for the major clades of placental mammals"; the Lynn 2005 title is truncated ("...in cattle:"). Substantive: PDB 1TUP contains only p53 residues 94-312 (UniProt P04637) plus DNA, so Fig 5A labelling TAD (1-31), IDR (32-91) and OD/CTD (293-393) as "PDB 1TUP Structure" is incorrect, and the core is 94-312, not "PDB 1TUP codons 92-292" (Section 2.4). The Selberg et al. abstract (bioRxiv/eLife RP) does not state the ">80%" gene-wide false-positive figure that the Abstract and Section 1 attribute to it; it may be in the full text but could not be confirmed here. Shultz & Sackton 2019 abstract (39 bird species, ~11,000 genes) is consistent with how it is used.
tools/check_refs.py against Crossref/arXiv (16_refs.log, work/refs_checked.json); RCSB REST API for 1TUP entity-to-UniProt alignment; Europe PMC abstracts for Selberg 2025 and Shultz & Sackton 2019
Code and data are available: github.com/veg/hyphy-3 (reference commit afacb3e, MIT license), WebAssembly app at veg.github.io/hyphy-3, and Zenodo 10.5281/zenodo.24021779 holding the supplementary methods and complete replication package (simulation suites, per-replicate outputs, avian tables, reproduce_all.sh)
Repository (public, created 2026-10-09) and commit afacb3ed35c9 (2026-11-06, "Fix #34 and #36 ...") exist and the web app responds (HTTP 200). The Zenodo DOI 10.5281/zenodo.24021779 does not resolve: doi.org returns 404 and the Zenodo API returns "The persistent identifier is not registered". The supplementary methods (cited for all derivations), the 10,020-alignment simulation outputs and the avian tables are therefore unavailable, so Tables 3, 4 and 6 cannot be regenerated. The repository has no LICENSE file (GitHub reports NOASSERTION) although the README and the paper state MIT. Of the Table 5 datasets, only CD2, adh, Fig4E and camelid are in the repo (PRM1 and ABHD14A are not), and none of the four worked-example datasets (lysin, RBP3, SEMG2, TP53) is included.
HTTP GET of the repository, GitHub API for the repo and commit, the web app, doi.org resolution and the Zenodo records API; shallow clone of the commit and directory listing
The released WALRUS code (github.com/veg/hyphy-3, reference commit afacb3e) implements the Methods as described: error-sink cap w_err <= 2.5%; three boundary guards; tree-wide Holm correction of the blind clade scan; Eq. 3 softmax weights with kappa = 2.0, tau = 0.08 and attenuated positional coupling psi_{k,p} = 0.25 psi_k at p in {1,2}; Lambda_dir gate
Match: the three boundary guards are implemented exactly as stated (characterize.hpp:4864-4872), and Lambda_dir = max(LRT, max Z_b^2 - 2.5) referred to chi2_2 with gate >= min(6.5, 0.75 x 2 ln L) matches (directional_fel.hpp:1168-1188). Differences: (a) WALRUS hard-codes an error-sink cap of 0.015 (1.5%; characterize.hpp:4767, 4788) and standalone BUSTED defaults to 0.01 (busted_types.hpp:157); no 2.5% cap appears, contradicting the w_err <= 2.5% stated in Section 3.3, Section 4.2 and the Discussion. (b) The WALRUS gene-wide p uses a 50:50 chi2_1:chi2_2 mixture (characterize.hpp:4889-4891), not the BUSTED chi2_0:chi2_2 convention, and the paper does not mention this. (c) The blind clade scan reports an unadjusted chi2_1 p for a single data-selected subtree (characterize.hpp:5234), gated by LRT - ln(B x C) >= 10; there is no Holm correction anywhere in the source (0 grep hits), although the paper reports tree-wide Holm p_adj values (TP53 1.6e-4, ZNFX1 6.9e-27). (d) Clade K is chosen from a fixed grid {0.15 ... 3.00, 4.50} (characterize.hpp:5223), so the reported ZNFX1 K = 4.5 is the upper bound of that grid, not an interior estimate. (e) Stage 3 weights use data-adaptive kappa = 3.5/sigma and tau = max(0.02, 0.4 sigma) (directional_fel.hpp:1088-1089) instead of the fixed kappa = 2.0, tau = 0.08, and the GC tilt is applied at full strength to all three codon positions (directional_fel.hpp:902-906) rather than 0.25 psi at positions 1-2. No LICENSE file is present despite the MIT claim. Caveat: results in the paper may have been generated with a different code state (Section 5.2 mentions a later "Wsink scale fix"), but afacb3e is the commit the paper names.
Shallow-cloned the cited commit into an isolated directory and printed the source lines implementing each described component (script greps the source and prints line numbers)
Stage 3 evaluates Lambda_dir = max(2 dlnL, max_b Z_b^2 - 2.5) against a chi2_2 reference tail (Section 3.2); the gene-wide WALRUS test is compared with standalone BUSTED at nominal p <= 0.05 (Tables 3-4)
(a) The WALRUS chi2_1:chi2_2 rule has critical LRT 5.14 vs 4.61 for the BUSTED chi2_0:chi2_2 rule; if the null LRT follows the BUSTED mixture, WALRUS rejects 3.83% at nominal 5%, so about a quarter of the nominal false-positive budget is removed by the change of reference distribution alone, before any modelling improvement. (b) The flux term alone exceeds the chi2_2 5% point with probability 0.0% (mean count 0.5-2 per branch) up to 16.6% (B=73), 22.9% (B=105) and 73.5% (B=531) at mean count 20 per branch (SE <= 0.3%). Its null distribution depends on tree size and substitution counts, so the reported Lambda_dir p-values (e.g. RBP3 gate p = 2.0e-5) are not calibrated chi2_2 tails. Caveat: the deployed gate also requires tip-level GC3 heterogeneity, and real branch counts are not iid Poisson, so this does not establish the actual empirical false-gating rate (Pillar 5 reports 0.0% on stationary alignments).
(a) Critical values and cross-rejection rates for 50:50 chi2_0:chi2_2 vs chi2_1:chi2_2 mixtures; (b) Monte Carlo (seed 1, 20,000 replicates per setting) of the flux term under an idealised stationary null with iid Poisson W->S and S->W branch counts, for B = 73, 105, 531 branches
Table 5 numerical parity of hyphy3 -a (WALRUS): CD2 FEL r = .9994 (100% concordance), BUSTED-E p = 1.00; adh FEL r = 1.000, BUSTED-E p = 1.00 with the 1.08% multi-hit/drift class quarantined (p < 1e-4 -> 1.00, Section 5.1); camelid BUSTED-E p < 1e-4
CD2 reproduces: FEL LRT Pearson r = 0.9994 (Table 5 .9994), 100% concordance of p <= 0.10 calls (40/40; 13 diversifying, 27 purifying), BUSTED-E LRT 0.00, p = 1.00. Camelid gene-wide verdict reproduces (BUSTED-E LRT 296.5, p < 1e-4). adh does not: at the cited commit WALRUS returns BUSTED-E LRT = 18.23, p = 6.5e-5 (positive selection) with error-sink weight 0.0, identically when run on the shipped adh.nex directly, whereas Table 5 and Section 5.1 report p = 1.00 with the 1.08% multi-hit/drift class quarantined. Stage 3 activated the 3-regime drift model on adh (Lambda_dir = 47.4), and site LRTs agree with HyPhy 2.6 FEL at r = 0.961 (90.9% call concordance), against the r = 1.000 reported vs standalone FEL (reference differs, so this part is only indicative). The adh error-sink rescue that Section 5.1 presents as a showcase is therefore not reproduced by the released code at the stated commit. Run times (50 s CD2, 224 s adh, 871 s camelid, 1-2 threads, no OpenMP, x86_64) are not comparable with the Table 5 hardware and were not used to judge the speedup claims. Note: the CLI rejects the shipped CD2.nex because it does not apply the NEXUS translate block; CD2/camelid were converted with 20_nex2fa_helper.py.
Built hyphy3-walrus from commit afacb3e (zig 0.13 clang, musl, Release, no OpenMP) outside the workspace and ran -a on the Table 5 alignments shipped in the repo (tests/data CD2, adh, camelid; adh also run directly on adh.nex). Site FEL LRTs compared with the HyPhy 2.6 FEL ground truth shipped in benchmarks/ground_truth (not the hyphy3-fel standalone used in Table 5). Gene-wide BUSTED-E LRT/p/w_err read from the WALRUS JSON and console.
Simulation results (Tables 3-4, Fig 6A; 10,020 alignments), worked-example results (Table 1, Figs 2-5) and the 11,190-orthogroup avian reanalysis (Table 6, Figs 7-8) can be regenerated from the replication package (reproduce_all.sh)
None of these results could be regenerated: the Zenodo record that is said to hold the simulation suites, per-replicate outputs, worked-example sequences and avian tables is not registered (doi.org 404), and the GitHub repository does not contain them. Re-simulating 10,020 alignments and re-running 11,190 orthogroups (about 2,785 core-hours by the paper own estimate) is also beyond this review budget. Needed: a resolvable archive with inputs, per-replicate outputs and the exact code version used.
Attempted to locate the replication package and input datasets (see check 17: Zenodo DOI unresolvable; repo lacks lysin/RBP3/SEMG2/TP53, PRM1, ABHD14A, simulation suites and avian alignments)
WALRUS (-a) identifies 3.57-fold more differentially evolving sites than Contrast-FEL (2,650 vs 743 calls) in the Omnibus Differential Suite with 1,746 truly differential sites among 255,470
Ratio 2650/743 = 3.567 (claimed 3.57, matches). But 2,650 calls exceed the 1,746 truly differential sites, so at least 904 calls (FDR >= 34.1%) are false; the maximum achievable true-positive ratio over Contrast-FEL is 1746/743 = 2.35x even if every Contrast-FEL call were correct. Applying the row-reported 0.96% site FPR to the 253,724 null sites implies ~2,436 false calls, leaving ~214 true calls. The 3.57x figure is a ratio of calls, not of correctly identified sites, and cannot be read as a power gain.
Ratio recomputed; pigeonhole bound on false calls given the stated number of true differential sites; implied false calls from the 0.96% site FPR reported in the same row
Table 3 pooled rows are consistent (All Indel Reps = weighted Null 360 + Alt 440); pooled BUSTED/BUSTED-E percentages achievable as k/360, k/440; headline TC 94.6% vs 87.6% (+7.0 pp) / 85.7% (+8.9 pp), 1.44-fold faster, FEL 97.5% (6.24 vs 6.40)
All 18 pooled columns match the 0.45/0.55 weighted mean within rounding (max |diff| 0.075 for FEL FP True, tol 0.1). All 16 pooled rates and all 64 per-scenario rates are achievable integer fractions (e.g. 4.4% = 16/360, 58.1% = 209/360, 1.4% = 5/360). TC +7.0/+8.9 pp, 34.9/24.3 = 1.436 (1.44), 6.24/6.40 = 0.975 all reproduce; 800x4x3 + 200x3 = 10,200 model fits. Caveats surfaced by the same script: the pooled 4.4% WALRUS-aligner BUSTED FPR contains 13 of its 16 false positives in the listed null scenarios, including S17 = 7.5% and S19 = 22.5% (above nominal 5%); pooled null FEL FP of 2.0/gene requires the four unlisted null scenarios to average 0.5 FP/gene while every listed null scenario has >= 3.0; and MACSE on S12 is exactly 80.0%, not "above 80%".
Weighted means of Null/Alt rows for all 18 columns; GRIM-style granularity test for every rejection rate (k/360, k/440, per-scenario k/40); recomputed differences and ratios
Table 4 row replicate counts reconcile with pillar totals (800/2,400/1,600/1,020/1,800/600 = 8,220) and with the Section 4.2 audit counts (600 SRV + 500 multi-hit + 1,200 PAML indel nulls = 2,300; 4,030 null + 2,903 positive replicates)
Only Pillar 0 reconciles (800 = 800). Listed rows sum to 1,600 vs 2,400 (Pillar 1), 900 vs 1,600 (Pillar 2), 1,320 vs 1,020 (Pillar 3, more rows than the total), 1,500 vs 1,800 (Pillar 4), 500 vs 600 (Pillar 5): 6,620 listed vs 8,220 stated. Table 4 lists 700 PAML M1a/ZNY 2A indel null replicates (300+200+200) but Section 4.2 audits 1,200 of them; listed null/alt rows total 3,900/2,720 vs the text 4,030/2,903. The stated totals themselves are self-consistent (8,220; 10,020; 4,000; 3,420), so the problem is that roughly 1,600 alignments (net) are not shown or not accounted for.
Summed per-row replicate counts transcribed from Table 4 within each pillar; compared with stated totals and text audit counts
Table 4 per-row rates match their counts; exact 95% Clopper-Pearson interval for 0/50 is [0.0%, 7.1%]; abstract: under Zipfian indel saturation false positives drop four-fold (33.3%-83.3% to 17.0%-20.5%)
All 33 count-bearing rates reproduce (e.g. 383/400 = 95.75% -> 95.8%, 37/200 = 18.5%). Clopper-Pearson 0/50 upper bound = 7.1% (confirmed); but the -u subsample rows are much less informative than the 0/50 caption suggests: 0/10 -> [0, 30.8%], 0/30 -> [0, 11.6%], 0/40 -> [0, 8.8%], 2/20 -> [1.2%, 31.7%]. The abstract four-fold drop holds only for the severe case (83.3/20.5 = 4.06x); the moderate case is 33.3/17.0 = 1.96x. WALRUS -u FPRs of 17.0% and 20.5% are 1.6x and 3.4x above the ground-truth-alignment rates (10.5%, 6.0%) and 3-4x above nominal 5%. The MAFFT+BUSTED baselines in 200-replicate rows (33.3, 83.3, 18.3, 71.7, 66.7, 46.7%) are not achievable as k/200 but are exact multiples of 1/60, and 1.1% in the 300-replicate row is not k/300, so the legacy baselines were evidently computed on different (smaller) replicate sets than the rows state.
Recomputed k/n for 33 rows; scipy beta quantiles for Clopper-Pearson; fold ratios; granularity test of MAFFT+BUSTED baseline percentages against the row replicate counts
The three standalone rows match the chi2_0:chi2_2 mixture (0.44 -> 0.401, 14.93 -> 2.86e-4, 0.09 -> 0.478). The WALRUS row (LRT 1.30) gives 0.261 under that convention but 0.388 under the 50:50 chi2_1:chi2_2 mixture hard-coded in the WALRUS engine, which reproduces the reported 0.39. So the numbers are internally consistent with the code, but WALRUS uses a different and more conservative reference distribution for its gene-wide test than the standalone BUSTED results it is compared against, and the paper never states this. Calibration comparisons between WALRUS and standalone BUSTED/BUSTED-E (Tables 3-4, Fig 3B, avian rates) therefore partly reflect a change of null distribution, not only better modelling (quantified in check 19).
Recomputed p under the 50:50 chi2_0:chi2_2 mixture used by BUSTED, under chi2_2, chi2_1, chi2_0:chi2_1, and under the 50:50 chi2_1:chi2_2 mixture found in the WALRUS source code
RBP3 third-position GC heterogeneity chi2 = 528.4, p = 3.4e-41; 105 branches partitioned 39 AT / 33 stationary / 33 GC; 293 purifying codons = 71.1% of 412
p = 3.4e-41 is reproduced exactly at df = 159 = 3 x (54-1), i.e. a 54-taxon x 4-nucleotide contingency table (df 106 gives 2.4e-57). 2x54-3 = 105 = 39+33+33; 293/412 = 71.12%. Note: this is the tip-wise contingency chi2 that Section 3.2 itself says pseudoreplicates closely related species and over-rejects stationarity; Figure 3A labels this p-value ("3-regime GC3 drift, p = 3x10^-41") as the drift evidence, whereas the phylogenetic Stage 3 gate gives p = 2.0e-5.
chi2 survival function at candidate df and df solved from the reported p; 2N-3 branch count; percentage
Codon-level mechanisms: Val (GTG/GTC) <-> Ala (GCA/GCG/GCC), Thr (ACG/ACC), Gly (GGG) are two-nucleotide switches in RBP3 (Discussion: GTG <-> GCA/GCG/ACG); lysin GCA->AAA/AAT needs 2-3 changes and TAY/AAY differ by one first-position transversion; SEMG2 codons 168, 169, 290 are parallel 2-nt bursts
Lysin claims hold (GCA-AAA 2, GCA-AAT 3, TAC-AAC and TAT-AAT 1 first-position T<->A transversion). RBP3: GTG<->GCA and GTG<->ACG are indeed 2-nt, but GTG<->GCG (listed as 2-nt in the Discussion), GTC<->GCC and GTG<->GGG are single second-position changes; any Val codon reaches Ala or Gly in one step (minimum distance 1), only Val<->Thr is necessarily 2-nt. Codons GCG (Tamandua) and GCC (Oryctolagus) at Codon 411 sit one step from GTG/GTC, so the narrative that Val<->Ala exchanges must be routed through two non-synonymous steps is not generally true. SEMG2: codon 169 (CAC<->CGT) and 290 (ATA<->GGA) are 2-nt, but codon 168 (GTT<->TTT) is a single first-position transversion, contradicting Table 1 listing 168 among parallel 2-nt bursts. 6 of 22 tested pair-level statements fail.
Hamming distance and changed positions for every codon pair named, using the codons printed in Figs 2B, 3A, 4A and the standard genetic code
SEMG2: M. nemestrina discordant codons 168-169, 219, 228, 248, 290, 314 recur periodically every 60 codons; Ohmic dlnL=+30.08 gives dAICc=+52.15; per-site gains at 168/169/290 sum to +15.51; MEME 28->21 (7 purged); CpG 8/31=25.8%, 5.2-fold, Fisher p=1.0e-4
Arithmetic holds: 2x30.08-2x4 = 52.16 (claimed 52.15, so 4 bridge parameters; but Fig 4 caption attributes dAICc = +52.2 to the single primary bridge); 6.08+6.31+3.12 = 15.51; 28-21 = 7. CpG: background implied by 5.2-fold is 4.96%; reconstructed tables give Fisher p = 4.8e-5 (background = all 586 codons) to 2.6e-4 (background = 555 non-selected), bracketing 1.0e-4, so plausible but not exactly reproducible without the background counts. Periodicity claim fails: residues mod 60 are 48, 49, 39, 48, 8, 50, 14; only 168 and 228 are 60 codons apart; consecutive gaps are 1, 50, 9, 20, 42, 24. The discordant sites are not periodic at the 60-codon repeat unit as stated.
Codon positions modulo 60 and pairwise differences; AIC arithmetic for k=1..5; sum of Fig 4B per-site values; Fisher exact tests on 2x2 tables reconstructed from 31 selected sites, 586 codons and the 5.2-fold enrichment
Lysin: lnL_MG94 -4523.72 vs -4538.97 (+15.25), joint -4638.18 vs -4644.63 (+6.45), dlnL_indel -8.80; Lys/Arg codons of the shorter species are packed onto Ala/Asp codons of the longer species (H. corrugata, H. cracherodii named as longer)
Likelihood arithmetic is exact (+15.25, +6.45, 6.45-15.25 = -8.80), and both panels encode identical ungapped sequences. But Fig 2B contradicts the narrative: the 4-codon (longer) species are H. rufescens and H. sorenseni (Lys at Col 132) and H. cracherodii (Ala); H. corrugata, named in the text as a longer California species, has 3 codons like the Lys/Arg-carrying sieboldii, fulgens and walallensis. Column 132 mixes Lys from both 4-codon and 3-codon species with Ala/Asp from both, so the description of shorter-species Lys/Arg stacked on longer-species Ala/Asp does not match the figure. The text or the figure needs correcting.
Recomputed likelihood differences; encoded the ten Figure 2B rows, checked that both panels contain the same ungapped codon strings, counted codons per species and grouped species by the residue at standard Column 132