Skip to main content

PepMEASURE: Methods for Extraction of Amino Acid Sequence Representations

PyPI CI Coverage badge Code style: black

PepMEASURE (Methods for Extraction of Amino Acid Sequence REpresentations) is available both as a Python package on PyPI and as a web server accessible through any modern web browser (https://pepmeasure.org). It enables comprehensive calculation of physicochemical properties for entire peptide datasets, either programmatically via Python or through an intuitive web interface. PepMEASURE provides detailed results for individual peptides, user-friendly visualizations, and supports comparative analyses across user-defined experimental or conditional groups. All computed features can be downloaded as tabular data for further analysis, and interactive visualizations can be exported as high-resolution static figures suitable for publication.

This work was conducted as part of the project 'Veni, Vidi, Visualization: Improving Analysis Communication for a Million-Dollar Machine' at the Data Analytics and Computational Statistics Chair, Hasso Plattner Institute.

📊 Web server 💻 Python library Miscellaneous
Guide
Implementation
Installation
Example
Third-party resources
License

📊 Web server

Guide

Visit https://pepmeasure.org to use PepMEASURE through an intuitive web interface.

Screenshot of PepMEASURE web server

Implementation

The web server's frontend was developed using Streamlit and the source code is available in a separate GitHub repository. All functionalities regarding the computation of features and visualisations are based on PepMEASURE.

💻 Python library

Installation

  1. Make sure you have a Python package manager installed (e.g., pip or uv)
  2. Install PepMEASURE
    pip install pepmeasure
  3. Import and use PepMEASURE in your project!

Example

  1. Initialize a calculator instance
    import pandas as pd
    from pepmeasure import Calculator
    calc = Calculator(
       dataset=pd.read_csv("path/to/dataset"),
       metadata=pd.read_csv("path/to/metadata"),
       seq="PEPTIDE",
    )
    
  2. Select desired features and visualisations with individual parameters
    calc.set_feature_params(
       gravy=True,
       molecular_weight=True,
    )
    calc.set_plot_params(
       hydropathy_profile=True,
       classification=True,
       classification_classify_by="charge",
    )
    
  3. Compute and show results
    print(calc.get_features())
    plots = calc.get_plots()
    for plot in plots:
       plot.show()
    

Optionally, custom colors can be used for the visualisations:

calc.set_colors(["#FF0000", "#00FF00", "#0000FF"])

Third-party resources

Type Name DOI Saved in
Code Isoelectric Point Calculator 2.0 10.1093/nar/gkab295 - /src/pepmeasure/external/ipc-2.0.1

License

This project is licensed under the MIT License.

Metadata

Release files for pepmeasure 0.4.0

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

Source distribution (sdist)

Source distribution for pepmeasure 0.4.0
File Size Uploaded
pepmeasure-0.4.0.tar.gz 28.1 kB Details

Built distribution (wheel)

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

Total release size: 52.5 kB

Release files / pepmeasure-0.4.0.tar.gz

Download URL pepmeasure-0.4.0.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2e51e263e3da848ef0a21900ec0fe568f5be9c940e69238fd307310bf2af957f
BLAKE2b-256 checksum
How to use checksums
7e63cbd148921e3a7b1dcb9779e8f9c7331aec876588fec119754a8eb749fe31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pepmeasure-0.4.0-py3-none-any.whl

Download URL pepmeasure-0.4.0-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1f6d31211a838715e6c841d74097a789c72f4ac884a6c7b3bfcda2baf9d97c2
BLAKE2b-256 checksum
How to use checksums
4d4d62e6229611a77bf63b0deeff46e4de5ef7db9b836ba19b51affff4ccd3c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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