Skip to main content

DOI License PyPI Versions

ProCaliper

ProCaliper is an open-source Python library for functional and structural analysis, visualization, and annotation of proteomic data.

ProCaliper enables interfacing with annotation resources such as UniProt, PhosphoSitePlus, AlphaFold, or user-supplied experimental data for computing structural and electromchemical property information, construction and analysis of residue-residue distance networks, and functional site identification at the residue or protein level.

Installation

To install from PyPI:

pip install procaliper

extras

During installation, procaliper will also install openbabel-wheel. If you require specialized features of openbabel that are not available in this precompiled version, please run pip uninstall openbabel-wheel after procaliper is installed and provide your own version of the openbabel python library.

Optional feature dependencies can be installed as follows:

pip install procaliper[viz,pka]

The viz extra provides the ability to visualize protein structures in a graphical notebook environment.

The pka extra provides additional methods for computing disassociation constants (typically denoted $pK_a$). Note that installing this extra requires obtaining a DelPhi license. Furthermore, these additional methods require an older version of numpy (version 1.26.4) and python version between 3.9 and 3.11 to properly function. If the pka extra is not installed, procaliper will use propka for $pK_a$ calculation.

Basic Usage

A basic example is provided here. See the examples folder for further examples.

import procaliper as pc

# Read in or download protein structure
protein = pc.Protein.from_uniprot_id("A0A0B4J2F0") # create a protein object from UniProt metadata using a UniProt ID
# alternatively, you can read in a protein from a UniProt Table using `Protein.from_uniprot_row`

# Download & save protein structure from AlphaFold
protein.fetch_pdb(save_path="A0A0B4J2F0.pdb") 
# Alternatively, `protein.register_local_pdb(file)` can be used to specify a previously downloaded pdb file

# Compute structure features
sasa = protein.get_sasa() # compute site-level SASA values
charge = protein.get_charge() # compute site-level charges
titr = protein.get_titration() # compute site-level titration (pKa) data
# The results from the above calculations are autmatically stored in the `protein` object.

# Get a table of site-level data
site_data = protein.unravel_sites() # returns a dictionary of lists; readable, e.g., by `pandas`

Contributing

Contributions are welcome!

See Contributing for detailed instructions.

License

This code is released under BSD 2-Clause "Simplified" License. See our License for detailed information.

By default, procaliper does not have any dependencies that are not freely licensed. However, additional features can be installed that rely on restricted software. That is, please note that some optional dependencies are not FOSS. Specifically, the pka extra requires a DelPhi license. We encourage caution when using software that is not free and open source, especially for contributions to the scientific literature.

Acknowledgements

The software described here was funded under the Predictive Phenomics Initiative (PPI) at Pacific Northwest National Laboratory (PNNL) under the Laboratory Directed Research and Development Program. PNNL is a multiprogram national laboratory operated by Battelle for the DOE under Contract No. DE-AC05-76RL01830.

Citation Guidance

  1. Feng, S., Rozum, J. C., Ufford, H. S., Kim, D. N., & Im, A. K. (2025). ProCaliper. Zenodo. https://doi.org/10.5281/zenodo.15270417

Metadata

Release files for procaliper 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for procaliper 0.2.1
File Size Uploaded Provenance Actions
procaliper-0.2.1.tar.gz 10.6 MB With provenance Details for procaliper-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for procaliper 0.2.1
File Interpreter ABI Platform Actions
procaliper-0.2.1-py3-none-any.whl Python 3 none any Details for procaliper-0.2.1-py3-none-any.whl

Total release size: 10.7 MB

Release files / procaliper-0.2.1.tar.gz

Download URL procaliper-0.2.1.tar.gz
Size 10.6 MB
Tags Source
SHA-256 checksum
How to use checksums
29e811de640e7ff0e8014682072958f6be73b2b70bf8696543cf184e7f04976e
BLAKE2b-256 checksum
How to use checksums
d594c447b5bca5c2ba5199e5c227f45f6d0c73f1f691b2db13fcd83838a1771b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2025.

Transparency log

Release files / procaliper-0.2.1-py3-none-any.whl

Download URL procaliper-0.2.1-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b3d7ada986fdfbfd821c78b00bbc3bf649f848fe4beb4a8d692fd17e082c88f
BLAKE2b-256 checksum
How to use checksums
b552e91da44bf973bd3db957725663faf2f0216088c33e8bc967d231cc80a488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2025.

Transparency log

Security for procaliper 0.2.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for procaliper-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2025.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page