Skip to main content

🧬 PepKit

A Python Toolkit for Peptide Modeling, Analysis, and Benchmarking

PepKit Logo

PepKit is a modular, peptide-centric Python toolkit designed to support end-to-end computational peptide workflows, from sequence processing and descriptor calculation to structural modeling, confidence assessment, and docking-oriented analysis.

The package is built with reproducibility, scalability, and interoperability in mind, making it suitable for:

  • Peptide–protein interaction studies
  • Machine-learning–ready dataset construction
  • Structural bioinformatics and docking benchmarks
  • Large-scale peptide screening and analysis pipelines

✨ Key Features

1️⃣ Sequence I/O & Standardization

  • Convert between FASTA and SMILES formats (fasta_to_smiles, smiles_to_fasta).
  • Validate and standardize peptide sequences (canonical residues, charge models).
  • Batch processing for lists and pandas DataFrames.

2️⃣ Physicochemical Descriptors & Clustering

  • Compute peptide-level descriptors (molecular weight, charge, hydrophobicity, pI).
  • Generate descriptor tables for ML pipelines.
  • Cluster peptide libraries based on sequence or chemical similarity.

3️⃣ Structural Modeling & Confidence Metrics

  • Post-process AlphaFold / AlphaFold-Multimer outputs.
  • Compute confidence metrics:
    • pLDDT (global, peptide, interface)
    • PAE (interface-aware)
    • pTM / ipTM / composite pTM
    • pDockQ, pDockQ2, MPDockQ
  • Optional DockQ evaluation against experimental structures.

4️⃣ Peptide–Protein Dataset Construction

  • Automated querying of RCSB PDB for peptide–protein complexes.
  • Heuristic peptide-chain detection and interface extraction.
  • CSV + FASTA export for benchmarking and ML.

5️⃣ Docking & Benchmark Pipelines

  • Prepare inputs for docking and scoring workflows.
  • Integrate predicted and experimental metrics in unified tables.
  • Designed to interoperate with Rosetta, AlphaFold, and downstream scoring tools.

📦 Installation

Install from PyPI

pip install pepkit

Development installation

git clone https://github.com/Vivi-tran/PepKit.git
cd PepKit
pip install -e .

🚀 Quickstart

This section shows how to get started with PepKit in just a few lines of code, covering the most common peptide-centric tasks.


🔹 Sequence Conversion

Convert between peptide FASTA and SMILES representations:

from pepkit.conversion import fasta_to_smiles, smiles_to_fasta


# FASTA → SMILES
seq = "ACDEFGHIK"
smiles = fasta_to_smiles(seq)
print("SMILES:", smiles)

# SMILES → FASTA
back_seq = smiles_to_fasta(smiles)
print("FASTA:", back_seq)

📚 Documentation

Full documentation is available at:

👉 https://pepkit.readthedocs.io/en/latest/

License

This project is licensed under MIT License - see the License file for details.

Metadata

Release files for pepkit 0.0.5

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

Source distribution (sdist)

Source distribution for pepkit 0.0.5
File Size Uploaded Provenance Actions
pepkit-0.0.5.tar.gz 49.7 MB With provenance Details for pepkit-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 50.0 MB

Release files / pepkit-0.0.5.tar.gz

Download URL pepkit-0.0.5.tar.gz
Size 49.7 MB
Tags Source
SHA-256 checksum
How to use checksums
1e436d42bc857215c83267eb276f5f60283586f958980390d6e8b19f6d47eadc
BLAKE2b-256 checksum
How to use checksums
11697e65bdfe3c266d8f0182df9020bfcde2e2c72c0b8b0787d02b573417e465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 20, 2026.

Transparency log

Release files / pepkit-0.0.5-py3-none-any.whl

Download URL pepkit-0.0.5-py3-none-any.whl
Size 380.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19b1cdbf2b5baa9f5d37e9fd3e497f0827804babf1ac42185ca5ae7af852de59
BLAKE2b-256 checksum
How to use checksums
e53c26353ba287e6619a3499d862d69aac51d714532932e7e81e45db3eb583bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 20, 2026.

Transparency log

Security for pepkit 0.0.5

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 pepkit-0.0.5.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 Jan 20, 2026.

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