
Biomedical Engineering PhD student @Columbia & @nygenome | prev @NYUniversity, @UCSD & @ScaleBio
New York, NY
Joined March 2021
- Tweets152
- Following2.8K
- Followers376
- Likes2.9K
James Lee retweeted
With all that's going on this flew under the radar but turns out DESeq2 was flipping the sign on LFC (in cases where n>=7 in each group). Pretty bad and serious bug. I investigated it and found numerous cases where it matters in practice.
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 👇
James Lee retweeted
Watched Dune for the first time last night. Turns out it’s a documentary about supply chain vulnerabilities, great power competition, and the strategic importance of energy independence.
James Lee retweeted
1/8 🧵 Old sequencers, new science!
The next generation of spatial biology may already be sitting in our sequencing labs.
Meet ReGenSeq: we turned retired DNA sequencers into an automated spatial proteomics platform.
doi.org/10.64898/2026.11.08.…
James Lee retweeted
Try gemini models out if you're a biologist. We view you as skilled professionals worthy of respect.
Bio safeguards in AI agents are blocking legitimate research. Some agents stop our some of our work embl.org/groups/kosinski/ at the first prompt. In my early testing, Antigravity in its special research plan has not blocked anything so far.
James Lee retweeted
The Liang Lab is hiring! 🧬
Join our new lab at Baylor College of Medicine & Texas Children’s Hospital to explore cancer biology through functional genomics and CRISPR.
🔹 Postdoctoral Associate
🔹 Laboratory Manager
🔹 Rice Undergraduate Researchers
thelianglab.org/contact.html
🤖 Made with AI
In our new preprint, we introduce ModFormer, which builds on an RNA foundation model to predict A-to-I editing from sequence and structure. It generalizes across species, scores synthetic variants zero-shot, and guides an AI agent to propose RNA designs.
doi.org/10.64898/2026.11.23.…
James Lee retweeted
Jimmie Adriazola now has a natural language, ~300 page document on the Alpoge+Claude proof, that is supposed to be a complete, human-readable proof.
github.com/jimjamzola/RH-Alp…
James Lee retweeted
[Please reshare]
I’m recruiting PhD students to join my lab at @UW!
Our current focus is on understanding the effects of social media algorithms and finding ways to improve them, but we are increasingly interested in how our findings from social media apply to chatbots/LLMs.
James Lee retweeted
I have a major result to share.
I’ve found conclusive forensic evidence that the top 4 Chinese AI labs—DeepSeek, Moonshot, MiniMax and Ant Group—have built their newest models on NVIDIA’s most advanced Blackwell chips, which are barred from export to China.
This sounds insane, but I discovered that almost every AI model carries a hidden signature of the GPU that trained it. When a model is first set up, the starting values of its weights are laid out in a pattern that depends on the exact GPU. Each combination of GPU and seed number produces a unique pattern—a sort of fingerprint of the hardware used to create the model. Traces of that pattern survive training into the published model.
Again, this evidence isn’t based on any insider information or leaking. It’s based on a forensic analysis of the model weights released by the companies themselves.
I searched more than six trillion combinations of chip layout and seed number and matched them to open-weights models. In doing so, I found conclusive evidence that six Chinese AI models—including DeepSeek-V4-Pro, Kimi K3, and MiniMax-M3—were initialized on NVIDIA Blackwell systems. Four of the models match Grace Blackwell, the GB200 and GB300 parts in NVIDIA’s flagship liquid-cooled rack-scale systems.
I then verified these results on real hardware. Running unmodified PyTorch with the seeds I’d recovered, a Blackwell B300 reproduced DeepSeek-V4-Flash’s untouched starting weights bit for bit, and a rented GB200 reproduced Kimi K3’s to a correlation of 0.999995. A Hopper H100 reproduced none of DeepSeek-V4-Flash’s, and changing the seed by one broke the match. (DeepSeek’s seed is 953049583 by the way.) The method also was verified to match 24 known open-weights models to the hardware that developers said they used.
It is exceedingly unlikely that these results are a coincidence. Across six trillion combinations, the best accidental match should reach only about 8 sigma (i.e., eight standard deviations above what random chance would produce). The real matches range from 49 to 1,385 sigma, and even the weakest single test hits 20.
These were data-center-scale training runs. With some analysis of release schedules and model details, I estimate that the largest, Kimi K3 and DeepSeek-V4-Pro, used 2,000 to 3,000 Blackwell GPUs each. Clusters of this size cost on the order of $150 to $200 million each to buy, and across these labs alone would add up to more than half a billion dollars of export-controlled GPUs, not counting experimental compute or otherwise. It’s quite likely that we see multi-billion dollar expenditure on export-controlled GPUs.
I am highly confident in this result, and it has been independently verified by senior researchers at OpenAI and Anthropic. You can read the full report at unemploymentlabs.com/checkpo….
There is much more I’ve identified about these models through other forms of checkpoint forensics like this, and will have more to share soon.
James Lee retweeted
This is why Jensen was taken out.
For my first post, I’m sharing a letter @NVIDIA signed on why open models matter.
AI will transform every industry, power every company, and be built by every country.
Open models strengthen safety and cybersecurity, accelerate innovation and diffusion, and enable sovereignty.
The world needs both frontier closed models and frontier open models.
images.nvidia.com/pdf/Open-W…
James Lee retweeted
A research question can be completely safe, but mention a pathogen or certain lab techniques, and some AI models will refuse to answer.
Our latest benchmark, BenchBench-Refusals, tests how well leading AI models distinguish harmful from benign biology requests.
See the results: benchling.com/benchbench/ref…

