Skip to main content

Peptide half-life prediction and rational design toolkit

Project description

======================================================= PlifePred2: Peptide Half-Life Prediction & Design Suite

PlifePred2 is a comprehensive toolkit for peptide half-life prediction and rational design using integrated machine learning, sequence-derived descriptors, and physicochemical analysis.

It supports:

• Standalone half-life prediction
• Exhaustive single mutation scanning (design mode)

The toolkit is optimized for Linux and macOS environments and supports reproducible conda-based installation.

.. image:: https://img.shields.io/badge/python-3.10%2B-blue.svg :target: https://www.python.org/

.. image:: https://img.shields.io/badge/license-GPLv3-green.svg :target: https://www.gnu.org/licenses/gpl-3.0

Overview

PlifePred2 predicts peptide half-life using two complementary models:

  • Model 1 — Natural peptides
  • Model 2 — Modified peptides (modification flags)

It provides two workflows:

  1. Prediction Mode — Estimate half-life of input peptides
  2. Design Mode — Generate all single mutants and rank them by predicted stability

Core Functionalities

  • Peptide half-life prediction
  • Physicochemical property calculation (pI, MW, charge, etc.)
  • Exhaustive single mutation scanning
  • Automatic sequence filtering and validation

Installation

Option 1 — Conda Environment (Recommended)

.. code-block:: bash

conda env create -f environment.yml git clone https://github.com/raghavagps/plifepred2.git cd plifepred2 wget https://github.com/patrik-ackerman/plifepred2/releases/download/v.0.1/pfeature_comp chmod +x pfeature_comp

Option 2 — Conda environment from scratch:

.. code-block:: bash

conda create -n plifepred2 python=3.10 conda activate plifepred2 conda install pandas numpy scikit-learn==1.4.2 joblib

Clone repository:

.. code-block:: bash

git clone https://github.com/raghavagps/plifepred2.git cd plifepred2 wget https://github.com/patrik-ackerman/plifepred2/releases/download/v.0.1/pfeature_comp chmod +x pfeature_comp

Usage Overview

PlifePred2 provides two main scripts:

  • plifepred2.py — Prediction mode
  • design.py — Mutation design mode

Prediction Module

General usage:

.. code-block:: bash

python plifepred2.py -i input.fasta -m -o output.csv

Arguments

+------------+--------------------------------------------+ | Argument | Description | +============+============================================+ | -i | Input multi-FASTA file | +------------+--------------------------------------------+ | -m | Model type (1 or 2) | +------------+--------------------------------------------+ | -o | Output CSV file | +------------+--------------------------------------------+ | -f | Modification flags (Model 2 only) | +------------+--------------------------------------------+ | -p | Physicochemical properties (optional) | +------------+--------------------------------------------+

Model 1 — Natural Peptides

.. code-block:: bash

python plifepred2.py -i input.fasta -m 1 -o output.csv

Model 2 — Modified Peptides

Modification flags:

+------+------------------------------+ | Flag | Description | +======+==============================+ | 0 | D-amino acid | +------+------------------------------+ | 1 | C-terminal modification | +------+------------------------------+ | 2 | N-terminal modification | +------+------------------------------+ | 3 | Cyclization | +------+------------------------------+ | 4 | Post-translational mod | +------+------------------------------+

Example:

.. code-block:: bash

python plifepred2.py -i input.fasta -m 2 -f 1,3 -o output.csv

Optional Physicochemical Properties

Use -p to compute properties.

Available properties:

+------+----------------------+ | Code | Property | +======+======================+ | 1 | Hydrophobicity | +------+----------------------+ | 2 | Steric hindrance | +------+----------------------+ | 3 | Hydropathicity | +------+----------------------+ | 4 | Amphipathicity | +------+----------------------+ | 5 | Hydrophilicity | +------+----------------------+ | 6 | Net hydrogen | +------+----------------------+ | 7 | Net charge | +------+----------------------+ | 8 | Isoelectric point | +------+----------------------+ | 9 | Molecular weight | +------+----------------------+

Examples:

.. code-block:: bash

python plifepred2.py -i input.fasta -m 2 -f 1 -p 8,9 -o output.csv python plifepred2.py -i input.fasta -m 1 -p 8,9 -o output.csv

Output Format

+-----------+--------------------------------------+ | Column | Description | +===========+======================================+ | ID | Sequence identifier | +-----------+--------------------------------------+ | Sequence | Peptide sequence | +-----------+--------------------------------------+ | Halflife | Predicted probability | +-----------+--------------------------------------+ | [Props] | Optional selected properties | +-----------+--------------------------------------+

Design Module

The design module performs exhaustive single mutation scanning.

General usage:

.. code-block:: bash

python plifepred2_design.py -i input.fasta -o design_output.tsv

For modified peptides:

.. code-block:: bash

python plifepred2_design.py -i input.fasta -f 1 -o design_output.tsv

Design Output Format

+------------+----------------+-----------+-------+ | Seq_ID | Mutant_ID | Sequence | Score | +============+================+===========+=======+ | Example | A5V | ACDVFG... | 0.87 | +------------+----------------+-----------+-------+

Mutants are sorted from highest to lowest predicted stability.

Sequence Validation

• Only standard amino acids allowed
• Length restriction: 12–100 residues
• Invalid sequences logged separately

Machine Learning Model

Algorithm: Random Forest Regressor

Training version: scikit-learn 1.4.2

If you encounter version mismatch warnings:

.. code-block:: bash

pip install scikit-learn==1.4.2

Citation

If you use PlifePred2, please cite the corresponding publication.

Support

GitHub: https://github.com/raghavagps/plifepred2

Email: raghava@iiitd.ac.in

License

GPLv3 License

This software is distributed under the GNU General Public License v3.0.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

plifepred2-1.0.tar.gz (48.9 MB view details)

Uploaded Source

Built Distribution

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

plifepred2-1.0-py3-none-any.whl (49.0 MB view details)

Uploaded Python 3

File details

Details for the file plifepred2-1.0.tar.gz.

File metadata

  • Download URL: plifepred2-1.0.tar.gz
  • Upload date:
  • Size: 48.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for plifepred2-1.0.tar.gz
Algorithm Hash digest
SHA256 b7055f067844cdfd50e82696f440e193680cc87d9d1e651f590534162a5fe4f8
MD5 e4520dd8c87afe57081b9442a94acc31
BLAKE2b-256 f451a565e306798c9edbedfd32306b5ee105488b2e17e01d06a68ace7270b163

See more details on using hashes here.

File details

Details for the file plifepred2-1.0-py3-none-any.whl.

File metadata

  • Download URL: plifepred2-1.0-py3-none-any.whl
  • Upload date:
  • Size: 49.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for plifepred2-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0eb32928b7970d5a113d8826ef9e451c94f0156e0b628dddb0da7103ac2c32e
MD5 689fdf0c8f8f0f575d5ee39c72369a33
BLAKE2b-256 545ae943d3ea51193735d9b074afadc80a29c4bbbc50008a5dd0f10b77ff4ba4

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