Skip to main content

A tool for predicting IL-6-inducing peptides

Project description

🎮 CONTRA-IL6 🎮

📝 Paper | 🚩 Model & Dataset

The official implementation of paper: CONTRA-IL6

Abstract

Update soon!

News

Update soon!

TOC

This project is summarized to:

  • Package installation
    • Pip
    • How to use
  • Training
    • Installing environment
    • Preparing datasets
    • Training models
  • Citation

Package installation

Pip

Require: Python 3.8

pip install contra-il6

or

pip install -U 'contra-il6 @ git+https://github.com/duongttr/CONTRA-IL6.git'

How to use

contra-il6 [OPTIONS]

Options:
  -i, --input PATH          Path to a FASTA file containing peptide sequences.
  -t, --threshold FLOAT     Threshold for classification (default: 0.46).
  -b, --batch_size INTEGER  Batch size for processing (default: 4).
  -o, --output PATH         Output file to save predictions.
  --help                    Show this message and exit.

Example:

contra_il6 -i data/Validate_positive.txt -o data/Validate_positive_result.csv

Training

Installing environment

Create environment by using conda:

conda create -n contra_il6 python=3.10
conda activate contra_il6

Clone the repo, then install the required packages:

cd CONTRA-IL6/
python -m pip install -r requirements.txt

Preparing datasets

You can check the raw dataset inside data folder. Or you can download 12 extracted features mentioned in paper at this 🔗 link and extract to data folder.

Training models

To reconstruct the checkpoints, you can run following commands:

python train.py --config_path configs/top_4_features.yaml --save_config

Citation

Update soon!

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

contra_il6-1.0.2.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

contra_il6-1.0.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file contra_il6-1.0.2.tar.gz.

File metadata

  • Download URL: contra_il6-1.0.2.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for contra_il6-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b7f00246ae55a2b9312af75ad9087bcee5e022e2973cc3a89638b90a76467ed5
MD5 4aeed2d145013185aff859b5e134989d
BLAKE2b-256 f4c59df84631c4fd81360e5d7624b0fbe3f21f9b6b11d4ee30b903527400340d

See more details on using hashes here.

File details

Details for the file contra_il6-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: contra_il6-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for contra_il6-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef61b3978a466e2580ed28fc9941a15ff24d33a366d56ee05e8d4c5cad29e954
MD5 aa95e90c648a5081b7770e1788360a49
BLAKE2b-256 2f5ab141525b0f62bb909cd5618f9b263336b183d437ea2a69365b3c30d2ab6c

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