ProDEC
A package to easily calculate descriptors of protein sequences and their common transforms (domain averages, auto-cross covariances, physicochemical distance transformations, and the fast Fourier transform).
Table of contents
📦 Installation
pip install prodec
Quickstart
from prodec import ProteinDescriptors, Transform, TransformType
sequence = 'MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDATYGKLTLKFICTTGKLPVPWPTLVTTL'
# Load the catalog of available descriptors and pick one
pdescs = ProteinDescriptors()
zscales = pdescs.get_descriptor('Zscale Hellberg')
# Get raw per-residue descriptor values
raw_values = zscales.get(sequence)
# Apply a transform, e.g. domain averages over 5 domains
avg_zscale = Transform(TransformType.AVG, zscales)
avg_values = avg_zscale.get(sequence, domains=5)
Documentation
docs/usage.md— full walkthrough, gap handling, non-standard amino acids, transform compatibility, and how to add new descriptors.docs/api.md— reference forProteinDescriptors,Descriptor,Transform, andTransformType.
📖 Citation
If you use ProDEC in your work, please cite this repository:
Béquignon, O. J. M. ProDEC: a package to calculate protein sequence descriptors and their common transforms. https://github.com/OlivierBeq/ProDEC
The bundled descriptors and transforms themselves originate from the literature (e.g. Zscales
by Hellberg et al., and the Raychaudhury descriptor) — see Descriptor.summary for the
citation of a specific descriptor, and refer to the corresponding original publication when
using it in your own research.
Contributing
Contributions are welcome — see CONTRIBUTING.md for how to set up a
development environment and run the test/lint/type-check suite locally.
License
ProDEC is distributed under the MIT License.
Metadata
Release files for prodec 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prodec-1.1.0.tar.gz | 54.4 kB | Without provenance | Details for prodec-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prodec-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for prodec-1.1.0-py3-none-any.whl |
Total release size: 107.0 kB
Release files / prodec-1.1.0.tar.gz
| Download URL | prodec-1.1.0.tar.gz |
|---|---|
| Size | 54.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05dd8094d6942218190bce2e68e006a0e59ab76643a8efd6e4a9aac49edb2113
|
|
BLAKE2b-256 checksum How to use checksums |
3f7eb546b070f40abe84d8c6c011b7b5499be334feefa10fbb826daf5e508623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / prodec-1.1.0-py3-none-any.whl
| Download URL | prodec-1.1.0-py3-none-any.whl |
|---|---|
| Size | 52.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cf7bf520ab5c79c5c9eea2914183a5eec3b601b2e1c683b69b0db85429c3071
|
|
BLAKE2b-256 checksum How to use checksums |
2336cb0db8317176de1fec5c66a0399eb82f5c56d582443c696e7f8509e68bff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for prodec 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.