Painting Peptides with Antimicrobial Potency through Deep Reinforcement Learning
This framework consists of three modules:
- a policy network to assign the mutation sites
- a fine-tuned protein language model to replace the assigned residues
- a predictor named HyperAMP to evaluate the antimicrobial activity
cd HyperAMP
python ankh_embedding.py
python tfidf.py
python train.py # or train_5folds.pypython ./HyperAMP/predict.py # change input file path firstLength of a input peptide sequence should be less than 40.
The output of a input sequence is the transformed score based on its logMIC value to represent its antimicrobial activity.
(This step can be skipped for using ./data/maskseq1by1_0.2.csv directly)
python ./finetune/ankh_ft_data_1by1.pypython ./finetune/ankh_ft_noval.pypython ./RLloop/reinforce.pyDefault params: lr = 1e-3, batch_size = 128, n_steps = 10, iterations = 8
python ./RLevolve/reinforce.pypython ./fitness/reinforce.py@article{Dong2025AMPainter,
author = {Dong, Ruihan and Cao, Qiushi and Song, Chen},
title = {Painting Peptides With Antimicrobial Potency Through Deep Reinforcement Learning},
journal = {Advanced Science},
volume = {12},
number = {43},
pages = {e06332},
keywords = {antimicrobial peptide, deep reinforcement learning, directed evolution, sequence design},
doi = {https://doi.org/10.1002/advs.202506332},
year = {2025}
}