Skip to main content

A library to calculate peptide features.

Project description

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 an open-source Python library that provides methods for computing a wide range of peptide features, including sequence composition, charge, hydrophobicity, and other physicochemical properties. All features can be calculated on an entire dataset or on a single peptide sequence of interest. Additionally, PepMEASURE offers a selection of visualisations, such as hydropathy profile or amino acid classification.
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.

💻 Python library 📊 Web application Miscellaneous
Installation
Usage
Installation
Usage
Third-party resources
License

💻 Python library

Installation

  1. Make sure you have pip installed
  2. Install PepMEASURE
    pip install pepmeasure
  3. Import and use PepMEASURE in your project!

Usage

  1. Initialize a calculator instance
    import pandas as pd
    from pepmeasure import Calculator
    calc = Calculator(
       dataset=pd.read_csv("data/peptides.csv"),
       metadata=pd.read_csv("data/metadata.csv"),
       seq="SVIDQSRVLNLGPITR",
    )
    
  2. Select desired features and plots with related 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()
    

📊 Web application

https://pepmeasure.org [...]



Third-party resources

Type Name DOI Saved in
Dataset Urinary peptidomics in youths with and without type 1 diabetes 10.1074/mcp.RA119.001858 - /data/peptides.csv
- /data/metadata.csv
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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pepmeasure-0.2.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pepmeasure-0.2.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file pepmeasure-0.2.0.tar.gz.

File metadata

  • Download URL: pepmeasure-0.2.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pepmeasure-0.2.0.tar.gz
Algorithm Hash digest
SHA256 776fac859b3e2f68cbc1dfa69004da1f4d6b12446b9e3236722a70b692dd8ab8
MD5 cb9277cfd078691ea08dd40bf8f777b5
BLAKE2b-256 3d967c5b57f2dd99aee057e84886a03db26e7a947c992dceb090f77e1e863f6b

See more details on using hashes here.

File details

Details for the file pepmeasure-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pepmeasure-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pepmeasure-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f31c60d3006fbc0d58f89088a0d9a777328e7e8f1002cd7f5d79880769bf5957
MD5 755e6a137ddfa4211429a7d8e8d5346d
BLAKE2b-256 9e5c0e20bb0c1b01a1d4293366b9ab37b4e14e313e6da77d9aeae40e00fafb5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page