David Rich

David Rich

Auto-generated profile, based on publicly available information

David Rich

Computational Biology Program, Fred Hutchinson Cancer Center

Research Focus & Metrics

Academic Career Length

2Years (2025-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
30 July 2025 in Molecular Biology and Evolution
Verified
Journal Article
Open access
FMFrederick A Matsen
Frederick A Matsen
KSKevin Sung
Kevin Sung
MJMackenzie M Johnson
Mackenzie M Johnson
WDWill Dumm
Will Dumm
DRDavid Rich
David Rich
HHHugh K Haddox
Hugh K Haddox
During affinity maturation, antibodies are selected for their ability to fold and to bind a target antigen between rounds of somatic hypermutation. Previous studies have identified patterns of selection in antibodies using B cell repertoire sequencing data. However, these studies are constrained by needing to group many sequences or sites to make aggregate predictions. In this paper, we develop a transformer–encoder selection model of maximum resolution: given a single antibody sequence, it predicts the strength of selection on each amino acid site. Specifically, the model predicts for each site whether evolution will be slower than expected relative to a model of the neutral mutation process (purifying selection) or faster than expected (diversifying selection). We show that the model does an excellent job of modeling the process of natural selection on held out data, and does not need to be enormous or trained on vast amounts of data to perform well. The patterns of purifying vs diversifying natural selection do not neatly partition into the complementarity-determining vs framework regions: for example, there are many sites in framework that experience strong diversifying selection. There is a weak correlation between selection factors and solvent accessibility. When considering evolutionary shifts down a tree of antibody evolution, affinity maturation generally shifts sites towards purifying natural selection, however this effect depends on the region, with the biggest shifts toward purifying selection happening in the third complementarity-determining region. We observe distinct evolution between gene families but a limited relationship between germline diversity and selection strength.

31 October 2025 in bioRxiv
Verified
Preprint
Open access
MBMary Barker
Mary Barker
OMOgnian Milanov
Ognian Milanov
WDWill Dumm
Will Dumm
DRDave Rich
Dave Rich
YTYatish Turakhia
Yatish Turakhia
FMFrederick A Matsen
Frederick A Matsen
Phylogenetic inference algorithms for large data sets typically return a single tree. However, there are often many optimal trees, especially when sequence data is closely related. We develop a compact representation of large collections of maximally parsimonious histories —trees with mutations mapped onto tree edges. Our C++ implementation, larch , leverages this representation for a highly parallel search algorithm. The storage component uses our history DAG structure to compactly represent large families of optimal trees. The search algorithm integrates this storage with matOptimize for rapid tree optimization; the DAG structure allows us to accept thousands of conflicting tree rearrangements in parallel. The integration enables a new type of tree search: one that systematically maps out the collection of good trees, enabling moves that are directed away from the current set of optimal trees to cross valleys and increase the diversity of the set of optimal trees. It is able to identify more parsimonious trees than are found by other methods. We find diverse optimality landscapes for viral datasets, including many distinct plateaux. We also find that our implementation produces similar results whether using a variety of single starting trees or an ensemble of starting trees, indicating effective global optimization.

5 March 2026 in eLife preprints
Verified
Preprint
Open access
PDF file
FMFrederick A Matsen
Frederick A Matsen
WDWill Dumm
Will Dumm
KSKevin Sung
Kevin Sung
MJMackenzie M Johnson
Mackenzie M Johnson
DRDavid Rich
David Rich
HHHugh K Haddox
Hugh K Haddox
Antibodies are encoded by nucleotide sequences that are generated by V(D)J recombination and evolve according to mutation and selection processes. Existing antibody language models, however, focus exclusively on antibodies as strings of amino acids and are fitted using standard language modeling objectives such as masked or autoregressive prediction. In this paper, we first show that fitting models using this objective implicitly incorporates nucleotide-level mutation processes as part of the protein language model, which degrades performance when predicting effects of mutations on functional properties of antibodies. To address this limitation, we devise a new framework: a Deep Amino acid Selection Model (DASM) that learns the selection effects of amino-acid mutations while explicitly factoring out the nucleotide-level mutation process. By fitting selection as a separate term from the mutation process, the DASM exclusively quantifies functional effects: effects that change some aspect of the function of the antibody. This factorization leads to substantially improved performance on standard functional benchmarks. Moreover, our model is an order of magnitude smaller and multiple orders of magnitude faster to evaluate than existing approaches, as well as being readily interpretable.

23 April 2026 in bioRxiv
Verified
Preprint
Open access
PDF file
NHNoam Harel
Noam Harel
KSKevin Sung
Kevin Sung
WDWill Dumm
Will Dumm
MJMackenzie M. Johnson
Mackenzie M. Johnson
DRDavid Rich
David Rich
FMFrederick A. Matsen
Frederick A. Matsen
Entrenchment — epistasis that locks in amino acid differences between homologous proteins, so each disfavors substitutions toward the other’s state — has been demonstrated along individual protein lineages over deep evolutionary time. Antibodies offer a unique system for studying entrenchment: multiple homologous germline V gene paralogs provide diverse starting points, and the rapid somatic evolution of affinity maturation generates dense phylogenies from which selection on germline-encoded residues can be inferred. Using DASM, a deep-learning model that separates selection from mutation in antibody repertoire data, we test for entrenchment across immunoglobulin heavy chain variable (IGHV) genes. We detect entrenchment at two levels of germline divergence, driven by different sources of epistasis. Within V gene families (up to ∼20% amino acid divergence), entrenched sites cluster at the borders of the complementarity-determining regions (CDRs, the antigen-binding loops) and show high germline diversity. These sites contact antigen, light chain, and the heavy chain CDR3 loop, all of which are encoded independently of the IGHV germline. This pattern is consistent with epistasis from genetically uncoupled partners. Between V gene families, at deeper levels of divergence (25–40%), entrenchment additionally includes positions in the framework scaffold distant from binding interfaces, suggesting a larger contribution from intra-heavy-chain structural constraints. Observed mutation frequencies in human repertoires corroborate these predictions where data are sufficient. Together, these results demonstrate that the rapid somatic evolution of antibodies can serve as a lens for revealing epistatic constraints acting on germline-encoded residues, including constraints imposed by genetically uncoupled partners assembled during B cell development.

22 October 2025 in bioRxiv
Verified
Preprint
Open access
FMFrederick A. Matsen
Frederick A. Matsen
WDWill Dumm
Will Dumm
KSKevin Sung
Kevin Sung
MJMackenzie M. Johnson
Mackenzie M. Johnson
DRDavid Rich
David Rich
HHHugh K. Haddox
Hugh K. Haddox
Antibodies are encoded by nucleotide sequences that are generated by V(D)J recombination and evolve according to mutation and selection processes. Existing antibody language models, however, focus exclusively on antibodies as strings of amino acids and are fitted using standard language modeling objectives such as masked or autoregressive prediction. In this paper, we first show that fitting models using this objective implicitly incorporates nucleotide-level mutation processes as part of the protein language model, which degrades performance when predicting effects of mutations on functional properties of antibodies. To address this limitation, we devise a new framework: a Deep Amino acid Selection Model (DASM) that learns the selection effects of amino-acid mutations while explicitly factoring out the nucleotide-level mutation process. By fitting selection as a separate term from the mutation process, the DASM exclusively quantifies functional effects: effects that change some aspect of the function of the antibody. This factorization leads to substantially improved performance on standard functional benchmarks. Moreover, our model is an order of magnitude smaller and multiple orders of magnitude faster to evaluate than existing approaches, as well as being readily interpretable.