Views
No views yet

git clone https://huggingface.co/esbglab/Claspp_forwardcd Claspp_forwardconda create -n claspp_forward python=3.9.23 conda deactivate conda activate claspp_forwardpip3 install numpy==2.0.2pip3 install transformers==4.53.2pip3 install datasets==4.0.0pip3 install torch torchvision torchaudio 
| PTM type | Residue trained on | Number of clusters allocated | output indexes | input label indexes (training) |
|---|---|---|---|---|
| ST_Phosphorylation | S,T | 5 | 0 or 1 | 0-4 |
| Y_Phosphorylation | Y | 1 | 3 | 25 |
| K_Ubiquitination | K | 20 | 2 | 5-24 |
| K_Acetylation | K | 10 | 4 | 26-35 |
| AM_Acetylation | A,M | 1 | 13 or 14 | 49 |
| N_N-linked-Glycosylation | N | 1 | 5 | 36 |
| ST_O-linked-Glycosylation | S,T | 5 | 6 or 7 | 37-41 |
| RK_Methylation | R,K | 4 | 8 or 9 | 42-45 |
| K_Sumoylation | K | 1 | 10 | 46 |
| K_Malonylation | K | 1 | 11 | 53 |
| M_Sulfoxidation | M | 1 | 12 | 48 |
| C_Glutathionylation | C | 1 | 15 | 50 |
| C_S-palmitoylation | C | 1 | 16 | 51 |
| PK_Hydroxylation | P,K | 1 | 17 or 18 | 52 |
| negitve | all res | N/A | 19 | 53 |

| Repo | Link | Discription |
|---|---|---|
| GitHub | github version Data_cur | This verstion contains code but but no data. It needs you to run the code to generate all the helper-files (will take some time run this code) |
| GitHub | github version Forward | This verstion contains code but NOT any weights (file too big for github) |
| Huggingface | huggingface version Forward | This verstion contains code and training weights |
| Zenodo | zenodo version training_data | zenodo version of training/testing/validation data |
Usage: python3 claspp_forward.py [OPTION]... --input INPUT [FASTA_FILE or TXT_FILE]...
predict PTM events on peptides or full sequences
Example 1: python3 claspp_forward.py -B 100 -S 0 -i random.txt
Example 2: python3 claspp_forward.py -B 50 -S 1 -i random.fasta
FASTA_FILE contain protein sequences in proper fasta or a2m format
TXT_FILE cointain protien peptides 21 in length with the center
residue being the PTM modification site
Pattern selection and interpretation:
-B, --batch_size (int) that describes how many predictions
can be predicted at a time on the GPU
(reduce if you get run out of GPU space)
-S --scrape_fasta (int) should be a 1 or a 0
1 = read a fasta and scrape posible 21 peptides
that can be modified by a PTM
0 = read a txt file that has the 21mer already
sperated and all peptides should be sperated by
a '\\n' (can be faster) than fasta option
-h --help your reading it right now
-i --input location of the input fasta or txt
-o --output location of the output csv