IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1013774.html

BAGEL: Protein engineering via exploration of an energy landscape

Author

Listed:
  • Jakub Lála
  • Ayham Al-Saffar
  • Stefano Angioletti-Uberti

Abstract

Despite recent breakthroughs in deep learning methods for protein design, existing computational pipelines remain rigid, highly specific, and ill-suited for tasks requiring non-differentiable or multi-objective design goals. In this report, we introduce BAGEL, a modular, open-source framework for programmable protein engineering, enabling flexible exploration of sequence space through model-agnostic and gradient-free exploration of an energy landscape. BAGEL formalizes protein design as the sampling of an energy function, either to optimize (find a global optimum) or to explore a basin of interest (generate diverse candidates). This energy function is composed of user-defined terms capturing geometric constraints, sequence embedding similarities, or structural confidence metrics. BAGEL also natively supports multi-state optimization and advanced Monte Carlo techniques, providing researchers with a flexible alternative to fixed-backbone and inverse-folding paradigms common in current design workflows. Moreover, the package seamlessly integrates a wide range of publicly available deep learning protein models, allowing users to rapidly take full advantage of any future improvements in model accuracy and speed. We illustrate the versatility of BAGEL on four archetypal applications: designing de novo peptide binders, targeting intrinsically disordered epitopes, selectively binding to species-specific variants, and generating enzyme variants with conserved catalytic sites. By offering a modular, easy-to-use platform to define custom protein design objectives and optimization strategies, BAGEL aims to speed up the design of new proteins. Our goal with its release is to democratize protein design, abstracting the process as much as possible from technical implementation details and thereby making it more accessible to the broader scientific community, unlocking untapped potential for innovation in biotechnology and therapeutics.Author summary: Proteins underpin much of modern biotechnology. To harness them, we need practical ways to computationally design sequences that meet clear goals while remaining stable and functional. Recent deep learning methods have boosted success rates, yet most design pipelines still follow rigid workflows, making it difficult to specify non-differentiable goals, or constraints spanning multiple functional contexts. Here, we introduce BAGEL, a Python package that formalizes protein design as exploration of an energy landscape built from simple, user-defined terms. In practice, this lets a researcher specify straightforward constraints – keep a region confident, avoid sticky surface patches, bring two parts into contact, maintain a catalytic motif – and combine them in one place. A stochastic search then proposes beneficial sequence changes, testing whether the design is evolving in the right direction. We demonstrate this on four use cases: de novo peptide binders, targeting intrinsically disordered epitopes, selective binding across species variants, and enzyme variants that preserve an active site. The ability to compose arbitrary goals, including the use of the ever-expanding suite of protein deep learning models makes BAGEL a tool making programmable protein engineering more accessible, accelerating practical applications in biotechnology and therapeutics.

