Frederick "Erick" Matsen
matsen.bsky.social
Frederick "Erick" Matsen
@matsen.bsky.social
I ♥ evolution, immunology, math, & computers. Professor at Fred Hutch & Investigator at HHMI. http://matsen.fredhutch.org/
Pinned
The last five months with Claude Code have completely changed how we work.

matsen.group/agentic.html details:

• How agents work (& why it matters)
• Git Flow with agents
• Using agents for science
• The human-agent interface

Questions? What has your experience been?
Agentic Coding For Scientists
A four-part series on using coding agents like Claude Code for scientific programming, covering fundamentals, workflows, best practices, and the human side of AI-assisted development.
matsen.group
Over the past 5+ years I've had the honor of working with @wsdewitt.github.io @victora.bsky.social and many others on a project to "replay" affinity maturation evolution from a fixed starting point.

matsen.group/general/2025...
Replaying evolution to learn about the fitness landscape of affinity maturation
A five year collaboration with the Victora lab is bearing fruit for evolutionary biology.
matsen.group
December 11, 2025 at 5:36 PM
Thanks to everyone who attended and asked questions in www.youtube.com/watch?v=Rbhs... . I've added it to the blog series description matsen.group/agentic.html

I'm going to stop barking about AI for a while now. The next blog post will be about B cells!
Agentic Coding for Scientists (Dec 2025 edition)
YouTube video by Erick Matsen
www.youtube.com
December 10, 2025 at 6:21 PM
I'll be livestreaming in 24 hours. Hope to see you there!
The era of coding agents is here. How do we approach this as scientists?

Wednesday Dec 10th at 9am PT I'll livestream an interactive demo of what I have learned (matsen.group/agentic.html) about how to leverage agentic coding to do rigorous science.

www.youtube.com/watch?v=Rbhs...
Agentic Coding for Scientists (Dec 2025 edition)
YouTube video by Erick Matsen
www.youtube.com
December 9, 2025 at 5:04 PM
Thanks to Dave Rich in our group, our repertoire browser www.olmstedviz.org is now greatly updated.

* Data is loaded into your browser client-side: no install
* Interactive visualization of trees and amino acid mutations
* Tool ingests data in AIRR JSON format

We want to help you try it out!
December 8, 2025 at 6:00 PM
The era of coding agents is here. How do we approach this as scientists?

Wednesday Dec 10th at 9am PT I'll livestream an interactive demo of what I have learned (matsen.group/agentic.html) about how to leverage agentic coding to do rigorous science.

www.youtube.com/watch?v=Rbhs...
Agentic Coding for Scientists (Dec 2025 edition)
YouTube video by Erick Matsen
www.youtube.com
December 2, 2025 at 6:57 PM
Reposted by Frederick "Erick" Matsen
Outstanding articles. I’ve only just begun experimenting with Claude and Gemini CLIs and they’re incredibly powerful. This is extremely valuable best practice advice.
The last five months with Claude Code have completely changed how we work.

matsen.group/agentic.html details:

• How agents work (& why it matters)
• Git Flow with agents
• Using agents for science
• The human-agent interface

Questions? What has your experience been?
Agentic Coding For Scientists
A four-part series on using coding agents like Claude Code for scientific programming, covering fundamentals, workflows, best practices, and the human side of AI-assisted development.
matsen.group
November 14, 2025 at 5:01 AM
The last five months with Claude Code have completely changed how we work.

matsen.group/agentic.html details:

• How agents work (& why it matters)
• Git Flow with agents
• Using agents for science
• The human-agent interface

Questions? What has your experience been?
Agentic Coding For Scientists
A four-part series on using coding agents like Claude Code for scientific programming, covering fundamentals, workflows, best practices, and the human side of AI-assisted development.
matsen.group
November 13, 2025 at 5:08 PM
The Mahan postdoctoral fellowship offers 21 months of support to develop your own research with Fred Hutch computational biology faculty-- lots of excellent labs to choose from!
Apply: apply.interfolio.com/172697
Faculty: www.fredhutch.org/en/research...
Herbold Computational Biology Faculty & Labs
www.fredhutch.org
October 19, 2025 at 5:40 PM
The final version of our transformer-based model of natural selection has come out in MBE. I hope some molecular evolution researchers find this interesting & useful as a way to express richer models of natural selection. doi.org/10.1093/mol... (short 🧵)
September 24, 2025 at 10:24 PM
The final version of our "Thrifty" paper is up now: elifesciences.org/articles/10... .

We were motivated to fit wide-context mutation models based on previous analyses showing "mesoscale" effects and a position-specific effect. But, how to avoid exploding the number of parameters? 🧵
Thrifty wide-context models of B cell receptor somatic hypermutation
Convolutional embedding models efficiently capture wide sequence context in antibody somatic hypermutation, avoiding exponential k-mer parameter scaling and eliminating the need for per-site modeling.
elifesciences.org
September 18, 2025 at 10:46 PM
Is an idea likely to advance the field?

Our "preflight check" exercise provides a structured approach for thinking through computational biology research projects.

github.com/matsengrp/pr...

