Skip to main content

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
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

Metadata

Release files for cpplocpred 1.0.0

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

Source distribution (sdist)

Source distribution for cpplocpred 1.0.0
File Size Uploaded Provenance Actions
cpplocpred-1.0.0.tar.gz 3.7 MB Without provenance Details for cpplocpred-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.5 MB

Release files / cpplocpred-1.0.0.tar.gz

Download URL cpplocpred-1.0.0.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3b85a1c469523bf9f5b2feaee8d0591b3a79262cd2533cf5d2a2e13d40eb8e34
BLAKE2b-256 checksum
How to use checksums
1b4cc2a91fcae795c2173fb3e6f275230f449d32ca27aa91b704e01f9ff99e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / cpplocpred-1.0.0-py3-none-any.whl

Download URL cpplocpred-1.0.0-py3-none-any.whl
Size 3.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e0ef3f5781411ab46932e6267d28f632c38226942961f94c167e282ce08f7cf7
BLAKE2b-256 checksum
How to use checksums
9c8e58688838ccf792cf85ca7bbbc62a8ab8c3c427048ef91396789ac89dfbdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for cpplocpred 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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