Karl Kremling (@hauteHominy) header
Karl Kremling (@hauteHominy) profile picture

Geneticist using computers and genome editing to improve crops and food. Fan of elevated corn. Scientist at @Inari_Ag. Views are my own. he/him

Cambridge, MA
Joined April 2017
Photo by Karl Kremling (@hauteHominy)Photo by Karl Kremling (@hauteHominy)Photo by Karl Kremling (@hauteHominy)Photo by Karl Kremling (@hauteHominy)
Karl Kremling retweeted
Replying to @GoogleDeepMind
@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 👇
51
194
66
1,463
316,278
Demis -- I think AlphaFold3 is really exciting. As Reviewer #3, I got great results from the server. I tried hard to get @Nature to urge you to release the code but was unsuccessful. I did not get it for re-review so I don't know if you responded. So why no code? @GoogleDeepMind
Thrilled to announce AlphaFold 3 which can predict the structures and interactions of nearly all of life’s molecules with state-of-the-art accuracy including proteins, DNA and RNA. Biology is a complex dynamical system so modeling interactions is crucial blog.google/technology/ai/go…
24
335
39
1,608
675,878
It pains me to see facile critiques of GWAS on here from our clinical/biostats friends while the many actually good reasons to be critical of GWAS get little attention. So here's a thread on what GWAS does, what critics get wrong, and where GWAS is genuinely still lacking. 🧵:
6
96
7
474
112,725
Are you a comp biologist looking for your next position? Do you dream of nominating loci and seeing those targets edited in planta? Join us @Inari_Ag ! Previous exp. in plants is not required. Feel free to apply below or reach out if you have q's. grnh.se/5a04d3c12us
3
8
1,121
Important work by @hannesclaeys @Inari_Ag using CRISPR for gene #upregulation in maize through enhancer insertion. Happy to have made a small contribution to the development of this technology. @PSB_VIB onlinelibrary.wiley.com/doi/…
15
51
6,951
My article is now out in @Nature! It’s been ~1 year since my post about the flaws within 2 high-profile articles that claimed 33-68% increases in crop yield. Our paper describes common issues & suggests yield-testing criteria for future pubs. A thread🧵 nature.com/articles/d41586-0…
14
222
26
631
149,119
Join us tmr for the 🌽#Zeavolution 🌽seminar at 11 ET / 8 PT from @Jgdp_S_Sidhu's (Jonathan Lynch lab) - DM for Zoom link! Also, we've had a cancellation for next week's seminar (May 31); feel free to DM me if you'd like to take the last slot of the semester!
4
226
Does anyone have experience with lyophilization before RNA extraction for high-moisture plant tissues that turn rock-hard when frozen in liq N2? Seems like the transcriptome would shift, but the non-plant lit suggests this isn't an issue. Has anyone done it in plants?
3
2
4
2,690
Join us for the 🌽#zeavolution seminar tomorrow at 11 EST / 8 PST from Brandon Monier who will talk about work done in the @EdBuckler lab! As always, DM for a zoom link.
156
Join us for the 🌽🌽 #zeavolution seminar tomorrow at 11 EST / 8 PST from @juliosbernal who will talk about work done in his lab! As always, DM for a zoom link.
1
1
185
Join us for the #zeavolution seminar tomorrow from @JeremyPardo2 who will talk about work done in the @bob_vanburen lab! As always, DM for a zoom link.
1
129
Join us tomorrow for the #zeavolution seminar from Shawn Thatcher (of @corteva ) at 11ET / 8PT! Feel free to DM for the Zoom link.
3
230
Karl Kremling retweeted
🚨You can now turn off the Chat History in ChatGPT! This means that your conversation is not used to train our models nor saved in the UI. Great move by @OpenAI!
2
9
2
24
6,323
Join us tomorrow morning at 11 ET / 8 PT for Travis Wrightsman's #zeavolution🌽🌽 seminar! As always, feel free to reach out for a link to the zoom meeting
2
132
Join us tomorrow (Wed) at 11 ET / 8 PT for 🌽#Zeavolution🌽 seminars from Ruth Epstein and Tom Kosfeld of the Pawlowski and @BaxterTwi labs! As always, DM for zoom link!
128
Thanks to @vbern for the informative talk at #zeavolution 🌽 today about the invaluable maize resources of the North Central Regional Plant Introduction Station (NCRPIS) at @usda-ARS / @IowaStateU!
119
Join us at #zeavolution🌽🌽 tomorrow for Eli Rodgers Melnick's (@elirm) talk at 11 ET / 8 PT. As always talks are on zoom and please message me for a link. See you then!
278
Join us tomorrow at 11ET/8PT for the #Zeavolution talk by Nikita Sajai (@cornellNS623 ), who is in Wojtek Pawlowski's lab. As always, please message me if you'd like the zoom link or access to the slack group. Also, here is the speaker lineup docs.google.com/spreadsheets…
3
146
See you tomorrow for another installment of the 🌽#Zeavolution 🌽 seminar series at 11 ET/ 8PT! Sergio Pérez Limón from Ruaridh Sawers lab will be speaking. DM for a zoom link!
1
1
716