pyProtein
pyProtein does basic calculations on polypeptides/proteins/enzymes. Methods are contained in class protein. Is intended to be included into scripts for automated calculations.
Currently only calculations for compounds with amino acid residues (proteins/ enzymes/polypeptides) are supported (so no synthetic polymers). As an input, the protein composition as amino acid abundance or amino acid sequence must be given.
The package contains functions for charge calculations of proteins:
- The calculations are done with the Henderson-Hasselbalch equation, assuming that the individual amino acid residues do not show interactions which alter the pKa values to a relevant extent. As such, the calculations are done similar to e.g. the "ExPASy Compute pI/Mw tool" or the "Prot pi | Protein Tool".
- Calculates the charge states of proteins at a given pH value.
- Calculates the charge curve of proteins, i.e. the protein charge in a given pH value interval.
- Calculates the isoelectric point (IEP) of proteins.
- The charges can be given as total charge, separated into postive/negative charges, or as charges carried by the individual amino acids.
- Currently contains four different pKa data tables for IEP and charge calculations (Bjellqvist, IPC, IPC2, EMBOSS). It is relatively straight-forward to implement other pKa tables is necessary.
The package can calculate some other protein properties:
- Nitrogen content
- Molar mass
- Mean residue molar mass
- Elemental composition
The package can handle chemical protein modifications:
- Can take modifications into account for calculated protein properties, such as IEP, molar mass, or nitrogen content.
- Currently implemented modifications are methacryl modifications of amino/hydroxy groups and aminoethyl modifications of carboxylic acid groups.
- N- and C-terminal amino and carboxylic acid groups are also treated as modifications. I they should be taken into account for the calculations, they need to be included explicitly.
- Other modifications must be listed with their characteristics in the DataFrame chain_modifications (see amino_acid_properties.py). Implemenation is rather easy.
For imformation on how to use it:
- See docstrings.
- Or look at how the tests are done in the tests folder.
Requirements
Requirements are listed in the requirements.txt file.
Installation
Download repository and run:
pip install -e .
pyProtein is also part of PyPI, so install with:
pip install pyProtein
However, the newest version can always be found here.
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 pyprotein-0.0.4.tar.gz.
File metadata
- Download URL: pyprotein-0.0.4.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5b22b35fc08a36adf51f7424cf01b2c269a49fcb66030368a034a36e42da84d
|
|
| MD5 |
7263731acd0c11c5b3523ae933652473
|
|
| BLAKE2b-256 |
09db0fa8ee76e64ab0f5c75ba519ea1dc66225573f82143039304257151676ba
|
File details
Details for the file pyprotein-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pyprotein-0.0.4-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a0c5d970e08fabd6d1326408e5d75089c8500220f4a623de04613c066bb58a7
|
|
| MD5 |
078e35a2c260ce0934b81737776726ae
|
|
| BLAKE2b-256 |
99d114a70cc4d8a6092e732e8cbaa21f84438f21139c475b4206d98ac0163d6f
|