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

Uploaded Python 3

File details

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

File metadata

  • Download URL: contra_il6-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 7e322a2953d0d528db267a919a7324fa2d16565ef3cd8eb13290f62448f2f210
MD5 76275a0cde1c2d967e6f52a078cea3a3
BLAKE2b-256 c0126a67692bd69f2d3986a4b4d3d8da214356a95faa3e3412875918c76eaf06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: contra_il6-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0bfd78c1bf0019be2b70c2ad9ecf5eec3670696b80412de60f4f6352263d0a0e
MD5 39504de27664992191d71f4fa483e20b
BLAKE2b-256 0bd74f61d465bd2fecbe0e473e6940f3215538fa4c5d81c35e933114b606d688

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