ALT Bar chart titled "Can LLMs identify harmful biology requests?" displaying Macro-F1 scores of various language models. GPT-6.1 Sol leads with 88.4%, followed by Sonnet 5.5 at 85.1%, and Opus 5.5 (LSVP) at 84.3%. Fable 5.1 ranks lowest at 37.9%. The chart shows performance variations across models. Benchling logo is at the bottom right.
Excited to share our latest preprint! 🎉
SPACE-Tag enables high-throughput spatial chromatin profiling with CUT&Tag.
Huge congrats to Chao, Ruiyang, Sara, Maros, Silas, Ivan, and Sanja! 👏
🔬 biorxiv.org/content/10.64898…
James Lee retweeted
Demystifying the 17 biology evals in Anthropic's Fable 5.2 / Mythos 5.2 system card 🧵
James Lee retweeted
We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math.
It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training.
We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! 🧵
Blog: rikiyat.github.io/blog/weigh…
Readers added context they thought people might want to know
LLM was given weights explicitly as text in prompt and used code/forward passes (per authors' logs) to ablate Qwen looping direction, a known thinking-mode issue per model card. Primarily fixed repetition in that mode, not general 'natively' improving weights/math.
rikiyat.github.io/blog/weight-sp…
github.com/RikiyaT/lm_und…
huggingface.co/Qwen/Qwen3.5-0…
huggingface.co/RikiyaT/Qwen3.…
James Lee retweeted
I’ve never been able to draw, until I learned to turn math ideas into code and explore visualizing things. More than 20 years ago I started with @WolframResearch Mathematica, now ~1000 #Python scripts: from complex analysis to statistical mechanics to fractals.
#builtWithMarimo
James Lee retweeted
Cell–cell interactions are key to all biological processes, but there hasn't been a good way to perform inter-cellular screens for genetic regulators of these interactions in vivo.
We developed match-seq (multiplexed associative tagging of cell interaction histories) - using engineered virus-like particles to transfer barcoded mRNAs from 'sender' to neighboring 'receiver' cells, so you can reconstruct cellular interactions with sequencing alone, no imaging required.
We coupled match-seq with CRISPR + scRNA-seq in cancer, revealing cancer-immune interaction neighborhoods at scale, and new cancer genes that can be targeted for tumor rejection via immune cell interactions.
Led by the brilliant @peterdu_ with Bassik lab!
biorxiv.org/content/10.64898…
James Lee retweeted
A new class of biotech buyer is emerging, as frontier AI and big tech companies acquire early-stage biology foundational platforms. How do big tech acquisitions differ from traditional pharma exits, and what are the potential implications for founders, investors and the pharmaceutical industry? nature.com/articles/s41587-0…
rdcu.be/URMEtSZqA84a
James Lee retweeted
Excited to announce a new preprint that investigates the ability of sequence-to-function models (S2F; e.g., AlphaGenome) to identify causal expression modifying variants. (1\n)
biorxiv.org/content/10.64898…





































