Thanks to visit codestin.com
Credit goes to github.com

Skip to content

luozhenjie1997/CPL-Diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPL-Diff

This package contains deep learning models and related scripts to run CPL-Diff.
CPL-Diff is a diffusion model for generating peptides of fixed length. CPL-Diff employs a Transformer architecture and uses attention masks to control the length of the generated peptide sequences, and it can specify the generation of peptides with a single function.

Installation

  1. Clone the package.
git clone https://github.com/luozhenjie1997/CPL-Diff.git
cd CPL-Diff
  1. Create conda environment using environment.yml file.
conda env create -f environment.yml
  1. Iinstall CPL-Diff
pip install .

Train CPL-Diff

The training code for CPL-Diff is available at scripts/train_denoiser.ipynb. The CPL-Diff hyperparameter configuration is available at config.ini. The peptide sequence generation code is available at scripts/sample_randomLen.ipynb.

About

This is a Description.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors