GithubHelp home page GithubHelp logo

pepscaf's Introduction

PepScaf

This repository contains the implementation code for paper PepScaf: Harnessing Machine Learning with In Vitro Selection toward De Novo Macrocyclic Peptides against IL-17C/IL-17RE Interaction.

In this study, we first conducted the in vitro selection of macrocyclic peptides against interleukin-17C (IL-17C) using a primary library (17C-Lib1), which gave us a macrocyclic peptide ligand capable of inhibiting IL-17C/IL-17RE interaction with the $IC_{50}$ value at 166 nM. To further improve the activity, we built a framework termed PepScaf to generate the critical scaffold relative to the bioactivity on the basis of the vast dataset generated from the 4th round of 17C-Lib1. Based on the generated scaffold, a focus library (17C-Lib2) was constructed and applied in a macrocyclic peptide selection against IL-17C again. This afforded us with 20 biologically active macrocyclic peptides against IL-17C/IL-17RE interaction with $IC_{50}$ values below 10 nM, of which the best two macrocyclic peptides exhibited their notable inhibitory activities with both IC50 values at 1.4 nM.

Flow Chart

Installation

The code was test on GPU 3060 with

  • python=3.8
  • pytorch==1.12.1
  • cudatoolkit=11.3

Conda

We use conda to install the dependencies for PepScaf from the provided environment.yml file, which can give you the exact python environment we run the code for the paper:

NOTE: we also highly recommend using mamba instead of vanilla conda for managing your conda environments. Mamba is a drop-in replacement for conda that is:

  • Faster at solving environments (>10x in my experience)
  • Better at resolving conflicts
  • More informative when something goes wrong.
git clone https://github.com/hongliangduan/PepScaf.git
cd PepScaf
mamba env create -f environment.yml
pip install sci-ztools==0.1.0

mamba activate pepscaf

Usage

Preprocess

python bin/preprocessing.py  # preprocessing for raw data
python bin/cluster.py  # get cluster to get targets

Train and Evaluation

bash train.sh
bash eval.sh

Analysis and Gneration

bash get_attn.sh

Run notebooks/Score.ipynb to get position scores.

bash mcts.sh  # run mcts to get the scaffold

Acknowledgements

  1. The implementation of Pep-BERT is partly inspired by A transformer-based model to predict peptide–HLA class I binding and optimize mutated peptides for vaccine design and MolSearch: Search-based multi-objective molecular generation and property optimization.
  2. The Pep-BERT was build based fon pytorchic-bert, which is a re-implementation of Google BERT model in Pytorch.
  3. The code was formattered by Black.
  4. The building of MCTS parts refered to int8's mcts.
  5. Weblog
  6. The visualization of attention was modified from Pytorch Community
  7. The CD-HIT tool and Biopython was used for clustering sequence-based macrocyclic peptides.

Citation

If you find the idea or code useful for your research, please cite our paper:

@article{doi:10.1021/acs.jmedchem.3c00627,
author = {Zhai, Silong and Tan, Yahong and Zhang, Chengyun and Hipolito, Christopher John and Song, Lulu and Zhu, Cheng and Zhang, Youming and Duan, Hongliang and Yin, Yizhen},
title = {PepScaf: Harnessing Machine Learning with In Vitro Selection toward De Novo Macrocyclic Peptides against IL-17C/IL-17RE Interaction},
journal = {Journal of Medicinal Chemistry},
volume = {0},
number = {0},
pages = {null},
year = {0},
doi = {10.1021/acs.jmedchem.3c00627},
    note ={PMID: 37480587},

URL = { 
        https://doi.org/10.1021/acs.jmedchem.3c00627
    
},
eprint = { 
        https://doi.org/10.1021/acs.jmedchem.3c00627
    
}

Contact

Please contact [email protected] if you have any question. Enjoy!

pepscaf's People

Contributors

zhaisilong avatar hongliangduan avatar

Stargazers

Zhen-Yi Zhou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.