A novel framework called CPPCGM (Cell Penetrating Peptide Categorical and Generative Model) is specialized for recognizing and generating CPPs among various peptides just using primary sequence information.
The construction of CPPCGM involved two components, CPPClassifier and CPPGenerator. (A) The CPPs classification network incorporates three pre-trained models (ProtBert, ProtBert-BFD, and ProtElectra-BFD) for final decision result through voting. (B) The CPP generation network consists of two neural networks: the generator (ProtBert) and the discriminator (ProtBert). These two networks engage in a mutual adversarial process, aiming to train and generate realistic CPPs.
python==3.8.19
numpy==1.26.1
pandas==1.4.2
scikit-learn==1.3.2
scipy==1.10.1
tokenizers==0.19.1
torch==2.4.1+cu121
torchaudio==2.4.1+cu121
torchvision==0.19.1+cu121
transformers==4.42.0
git clone https://github.com/QiufenChen/CPPCGM.git
conda create --name <env> --file condalist.txt
We used three benchmark datasets to evaluate the performance of CPPClassifier, namely CPPSet1 (CPPSet1-train and CPPSet1-test), CPPSet2 (CPPSet2-train and CPPSet2-test), CPPSet3 (CPPSet3-train and CPPSet3-test). Their detailed information is shown in the table:
| Dataset | Positive Samples | Negative Samples | Train Set | Test Set |
|---|---|---|---|---|
| CPPSet1 | 1150 | 1150 | 1840 | 460 |
| CPPSet2 | 454 | 462 | 733 | 183 |
| CPPSet3 | 730 | 2758 | 1147 | 2341 |
| CPPSetAll | 1700 | - | - | - |
| CPPSet4 | 99 | - | - | - |
Training CPPGenerator model with CPPSetAll, which was positive samples integrated from CPPSet1, CPPSet2, and CPPSet3.
CPPSet1 is initially sourced CPPs from CPPsite 2.0, which provides two distinct datasets: Peptides having natural residues and Peptides having non-natural residues, collectively comprising 1855 entries. For this study, we specifically downloaded the \textit{Peptides having natural residues} dataset, containing 1564 CPPs as positive samples. To ensure data quality, duplicate entries and sequences containing non-standard characters (e.g., X, B, -, Z, O, and U) were systematically removed. After this processing step, 1150 CPPs remained for subsequent analysis. Randomly select a number of negative samples equal to the positive samples from UniProt, with sequence lengths less than 62.
CPPSet2 and CPPSet3 were downloaded from SiameseCPP.
Testing CPPGenerator model with CPPSet4. This dataset sourced from the CellPPD website, contains 99 experimentally validated CPPs sourced from the literature, which were excluded from the training set, as well as 99 randomly generated non-CPPs.
-
(1) Run CPPClassifier reference run_CPPClassifier
-
(2) Run CPPGenerator reference run_CPPGenerator
The models are saved Here.
If you encounter problems using CPPCGM, don't hesitate to get in touch with us (chenqf829@foxmail.com)!
README for running CPPCGM.
