Skip to main content
Journal cover image

Miniaturizing and modifying natural proteins with Raygun.

Journal articles  - Journal Article
Devkota, K; Shonai, D; Mao, J; Ko, YS; Wang, W; Soderling, S; Singh, R
Published in: Nature
July 29, 2026

Proteins have evolved over billions of years through coordinated substitutions, insertions and deletions, yet computational protein design cannot fully replicate nature's ability to engineer new proteins from existing templates. Protein language models1-3 generate informative per-residue representations, but harnessing them for large-scale, function-preserving sequence modifications has remained beyond reach. Here we introduce Raygun, a generative artificial intelligence framework that enables miniaturization, modification and augmentation of proteins, using a probabilistic encoding of protein sequences constructed from language model embeddings. Our key conceptual advance is to encode each protein not as a sequence of variable length in high-dimensional space, but as a probability distribution in fixed dimensions, making proteins of any length directly commensurable. Controlled by just two parameters governing substitutions and length changes, Raygun can shrink proteins by 10-25% (sometimes more than 50%), expand them beyond their natural size, and introduce extensive sequence diversity, all while preserving predicted structural integrity and functional sites. In cell-based validation, Raygun miniaturized fluorescent proteins (2 shorter than 96% of fluorescent proteins in FPbase) and TurboID, a synthetic biotin ligase that has been widely adopted for proteomics. It also expanded epidermal growth factor (EGF), generating variants with higher EGFR-binding affinity than the wild type. These results show that protein function can be faithfully captured in a length-agnostic representation, enabling the kind of coordinated, large-scale sequence modifications that characterize natural protein evolution.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

Nature

DOI

EISSN

1476-4687

Publication Date

July 29, 2026

Location

England

Related Subject Headings

  • General Science & Technology
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Devkota, K., Shonai, D., Mao, J., Ko, Y. S., Wang, W., Soderling, S., & Singh, R. (2026). Miniaturizing and modifying natural proteins with Raygun. Nature. https://doi.org/10.1038/s41586-026-10842-8
Devkota, Kapil, Daichi Shonai, Joey Mao, Young Su Ko, Wei Wang, Scott Soderling, and Rohit Singh. “Miniaturizing and modifying natural proteins with Raygun.Nature, July 29, 2026. https://doi.org/10.1038/s41586-026-10842-8.
Devkota K, Shonai D, Mao J, Ko YS, Wang W, Soderling S, et al. Miniaturizing and modifying natural proteins with Raygun. Nature. 2026 Jul 29;
Devkota, Kapil, et al. “Miniaturizing and modifying natural proteins with Raygun.Nature, July 2026. Pubmed, doi:10.1038/s41586-026-10842-8.
Devkota K, Shonai D, Mao J, Ko YS, Wang W, Soderling S, Singh R. Miniaturizing and modifying natural proteins with Raygun. Nature. 2026 Jul 29;
Journal cover image

Published In

Nature

DOI

EISSN

1476-4687

Publication Date

July 29, 2026

Location

England

Related Subject Headings

  • General Science & Technology