ANTIOXIPRED
A method for predicting antioxidant potential in peptides
Introduction
AntioxiPred is a computational framework designed to predict the antioxidant potential of peptide sequences with high accuracy using machine learning approaches. The method integrates a similarity-based search using the Basic Local Alignment Search Tool (BLAST) with a CatBoost(Categorical Boosting) classifier. The predictive model is trained using composition-based features, including Pseudo Amino Acid Composition (PAAC) and one-hot encoded sequence profiles, enabling the capture of both global compositional characteristics and positional sequence information.
Requirements
scikit-learn=1.6.1
Pandas
Numpy
Joblib
You can set up the environment using either requirements.txt (for pip users) or environment.yml (for Conda users).
Using requirements.txt
pip install -r requirements.txt
Using environment.yml
conda env create -f env.yml
No additional package/tool is required for model = 1 (default model)
For the hybrid prediction mode (Model 2) in AntioxiPred requires the NCBI BLAST+ software.
BLAST executables are platform-specific. Therefore, users must download the appropriate version of NCBI BLAST+ from the official NCBI website:
https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/
Minimum USAGE
To know about the available option for the standlone, type the following command:
antioxipred -h
To run the example, type the following command:
antioxipred -f AOPP.test.2023.fasta -o output
Here, -f argument is to enter the input file in Fasta format and -o argument is for giving the path to the output directory. By default, the package uses model (-m) = 1 which employs only ML algorithm (Categorical Boosting) to classify the peptide sequences, which generates a prediction file "classification_ml_(datetime).csv" in the specified output directory. If model (-m) = 2 is selected, then the hybrid model is employed (ML + BLAST) to classify the peptide sequences, which generates a prediction file "classification_hybrid(datetime).csv" in the specified output directory.
Full Usage
usage: antioxipred [-h] --file FILE --output OUTPUT [--model MODEL] [--threshold THRESHOLD]
Please provide following arguments for successful run
required arguments:
--file FILE, -f FILE Path to fasta file
--output OUTPUT, -o OUTPUT Path to output
optional arguments:
--model MODEL, -m MODEL Model selection: 1 for ML only, 2 for ML + BLAST (By default model = 1)
--threshold THRESHOLD, -t THRESHOLD Threshold for classification (can be any value between 0-1 for model = 1 (by default = 0.5) and 0-2 for model = 2 (by default = 0.52))
For help:
-h, --help show this help message and exit
Standalone Minimum Usage
Run the program using:
python3 antioxipred.py -f AOPP.test.2023.fasta -o result
Arguments Description
Input File (-f)
Allows users to provide input peptide sequences in FASTA format.
Output File (-o)
The program saves the prediction results in the specified output folder.
Model (-m)
Users can choose which model to run:
- model = 1 → Runs only the Machine Learning model (CatBoost classifier)
- model = 2 → Runs the Hybrid model (Machine Learning + BLAST)
Default: model = 1
Threshold (-t)
Users can provide a threshold for classification.
- For model = 1 → threshold range:
0 – 1(default =0.50) - For model = 2 → threshold range:
0 – 2(default =0.50)
ANTIOXIPRED Package Files
The package contains the following files:
| File | Description |
|---|---|
INSTALLATION |
Installation instructions |
README.md |
Documentation and usage instructions |
catboost_model_server.pkl |
Pickled CatBoost prediction model |
antioxipred.py |
Main Python script used to run the prediction |
pfeature_comp.py |
Python script used to extract the feature PAAC |
AOPP.test.2023.fasta |
Example FASTA file containing peptide sequences |
blast_db/ |
Database used for BLAST similarity search |
Metadata
Release files for antioxipred 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| antioxipred-1.1.tar.gz | 8.4 kB | Without provenance | Details for antioxipred-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| antioxipred-1.1-py3-none-any.whl | Python 3 | none | any | Details for antioxipred-1.1-py3-none-any.whl |
Total release size: 16.5 kB
Release files / antioxipred-1.1.tar.gz
| Download URL | antioxipred-1.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7194ed639fe4e8183bbd170d957518f0386fc233f00bbdeafa793f6fc0571a54
|
|
BLAKE2b-256 checksum How to use checksums |
2ec8cd6b482cfc3711113f6c152653f9cfe2bacb0e9975c275320e92a6885a59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / antioxipred-1.1-py3-none-any.whl
| Download URL | antioxipred-1.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1c584b629c4e1ed8dd3a80007e3e202eff17fec389d8a615b77e2d32266d3bd
|
|
BLAKE2b-256 checksum How to use checksums |
ddfe2feafdcfc30498fb64e173a1c5a1315ecbee9440185f4935dea335831d53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for antioxipred 1.1
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.