Scoring matrix-assisted ligand identification (SMALI) rewritten.
Project description
reSMALI
Scoring matrix-assisted ligand identification (SMALI) rewritten
A tool for predicting SH2 domain binding from peptide sequences with the format xx-Y-xxxx
The original SMALI was described in Huang H, Li L, Wu C, et al. Defining the specificity space of the human SRC homology 2 domain. Mol Cell Proteomics. 2008;7(4):768-784. doi:10.1074/mcp.M700312-MCP200 . However the tool is no longer hosted and is therefore no longer accessible. As the SMALI prediction tool was based on a experimental dataset, the loss of the tool represents the loss of a unique datapoint for making SH2 domain prediction.
The complete OPAL array dataset upon which the original SMALI tool used was not published. However normalised intensinty values making up 20% or more of the total intensity for a given position within the peptide sequence was published. reSMALI uses this data to generage its own 'reSMALI' scores which are an attempt to emulate the scores provided by the original tool.
Installing
pip install resmali
Predict SH2 domain binding
To predict SH2 domain binding with a com
predict_protein(protein_seq, sh2 = None, local_threshold='preset')
Where 'protein_seq' is your protein sequence. When 'sh2' is set to 'None', predictions will be made for all SH2 domains.
This function will return a list with the columns [positon, sequence, sh2motif, sh2_threshold, score ]
The local threshold is precalculated as the top 5% of scores for all valid phospho-tyrosines within the human proteome for that SH2 domain.
Note this function will only return SH2 domains where the reSMALI score is above the set local_threshold
To show the reSMALI scores for all valid phospo-tyrosine motifs and SH2 domains the 'local_threshold' can be set to '0' when using the predictProtein function.
###Example
import resmali
resmali.predict_protein("EEVVARyLNRNyWEkKQEEARyLN")
>>>[[6, 'ARYLNRN', 'GADS', 1.88, 2.0],
[6, 'ARYLNRN', 'GRAP', 1.33, 2.96],
[6, 'ARYLNRN', 'GRB2', 0.99, 1.73],
[6, 'ARYLNRN', 'GRB7', 0.85, 0.98],
[6, 'ARYLNRN', 'HSH2D', 0.73, 2.77],
[6, 'ARYLNRN', 'SH2D2A', 1.72, 2.87],
[6, 'ARYLNRN', 'SHE', 1.19, 1.2]]
Just give me predictions
condensed_list(protein_seq, sh2 = None, local_threshold='preset')
This function will return a list with only SH2 domain predictions in the format '[Position, SH2 domain]'
###Example
import resmali
resmali.condensed_list("EEVVARyLNRNyWEkKQEEARyLN")
>>>[[6, ['GADS', 'GRAP', 'GRB2', 'GRB7', 'HSH2D', 'SH2D2A', 'SHE']]]
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 resmali-0.1.0.tar.gz.
File metadata
- Download URL: resmali-0.1.0.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52838ba758bbd64219d53222a46b0b1cbc294bacab6d4f2a4654d63c18d4270d
|
|
| MD5 |
48b3a623e9b78be1872a914cafbd1939
|
|
| BLAKE2b-256 |
c5c4a3b5cb82fee1406baa9a73ca6acfeb73f41964d9dd21988b9dc8633a609f
|
File details
Details for the file resmali-0.1.0-py3-none-any.whl.
File metadata
- Download URL: resmali-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d0e27fe778ce476648890e316d84b7ed188b7b18ceef3d3e629caeedb15ebf6
|
|
| MD5 |
41d9ac340208fc4b43a26f1eee2c9c79
|
|
| BLAKE2b-256 |
f6a68b54b03b872e148fe4feb3b082d3f4b6b0a5763bfcbbce2159ff4fd63c52
|