Suggested Citation

  • Jakub Lála & Ayham Al-Saffar & Stefano Angioletti-Uberti, 2025. "BAGEL: Protein engineering via exploration of an energy landscape," PLOS Computational Biology, Public Library of Science, vol. 21(12), pages 1-24, December.
  • Handle: RePEc:plo:pcbi00:1013774
    DOI: 10.1371/journal.pcbi.1013774
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1013774
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1013774&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1013774?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Kathryn Tunyasuvunakool & Jonas Adler & Zachary Wu & Tim Green & Michal Zielinski & Augustin Žídek & Alex Bridgland & Andrew Cowie & Clemens Meyer & Agata Laydon & Sameer Velankar & Gerard J. Kleywegt, 2021. "Highly accurate protein structure prediction for the human proteome," Nature, Nature, vol. 596(7873), pages 590-596, August.
    2. Ivan Anishchenko & Samuel J. Pellock & Tamuka M. Chidyausiku & Theresa A. Ramelot & Sergey Ovchinnikov & Jingzhou Hao & Khushboo Bafna & Christoffer Norn & Alex Kang & Asim K. Bera & Frank DiMaio & La, 2021. "De novo protein design by deep network hallucination," Nature, Nature, vol. 600(7889), pages 547-552, December.
    3. John Jumper & Richard Evans & Alexander Pritzel & Tim Green & Michael Figurnov & Olaf Ronneberger & Kathryn Tunyasuvunakool & Russ Bates & Augustin Žídek & Anna Potapenko & Alex Bridgland & Clemens Me, 2021. "Highly accurate protein structure prediction with AlphaFold," Nature, Nature, vol. 596(7873), pages 583-589, August.
    4. Alfredo Quijano-Rubio & Hsien-Wei Yeh & Jooyoung Park & Hansol Lee & Robert A. Langan & Scott E. Boyken & Marc J. Lajoie & Longxing Cao & Cameron M. Chow & Marcos C. Miranda & Jimin Wi & Hyo Jeong Hon, 2021. "De novo design of modular and tunable protein biosensors," Nature, Nature, vol. 591(7850), pages 482-487, March.
    5. Martin Pacesa & Lennart Nickel & Christian Schellhaas & Joseph Schmidt & Ekaterina Pyatova & Lucas Kissling & Patrick Barendse & Jagrity Choudhury & Srajan Kapoor & Ana Alcaraz-Serna & Yehlin Cho & Ko, 2025. "One-shot design of functional protein binders with BindCraft," Nature, Nature, vol. 646(8084), pages 483-492, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Stephen A. Rettie & Katelyn V. Campbell & Asim K. Bera & Alex Kang & Simon Kozlov & Yensi Flores Bueso & Joshmyn Cruz & Maggie Ahlrichs & Suna Cheng & Stacey R. Gerben & Mila Lamb & Analisa Murray & V, 2025. "Cyclic peptide structure prediction and design using AlphaFold2," Nature Communications, Nature, vol. 16(1), pages 1-15, December.
    2. Betz, Ulrich A.K. & Arora, Loukik & Assal, Reem A. & Azevedo, Hatylas & Baldwin, Jeremy & Becker, Michael S. & Bostock, Stefan & Cheng, Vinton & Egle, Tobias & Ferrari, Nicola & Schneider-Futschik, El, 2023. "Game changers in science and technology - now and beyond," Technological Forecasting and Social Change, Elsevier, vol. 193(C).
    3. Nathaniel R. Bennett & Brian Coventry & Inna Goreshnik & Buwei Huang & Aza Allen & Dionne Vafeados & Ying Po Peng & Justas Dauparas & Minkyung Baek & Lance Stewart & Frank DiMaio & Steven Munck & Savv, 2023. "Improving de novo protein binder design with deep learning," Nature Communications, Nature, vol. 14(1), pages 1-9, December.
    4. Tamuka M. Chidyausiku & Soraia R. Mendes & Jason C. Klima & Marta Nadal & Ulrich Eckhard & Jorge Roel-Touris & Scott Houliston & Tibisay Guevara & Hugh K. Haddox & Adam Moyer & Cheryl H. Arrowsmith & , 2022. "De novo design of immunoglobulin-like domains," Nature Communications, Nature, vol. 13(1), pages 1-14, December.
    5. Ye Yuan & Lei Chen & Kexu Song & Miaomiao Cheng & Ling Fang & Lingfei Kong & Lanlan Yu & Ruonan Wang & Zhendong Fu & Minmin Sun & Qian Wang & Chengjun Cui & Haojue Wang & Jiuyang He & Xiaonan Wang & Y, 2024. "Stable peptide-assembled nanozyme mimicking dual antifungal actions," Nature Communications, Nature, vol. 15(1), pages 1-17, December.
    6. Ivica Odorčić & Mohamed Belal Hamed & Sam Lismont & Lucía Chávez-Gutiérrez & Rouslan G. Efremov, 2024. "Apo and Aβ46-bound γ-secretase structures provide insights into amyloid-β processing by the APH-1B isoform," Nature Communications, Nature, vol. 15(1), pages 1-14, December.
    7. Pantelis Livanos & Choy Kriechbaum & Sophia Remers & Arvid Herrmann & Sabine Müller, 2025. "Kinesin-12 POK2 polarization is a prerequisite for a fully functional division site and aids cell plate positioning," Nature Communications, Nature, vol. 16(1), pages 1-17, December.
    8. Surabhi Kokane & Ashutosh Gulati & Pascal F. Meier & Rei Matsuoka & Tanadet Pipatpolkai & Giuseppe Albano & Tin Manh Ho & Lucie Delemotte & Daniel Fuster & David Drew, 2025. "PIP2-mediated oligomerization of the endosomal sodium/proton exchanger NHE9," Nature Communications, Nature, vol. 16(1), pages 1-17, December.
    9. Jiabao Han & Hanyu Bai & Fan Li & Ying Zhang & Qi Zhou & Wei Li, 2025. "Engineering a streamlined virus-like particle for programmable tissue-specific gene delivery," Nature Communications, Nature, vol. 16(1), pages 1-21, December.
    10. Ping Yuan & Guodong Chen & Yukun Li & Xichun Liu & Shayana Saravanakumar & Jianfeng Zhao & Qianyu Ji & Hong Wang & Ying-Wu Lin & Mostafa Elbahnasawy & Nan-Ping Weng & Brian G. Pierce & Roy A. Mariuzza, 2025. "Structural insights into clonal restriction and diversity in T cell recognition of two immunodominant SARS-CoV-2 nucleocapsid epitopes," Nature Communications, Nature, vol. 16(1), pages 1-18, December.
    11. Justin Riper & Arleth O. Martinez-Claros & Lie Wang & Hannah E. Schneiderman & Sweta Maheshwari & Monica C. Pillon, 2025. "CryoEM structure of the SLFN14 endoribonuclease reveals insight into RNA binding and cleavage," Nature Communications, Nature, vol. 16(1), pages 1-15, December.
    12. Stella Vitt & Simone Prinz & Martin Eisinger & Ulrich Ermler & Wolfgang Buckel, 2022. "Purification and structural characterization of the Na+-translocating ferredoxin: NAD+ reductase (Rnf) complex of Clostridium tetanomorphum," Nature Communications, Nature, vol. 13(1), pages 1-11, December.
    13. Pierre Azoulay & Joshua Krieger & Abhishek Nagaraj, 2024. "Old Moats for New Models: Openness, Control, and Competition in Generative Artificial Intelligence," NBER Chapters, in: Entrepreneurship and Innovation Policy and the Economy, volume 4, pages 7-46, National Bureau of Economic Research, Inc.
    14. Riya Shah & Thomas C. Panagiotou & Gregory B. Cole & Trevor F. Moraes & Brigitte D. Lavoie & Christopher A. McCulloch & Andrew Wilde, 2024. "The DIAPH3 linker specifies a β-actin network that maintains RhoA and Myosin-II at the cytokinetic furrow," Nature Communications, Nature, vol. 15(1), pages 1-17, December.
    15. Yashan Yang & Qianqian Shao & Mingcheng Guo & Lin Han & Xinyue Zhao & Aohan Wang & Xiangyun Li & Bo Wang & Ji-An Pan & Zhenguo Chen & Andrei Fokine & Lei Sun & Qianglin Fang, 2024. "Capsid structure of bacteriophage ΦKZ provides insights into assembly and stabilization of jumbo phages," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    16. Xin Yong & Guowen Jia & Qin Yang & Chunzhuang Zhou & Sitao Zhang & Huaqing Deng & Daniel D. Billadeau & Zhaoming Su & Da Jia, 2025. "Cryo-EM structure of the BLOC-3 complex provides insights into the pathogenesis of Hermansky-Pudlak syndrome," Nature Communications, Nature, vol. 16(1), pages 1-15, December.
    17. Bret M. Boyd & Ian James & Kevin P. Johnson & Robert B. Weiss & Sarah E. Bush & Dale H. Clayton & Colin Dale, 2024. "Stochasticity, determinism, and contingency shape genome evolution of endosymbiotic bacteria," Nature Communications, Nature, vol. 15(1), pages 1-14, December.
    18. Jun-Yu Si & Yuan-Mei Chen & Ye-Hui Sun & Meng-Xue Gu & Mei-Ling Huang & Lu-Lu Shi & Xiao Yu & Xiao Yang & Qing Xiong & Cheng-Bao Ma & Peng Liu & Zheng-Li Shi & Huan Yan, 2024. "Sarbecovirus RBD indels and specific residues dictating multi-species ACE2 adaptiveness," Nature Communications, Nature, vol. 15(1), pages 1-15, December.
    19. Deyun Qiu & Jinxin V. Pei & James E. O. Rosling & Vandana Thathy & Dongdi Li & Yi Xue & John D. Tanner & Jocelyn Sietsma Penington & Yi Tong Vincent Aw & Jessica Yi Han Aw & Guoyue Xu & Abhai K. Tripa, 2022. "A G358S mutation in the Plasmodium falciparum Na+ pump PfATP4 confers clinically-relevant resistance to cipargamin," Nature Communications, Nature, vol. 13(1), pages 1-18, December.
    20. Shuo-Shuo Liu & Tian-Xia Jiang & Fan Bu & Ji-Lan Zhao & Guang-Fei Wang & Guo-Heng Yang & Jie-Yan Kong & Yun-Fan Qie & Pei Wen & Li-Bin Fan & Ning-Ning Li & Ning Gao & Xiao-Bo Qiu, 2024. "Molecular mechanisms underlying the BIRC6-mediated regulation of apoptosis and autophagy," Nature Communications, Nature, vol. 15(1), pages 1-16, December.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1013774. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.