Skip to main content

Prediction of Cell-Penetrating Peptides and Subcellular Localization

Project description

CPPLocPred

Prediction of Cell-Penetrating Peptides and their Subcellular Localization

PyPI version License: MIT Python 3.6+

CPPLocPred is a two-stage machine learning tool:

  • Stage 1 — CPP vs Non-CPP (ExtraTrees classifier, AAC features)
  • Stage 2 — Subcellular localization (CatBoost classifiers, DDR features): Cytoplasm · Nucleus · Mitochondria · Endo/Lysosome · Others

Web server: https://webs.iiitd.edu.in/raghava/cpplocpred/ GitHub: https://github.com/namanm04/CPPLocPred


Installation

pip install cpplocpred

All model .pkl files, motif databases, and MERCI_motif_locator.pl are bundled inside the package — no separate download needed.

Dependencies installed automatically: pandas, scikit-learn, catboost

Motif search requires Perl to be installed and on your PATH.


Usage

Job 1 — CPP Prediction

cpplocpred -i input.fasta -o results.csv -j 1
cpplocpred -i input.fasta -o results.csv -j 1 -t 0.5

Job 2 — Motif Search

cpplocpred -i input.fasta -o motifs.csv -j 2 -l Nucleus
cpplocpred -i input.fasta -o motifs.csv -j 2 -l Mitochondria -c Koolman

All arguments

Flag Description Default
-i Input FASTA file required
-o Output CSV file required
-j Job: 1=Prediction, 2=Motif Search 1
-t CPP probability threshold 0.44
-m Model directory bundled in package
-l Location: Cytoplasm, Nucleus, Mitochondria, Endo_lysosome, Others Cytoplasm
-c Motif class: None, Koolman, Betts-Russell, Rasmol None
--motif_dir Motif files directory bundled in package
--perl Path to perl executable perl

Output

Job 1 — results.csv

Column Description
ID Sequence identifier
Sequence Amino acid sequence
CPP_Probability Stage 1 probability (0–1)
CPP_Prediction CPP / Non-CPP / Invalid
Cytoplasm_Probability Stage 2 localization score
Nucleus_Probability
Mitochondria_Probability
Endo_lysosome_Probability
Others_Probability
Final_Localization Predicted location(s), ;-separated

Job 2 — motifs.csv + motifs_hits.csv

  • motifs.csv — one row per sequence (ID, Length, Total_Hits, Motif_Patterns, …)
  • motifs_hits.csv — one row per hit (ID, Start, End, Hit_Length, Motif_Pattern, Matched_Residues)

Input format

>seq1
RQIKIWFQNRRMKWKK
>seq2
GRKKRRQRRRPPQ

Only standard 20 amino acid single-letter codes accepted (ACDEFGHIKLMNPQRSTVWY).


Citation

Bajiya N., Mehta N.K., Raghava G.P.S. (2025) CPPLocPred: Machine learning-based prediction and subcellular localization of cell-penetrating peptides. IIIT Delhi. https://webs.iiitd.edu.in/raghava/cpplocpred/


License

MIT © 2025 Raghava Group, IIIT Delhi

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

cpplocpred-1.0.0.tar.gz (3.7 MB view details)

Uploaded Source

Built Distribution

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

cpplocpred-1.0.0-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file cpplocpred-1.0.0.tar.gz.

File metadata

  • Download URL: cpplocpred-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for cpplocpred-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3b85a1c469523bf9f5b2feaee8d0591b3a79262cd2533cf5d2a2e13d40eb8e34
MD5 389b3956619fcf990c30c25f5a42f837
BLAKE2b-256 1b4cc2a91fcae795c2173fb3e6f275230f449d32ca27aa91b704e01f9ff99e3a

See more details on using hashes here.

File details

Details for the file cpplocpred-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cpplocpred-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for cpplocpred-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ef3f5781411ab46932e6267d28f632c38226942961f94c167e282ce08f7cf7
MD5 ff87fe86cc56a8e10e09a1097581cefb
BLAKE2b-256 9c8e58688838ccf792cf85ca7bbbc62a8ab8c3c427048ef91396789ac89dfbdb

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