Skip to main content

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

Metadata

Release files for contra-il6 1.0.4

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

Source distribution (sdist)

Source distribution for contra-il6 1.0.4
File Size Uploaded
contra_il6-1.0.4.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for contra-il6 1.0.4
File Interpreter ABI Platform
contra_il6-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 28.8 kB

Release files / contra_il6-1.0.4.tar.gz

Download URL contra_il6-1.0.4.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7e322a2953d0d528db267a919a7324fa2d16565ef3cd8eb13290f62448f2f210
BLAKE2b-256 checksum
How to use checksums
c0126a67692bd69f2d3986a4b4d3d8da214356a95faa3e3412875918c76eaf06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / contra_il6-1.0.4-py3-none-any.whl

Download URL contra_il6-1.0.4-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0bfd78c1bf0019be2b70c2ad9ecf5eec3670696b80412de60f4f6352263d0a0e
BLAKE2b-256 checksum
How to use checksums
0bd74f61d465bd2fecbe0e473e6940f3215538fa4c5d81c35e933114b606d688
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

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