CyclicMPNN
A fine-tuned version of ProteinMPNN for generating stable cyclic peptide sequences
Install / Use
/learn @ParisaH-Lab/CyclicMPNNREADME
CyclicMPNN: Stable Cyclic Peptide Sequence Generation
<p align="center"> <img src="https://drive.google.com/uc?export=view&id=11DKu21MMIl0KgKobTAUcPOg7BHXchi8H" width="800"> </p>Read CyclicMPNN paper.
This repository is a derivative of ProteinMPNN (Dauparas et al., 2022)
We generated in silico data and fine-tuned ProteinMPNN, resulting in an overall improvement in cyclic peptide sequence design performance.
What is different from ProteinMPNN?
- Fine-tuned on cyclic peptide dataset (in silico & PDB; see paper)
- Fine-tuning training procedure described in Methods
- No architectural changes
- Same inference pipeline
Abstract
Cyclic peptides are a promising class of therapeutics due to their attractive drug qualities such as increased structural stability, cell permeability, and resistance to proteolytic degradation. With recent advancements in cyclic peptide backbone generation models like CyclicCAE and RFPeptide, generating cyclic peptide backbones can be done more rapidly compared to traditional algorithm or physics-based approaches. However, designing energetically favorable cyclic peptide sequences to fit generated backbones using only canonical amino acids is nontrivial. We fine-tuned the state- of-the-art deep learning model for protein sequence design, ProteinMPNN, using a combination of X-ray crystal structures from the Protein Data Bank and in silico generated cyclic peptides. Our approach surpasses ProteinMPNN in cyclic peptide sequence design, producing energetically stable sequences with a higher success rate of folding into the generated cyclic peptide backbones. We show that CyclicMPNN can be used as a motif-inpainting strategy and in de novo sequence design tasks. We propose that CyclicMPNN will enable the rapid design of energetically stable cyclic peptide sequences, increasing the success rate of therapeutic cyclic peptide development.
To run CyclicMPNN clone this github repo and install Python>=3.0, PyTorch, Numpy.
Full cyclic peptide model weights: cyclicmpnn_weights/cyclicmpnn_48_010.pt
Dataset creation scripts to generate poly-alanine in silico ensembles: datacreation_scripts/insolution_genkic.py
Code organization:
protein_mpnn_run.py- the main script to initialialize and run the model.protein_mpnn_utils.py- utility functions for the main script.examples/- simple code examples.inputs/- input PDB files for examplesoutputs/- outputs from examplescolab_notebooks/- Google Colab examplestraining/- code and data to retrain the modelcyclicmpnn_weights/- specific CyclicMPNN weightsdatacreation_scripts/- CyclicMPNN in silico generation PyRosetta scripts and utils
CyclicMPNN Citation
@article {Powers2026.01.31.702993,
author = {Powers, Andrew C. and Janthana, Yanapat and Hosseinzadeh, Parisa},
title = {CyclicMPNN: Stable Cyclic Peptide Sequence Generation},
elocation-id = {2026.01.31.702993},
year = {2026},
doi = {10.64898/2026.01.31.702993},
publisher = {Cold Spring Harbor Laboratory},
abstract = {Cyclic peptides are a promising class of therapeutics due to their attractive drug qualities such as increased structural stability, cell permeability, and resistance to proteolytic degradation. With recent advancements in cyclic peptide backbone generation models like CyclicCAE and RFPeptide, generating cyclic peptide backbones can be done more rapidly compared to traditional algorithm or physics based approaches. However, designing energetically favorable cyclic peptide sequences to fit generated backbones using only canonical amino acids is nontrivial. We fine-tuned the state-of-the-art deep learning model for protein sequence design, ProteinMPNN, using a combination of X-ray crystal structures from the Protein Data Bank and in silico generated cyclic peptides. Our approach surpasses ProteinMPNN in cyclic peptide sequence design, producing energetically stable sequences with a higher success rate of folding into the generated cyclic peptide backbones. We show that CyclicMPNN can be used as a motif-inpainting strategy and in de novo sequence design tasks. We propose that CyclicMPNN will enable the rapid design of energetically stable cyclic peptide sequences, increasing the success rate of therapeutic cyclic peptide development.Competing Interest StatementThe authors have declared no competing interest.NIH, DP2GM146249f},
URL = {https://www.biorxiv.org/content/early/2026/01/31/2026.01.31.702993},
eprint = {https://www.biorxiv.org/content/early/2026/01/31/2026.01.31.702993.full.pdf},
journal = {bioRxiv}
}
For example to make a conda environment to run CyclicMPNN:
conda create --name cyclicmpnn- this creates conda environment calledcyclicmpnnsource activate cyclicmpnn- this activate environmentconda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch- install pytorch following steps from https://pytorch.org/
Output example:
>size10_ALA_bb_008430, score=1.3696
LGEGGPGTLR
>size10_ALA_bb_003908, score=1.5825
WVTKSDNSEY
>size10_ALA_bb_005886, score=1.4018
RYAHPTSAES
>size10_ALA_bb_006418, score=1.4044
RTGPADSDNA
score- average over residues that were designed negative log probability of sampled amino acids
Original ProteinMPNN Documentation
This repository uses the unmodified ProteinMPNN codebase.
For full documentation of scripts, flags, and examples, see: ProteinMPNN
Original ProteinMPNN Citation
@article{dauparas2022robust,
title={Robust deep learning--based protein sequence design using ProteinMPNN},
author={Dauparas, Justas and Anishchenko, Ivan and Bennett, Nathaniel and Bai, Hua and Ragotte, Robert J and Milles, Lukas F and Wicky, Basile IM and Courbet, Alexis and de Haas, Rob J and Bethel, Neville and others},
journal={Science},
volume={378},
number={6615},
pages={49--56},
year={2022},
publisher={American Association for the Advancement of Science}
}
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