Thanks to @sdwfrost.bsky.social for the core idea!
GitHub - matsengrp/preflight
Contribute to matsengrp/preflight development by creating an account on GitHub.
github.com
September 16, 2025 at 2:06 PM
Interested in doing a PhD or postdoc in our group? Here is a letter to you: matsen.group/general/202...

We are ready to recruit a trainee who can help develop the next generation of our transformer-based models of natural selection. See the "joining" tab of our website for details.
Dear future trainee:
Let's have fun, work hard, and feel lucky that our job is to expand the boundary of knowledge.
matsen.group
August 21, 2025 at 9:47 AM
Open bioinformatics position on next-generation protein evolution models! Join HHMI's AI initiative at Janelia Farm, Virginia, (an amazing place) and work closely with our team. Help us build the future! 🧬 + 🤖 = ❤️
hhmi.wd1.myworkdayjobs.com/en-US/Exter...
August 20, 2025 at 11:17 AM
Why does selection feel so weak relative to mutation in affinity maturation? A new blog post giving three perspectives, including our new transformer-based model of natural selection on antibodies: matsen.group/general/202...
The term 'affinity maturation' understates the influence of somatic hypermutation
Three recent papers quantify how nucleotide-level mutation processes drive antibody evolution.
matsen.group
August 19, 2025 at 5:17 PM
Reposted by Frederick "Erick" Matsen
In a new preprint we use deep learning on lineage trees to infer the functional form of the relationship between affinity and fitness that controls antibody evolution in germinal centers: arxiv.org/abs/2508.09871 🧵
Inference of germinal center evolutionary dynamics via simulation-based deep learning
B cells and the antibodies they produce are vital to health and survival, motivating research on the details of the mutational and evolutionary processes in the germinal centers (GC) from which mature...
arxiv.org
August 16, 2025 at 10:56 PM
Here are some useful subagents we've developed for Claude Code.
github.com/matsengrp/c...
(description in README if you don't know what I'm talking about)

Example uses:
August 14, 2025 at 1:40 PM
Motivated by wanting Claude Code to read papers, and something to fill PDF forms for kid summer camps, I vibe-coded github.com/matsengrp/p...

Perhaps you will find it useful!
GitHub - matsengrp/pdf-navigator-mcp: Comprehensive MCP server for PDF reading, navigation, and text search
Comprehensive MCP server for PDF reading, navigation, and text search - matsengrp/pdf-navigator-mcp
github.com
August 3, 2025 at 2:17 PM
Reposted by Frederick "Erick" Matsen
Go Maggie! @magdalenarussell.bsky.social gets UW's Distinguished Dissertation Award for her PhD work with @matsen.bsky.social "Inferring mechanisms of V(D)J recombination using statistical inference on high-throughput immune repertoire data". 🏆
Congratulations to Maggie Russell on receiving the UW Graduate School's Distinguished Dissertation Award!
July 3, 2025 at 10:19 PM
Reposted by Frederick "Erick" Matsen
Excited to share my new preprint developed with @matsen.bsky.social, in collaboration with Marius Brusselmans, Luiz Carvalho, @msuchard.bsky.social, and @guybaele.bsky.social, on the biological causes and impacts of tree space ruggedness in phylodynamic inference. 1/
www.biorxiv.org/content/10.1...
www.biorxiv.org
June 17, 2025 at 1:25 AM
Reposted by Frederick "Erick" Matsen
Wanted to highlight our latest preprint--a huge effort by multiple people and labs, but led primarily by @wsdewitt.github.io, Tatsuya Araki, and Ashni Vora, in a very close wet-dry collaboration with @matsen.bsky.social’s lab at the Hutch

www.biorxiv.org/content/10.1...
Replaying germinal center evolution on a quantified affinity landscape
Darwinian evolution of immunoglobulin genes within germinal centers (GC) underlies the progressive increase in antibody affinity following antigen exposure. Whereas the mechanics of how competition be...
www.biorxiv.org
June 5, 2025 at 2:28 PM
Working with Claude Code has been transformative. Yes, it does great on new code and refactoring. VSCode integration is 👍.

But the big surprise: it can seamlessly edit notebooks and then view the plots to plan next steps. Time to update my blog post matsen.group/general/202...
June 4, 2025 at 6:27 PM
Many of my favorite collaborators are immigrants who face double threats of funding cuts and the anti-immigrant political climate.

To them and immigrants generally: we need you, and we want you here. I understand if you want to leave but I hope you will stay and reach out.
May 31, 2025 at 10:12 AM
I'm excited about AI not as a way to get a big black-box model, but as a way to assist development of probabilistic models that get us to biological mechanism. New blog post: matsen.group/general/2025...
The next five years are going to be amazing for learning biological processes through probabilistic models
Biology is composed of many small interacting processes. We can use AI to develop models accordingly.
matsen.group
May 28, 2025 at 4:58 PM
New blog post: our recent work to understand the somatic hypermutation process that enables antibodies to incrementally improve.

A story of running into the limitations of deep learning, but still gaining biological insight along the way.

matsen.group/general/2025...
Two new approaches to learn about antibody somatic hypermutation
We try to learn about SHM mechanism and do so by directly using mechanistic models, and by exploring deep architectures.
matsen.group
May 20, 2025 at 5:30 PM