@GoogleDeepMind Gemini 4 Neon just caught a 9-year-old silent sign-flip bug in DESeq2 (107,567 citations) while running a mothballed cancer RNA-seq project overnight in @antigravity CLI.
It silently flips genes from up to down — affecting 11/12 published papers we checked.
Sooo... I installed agy last weekend, threw an old TCGA project at an overnight swarm, and went to bed expecting to wake up to a tidy CSV or heatmap.
Instead, an autonomous verifier agent pulled the handbrake at 1:22 AM, refused to sign off, and traced the bug into lfcShrink() — sitting quietly since April 2017. Then patched it, completed the analysis and gave me the bug as a side note with the analysis in the morning. Nifty!
Needless to say I upgraded to Ultra around this time... you guys really cooked! @demishassabis@pushmeet@OfficialLoganK@osanseviero@ammaar@_philschmid
Here's the bug (spoiler: one table row, two different datasets):
Whenever a cohort has n ≥ 7 replicates per group (pretty much every modern clinical/human RNA-seq study), DESeq() replaces single-sample outlier spikes to fit dispersions and P-values, then politely puts the raw counts back.
When you call lfcShrink(..., type = "apeglm" | "normal"), it reads those raw spiked counts straight back in while keeping the outlier-replaced dispersions, Wald stat, and padj.
So one row of your results table can tell you with a straight face: log2FC = +4.51 right next to stat = −8.36 (or apeglm +4.80, s = 1.3e-118 beside padj = 2.0e-14 from a strongly negative Wald test). Schrödinger's differential expression.
Credit where due: when we checked upstream, @jaretarnold (musharna, Virginia Tech) had already nailed these exact source lines in DESeq2 Issue #136 on Oct 1, 2026 — citing DESeq2's own 2014 getContrast() fix and handing over the patch. It was closed 26 minutes later as intended behavior with a 9-line devel doc note (66bb31a) and zero runtime warning. Speedrun record, honestly.
So I opened a fresh session, told Neon "alright, prove it," and spent the next five days (~100 prompts) relentlessly grilling it — demanding non-DESeq2 comparators, full-text checks, primary-source verification (Love 2014 / Zhu 2019 + git history), and blind adversarial review in separate Claude and Codex sessions.
What survived every check:
• Calibration collapse (48 Monte Carlo stress tests): 0.0% 95% interval coverage under single-sample spikes; 7.55% full-list false-sign rate at s < 0.005 (15× nominal). Formal proof (Proposition 1) in the technical audit. Because proofs are so hot right now 🔥
• Pan-cancer TCGA sweep (16 cohorts, 7,762 biopsies, 533,223 tests): 1,301 (poscounts) / 1,414 (ratio) statistically significant (padj < 0.05) sign reversals across 16/16 cohorts (93.5% Wilcoxon rank agreement; 1,301 → 0 after a 5-line fix). One biopsy flips breast cancer MYH7 by 9.17 log2 units (−7.84 → +1.33). From strongly down to wildly up in one sample.
• Published literature (~450–500+ OA PMC paper floor): 2,108 OA PMC papers (2017–Nov 2026) name DESeq2 + lfcShrink/apeglm; 21.3% (45/211 consecutive recent papers) cross n ≥ 7. Across 12/12 high-visibility and recent n ≥ 7 studies audited live (2021–2026), 12/12 were altered and 11/12 (91.7%) had significant genes flip sign (+ ↔ −; 443 deduplicated flips) — including Nature Metabolism (2021) Main Fig. 4b dots lost (rebuilding a 2021 R stack to match 800/800 archived pathway directions), a Nature Communications (2021) COVID-19 ARDS table matched to 12 decimal places (XKR3 & WHAMM flipped), and 2/2 externally significant AFib genes in Nature Cardiovascular Research (2025) validating the fixed direction in an independent 180-patient cohort (GSE69890). Zero shade on the authors — they followed the official vignette to the letter, and broad multi-gene themes survived across all 12 papers. It's the individual candidate targets, volcano plots, and GSEA ranks that got quietly upside-downed.
• Python parity & Part 2: Python's PyDESeq2 mirror faithfully ported the exact same Cook's count-assay split (commitment to parity, really).
Full transparency: I'm a self-taught systems builder, former gourmet mushroom farmer, and secondary science teacher (BBiomedSci & MTeach w/ Distinction, earned at the University of Newcastle, Australia) — not a formally trained biostatistician, and definitely not deriving negative-binomial shrinkage proofs on a napkin at the pub.
Everything here rests on executable R/Python code, 48 stress tests, 16 TCGA cohorts, live replays of 12 papers, and non-DESeq2 comparators.
Biostatisticians: please tear the code apart if we missed anything.
Interactive real-R simulator, 5-line R fix, audit script, both PDFs & Zenodo archive in the reply below 👇
AI is advancing rapidly in math. But how will it decide which conjectures are worth proving? As long as human values guide AI, it remains our extension. If that changes, what comes next?
AI is advancing so rapidly now. Lately, I’ve been wondering where the value lies for those working in bioinformatics. I feel that the biggest problem with AI right now is that it lacks a scientific taste. This is the one area where humans currently outperform AI.
There are two types of scientists: one type has a ladder, so they use the same ladder to pick fruit from different trees; the other type tries to build a taller ladder to reach the fruit higher up.
BREAKING NEWS
The Royal Swedish Academy of Sciences has decided to award the 2024 #NobelPrize in Chemistry with one half to David Baker “for computational protein design” and the other half jointly to Demis Hassabis and John M. Jumper “for protein structure prediction.”
BREAKING NEWS
The 2024 #NobelPrize in Physiology or Medicine has been awarded to Victor Ambros and Gary Ruvkun for the discovery of microRNA and its role in post-transcriptional gene regulation.
Say hello to GPT-4o, our new flagship model which can reason across audio, vision, and text in real time: https://t.co/MYHZB79UqN
Text and image input rolling out today in API and ChatGPT with voice and video in the coming weeks.
🏆 Winner 2/4 of the medac research award: The team revealed a gut microbiome surprise! 🦠💡 Certain bacteria, even lactic acid ones, act as indicators for potential pathogenic Candida yeasts. #MedacResearch
👉 Full publication here: https://t.co/LF3G7aWPnt!
Today in partnership with @GoogleDeepMind we're sharing progress on the next generation of #AlphaFold Our new model greatly expands coverage of structure prediction beyond proteins to other biomolecular classes. Here's how it could advance drug design: https://t.co/ZW8DjYhVDM 🧵