A package to calculate peptide features.
Project description
PEPSI: PEPtide Sequence Information
[!NOTE] This repository is still a work in progress.
PEPSI is an open-source Python package 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, PEPSI 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 package | 📊 Web-based dashboard | Miscellaneous |
|---|---|---|
| Installation Usage |
Installation Usage |
Third-party resources License |
💻 Python package
Installation
[!CAUTION] The release of the package on PyPI is still pending. See related issue for any updates.
- Make sure you have pip installed
- Update pip in your console
python -m pip install --upgrade pip - Install PEPSI
pip install pepsi - Import and use PEPSI in your project!
Usage
- Initialize a calculator instance
import pandas as pd from pepsi import Calculator calc = Calculator( dataset=pd.read_csv("data/peptides.csv"), metadata=pd.read_csv("data/metadata.csv"), seq="SVIDQSRVLNLGPITR", ) - 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", ) - Compute and show results
print(calc.get_features()) plots = calc.get_plots() for plot in plots: plot.show()
📊 Web-based dashboard
Installation
- Make sure you have a virtual environment manager installed, e.g., Conda (recommended), or any other manager such as venv or Poetry.
- Clone this repository and enter the frontend folder
git clone https://github.com/ronjakrg/thesis-pepsi-package.git cd thesis-pepsi-package/frontend - Create a virtual environment and install all necessary requirements
conda create pepsi conda activate pepsi pip install -r requirements.txt - Start the server
python manage.py runserver - Open
http://127.0.0.1:8000/in the browser of your choice to use the PEPSI Dashboard!
Usage
- Select a dataset and a metadata file (must be uploaded to the
/datafolder) and a peptide sequence of interest. - Select desired features and plots with related parameters
- Click on 'Calculate' and inspect results
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/pepsi/external/ipc-2.0.1 |
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
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 pepsipy-0.1.0.tar.gz.
File metadata
- Download URL: pepsipy-0.1.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf3648074e832d1cde877e29b7ec20047908072175aedad4d3c3ea4aeb02c14c
|
|
| MD5 |
c7e2b44dc4eb71ab668a95a886732f38
|
|
| BLAKE2b-256 |
e520fde19aa0e5e24de847dc5cb052b1a9279087e0eb6bb3abcfa280750e7d34
|
File details
Details for the file pepsipy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pepsipy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11952a834ebf5c58764c2f1f5d543a34c87c1a494dffff925860fb87e34fc0a
|
|
| MD5 |
a6889b634537fef1e11def7ad34dade6
|
|
| BLAKE2b-256 |
03c4ee83ea318804631c5c1e771fbfa832f6d37e8467f722cd5b92a80b396c96
|