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.1.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.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contra_il6-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7a405087572d5634394c3f5899511bc51f155bacde36a81f7687bd1c50204a2d
MD5 01d81e91f805a3f21414f2052bb47e93
BLAKE2b-256 f34e8995635d27a42d969a45d9eff09c8336bf27b88ef8043b2ba49af55a0b9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contra_il6-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b14dbe98c2fd6c0b3f175e6ccd545f833f52569f6484f7f2b5367bb03245691
MD5 6b6bdf0231447ba94e3814e44dec7718
BLAKE2b-256 ca218e4c8a985b33e6e4db8fa3f2c0a086c04d6e94b26e35bcc676ca7e1f661d

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