Realized I don’t have a pinned post:
My name is Jaret! I’m a PhD student at Virginia tech in the GBCB program. My research is in plant bioinformatics. I mainly post my experiences working with ai here and an occasional hot take
🧬🍀💻👨💻
Bright in visible == bright in UV won 11 of 13. But was this a true null? Mostly: more seeds and models didn't help and it was able to recognize a planted rule. Another reminder to compare models against a simple baseline
Day 3: advent of claude science. Bees can see ultraviolet but we cannot. In UV, a plain flower could have underlying patterns. Could a model learn to see UV in a normal photo?
Not with 45 photos. Claude trained a model on 45 flowers with real UV photos and tested on 13 from another photographer. It gets the primrose close and the daisy-like one right, but the pansy backwards.
It can! The average alba photo minus the average pink one gives a direction in the model's embedding space. Claude and I ranked photos along it, SAM 3 measured pigment, and I checked them by eye: albas in 118 species. Whether it identifies them correctly is another story...
Day 2 (very late, slowly catching up from travel) of Advent of Claude Science: I made an orchid ID model trained only on species image pairs. As an experiment, I wondered if it could pick out alba flowers, which lack their usual pigment. (voice: https://t.co/mvAI61fuZA)
@adocomplete and a final bonus pic because i posted this VERY late. the by code method has some wonkiness clearly, but the fact it is able to restore many of them to this degree really blows me away
I felt inspired by @adocomplete's advent of claude, so I decided to post my own sciencey version. For day 1 I started with my first big undergrad project, digitally unfolding pressed plants by hand to make silhouettes... 8 years later I wanted to see if claude code could do it.
@adocomplete ...mostly! What eventually worked was two segmenters. BiRefNet cuts the plant with clean edges, but has no differentiation between leaves and stem. SAM3 can, but it has rougher edges. So SAM labels, BiRefNet gives the pixels, then code traces the stem and unbends.
@ATinyGreenCell Pretty much exactly. I know there is more to the classifier than a simple text match, but it doesn’t feel like it sometimes and it certainly has words it flags constantly
Filed this bug report in October and mostly forgot about it tbh! I never hit it in my own data, but found it through Claude running a source code audit of tools i depend on in my analyses, then double checking what it found.
@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 👇
@_julien_roux@lpachter It is funny that you say this because despite me discovering the bug, all of my deseq analyses have n less than 7 so none were affected directly 🫣
@erinbeess for scale: a scripted cell given the same prompts scores 1.0 by tick 4. only 1 of our 20 valid runs beats what one ID + port exchange gives (0.64).
3 seeds per arm, so small-n throughout. code, preregs and tables: https://t.co/f6dRDyvUoe
@erinbeess opus 5.5 ends just above the zero-info floor. sonnet 5.5 and qwen3.5-9b end at it.
without the eval lines opus chats in plain english ("good day too :)") but trips anthropic's safety filter on ~20% of turns