Tool for predicting a PTS1 (peroxisomal targeting sequence 1) in a amino acid sequence.
Project description
pts1-prediction-tool
This project offers a classification-algorithm for predicting the peroxisomal targeting signal 1 (PTS1) in a given amino acid sequence (primary structure of a protein).
Actual version: 1.0.2
Installation
pip install pts1-prediction-tool
PyPi: https://pypi.org/project/pts1-prediction-tool/
Userguide:
Simple example for using the pts1-prediction-tool in your application.
from pts1_prediction_tool.pts1_prediction import PTS1_Predictor
#Instantiates the svm and creates the prediction model
predictor = PTS1_Predictor()
aminoacid_sequence = "MMMMMKLSKMLLLSLSKLSKLSKLSKL"
# Checks a amino acid sequence for an existing PTS1
result = predictor.check_for_pts1(aminoacid_sequence)
print(result.isPeroxisomal)
Run tests with:
pipenv shell
python -m unittest tests/pts1_prediction_tests.py
Algorithm:
The used classification-algorithm is a support vector machine (svm, sklearn.svm.SVC) from https://scikit-learn.org/.
This machine learning algorithm was trained to predict the PTS1 in a amino acid sequence (aa_sequence) with a dataset of
514 PTS1/peroxisomal and 11.337 not peroxisomal aa_sequences.
The peroxisomal dataset was generated out of 2324 peroxisomal aa_sequences, which were filtered for the c-terminal-pts1-tripeptide
(S, A, C, P, H, T, N, Q, E, G, V) / (K, R, H, Q, D, N, S, M) / (L, F, I, M, Y)*
For the training of the svm, the last 14 C-terminal amino acids of the sequence are used.
The optimal parameters for the svm and the used c-terminal length were determined
by 5-fold-cross validation. For this the perxosiomal and not peroxisomal trainingsets were merged and
separated into 80 % training-sets and 20 % validation-sets
The final svm has the following statistical average quantities:
- Specifity = 1.0
- Sensitivity = 0.86
- Precision = 0.98
Learning data for the svm
The aa_sequences for the learning-sets are downloaded from UniProt (https://www.uniprot.org/), 23.07.2020.
An example application will be published on my website, https://olis-lab.de/
@Copyright 2021, Oliver Koch
Sources:
- Scikit-learn: Machine Learning in Python, Pedregosa et al., JMLR 12, pp. 2825-2830, 2011.
- https://scikit-learn.org/, 11.04.2021
- https://www.uniprot.org/), 23.07.2020
- https://biopython.org/, 11.04.2021
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pts1_prediction_tool-1.0.2.tar.gz.
File metadata
- Download URL: pts1_prediction_tool-1.0.2.tar.gz
- Upload date:
- Size: 4.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c82f656fd421edbda42471d80cfd18a13970a49b3a0e8a908838d0bf7ade2751
|
|
| MD5 |
730a524761c3e6fbb4dc060676f2a3f6
|
|
| BLAKE2b-256 |
205207ac5d00c8eade68fdde4bd992e26a95a060f4253207db838cad14dc16fa
|
File details
Details for the file pts1_prediction_tool-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pts1_prediction_tool-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
820e4130e3a9d685f6c442334c9ce358b68e7fc4062f058294b45361421b419c
|
|
| MD5 |
15ee50e6af46254bedfddadf3944f6eb
|
|
| BLAKE2b-256 |
9c5129d7f29a0a2cef3d3ff7669f16302a70dd4282cd0f2782c01c79f5ec297f
|