Skip to main content

Corgias

corgias-logo
This logo was generated with the aid from AI (DALL·E).

CORGIAS

CORrelated Genes Identifier by considering Ancestral State

DOI

CORGIAS is a phylogenetic profiling tool for a large-scale dataset comprising of thousands and tens of thousands of orthologs and genomes. As co- and anti-correlated orthologs are expexted to be functionally related, CORGIAS can help functional annotation of orthologs, especially those showing no sequence similarity to functionally known genes.

Platform Support

Feature Linux macOS
Core functionality ✓ ✓
Polars acceleration ✓ ✓
CuPy GPU acceleration ✓ (NVIDIA GPU required) ✗

Installation

# Download
git clone https://github.com/ynishimuraLv/corgias.git
cd corgias

# Create the virtual environment (Optional, but recommended)
python -m venv .venv
. .venv/bin/activate

# For System with GPU compatible CUDA 12.x
# This option is not available on macOS.
python -m pip install .[gpu]

# For System without a compatible GPU (CPU-only)
python -m pip install .

Usage at a glance

Detailed usage is discreibed here

Ancestral state reconstruction

# Reconstruct by a maximum-likelihood method
corgias asr -t samples/archaea_hq90.tre -d samples/archaea_COG_table99.csv -i 0  \
            --work_dir ML_result -c 4 --prediction_method ML --test 5

# Reconstruct by a maximum-parsimony method
corgias asr -t samples/archaea_hq90.tre -d samples/archaea_COG_table99.csv -i 0  \
            --work_dir MP_result -c 4 --prediction_method MP --test 5

Phylogenetic profiling

# naime method
corgias profiling -m naive -og samples/archaea_COG_table99.csv \
                  -o naive_test.csv -c 4 --test 5

# run lenth encoding (RLE)
corgias profiling -m rle -og samples/archaea_COG_table99.csv \
                  -t samples/archaea_hq90.tre -o rle_test.csv -c 4 --test 5

# clade-wise adjustment (CWA)
corgias profiling -m cwa -og samples/archaea_COG_table99.csv \
                  -t samples/archaea_hq90.tre -o cwa_test.csv -c 4  --test 5

# ancestral state adjustment (ASA)
corgias profiling -m asa -a ML_result -t samples/archaea_hq90.tre -o asa_test.csv -c 4 --test 5

# cotransitions (cotr)
corgias profiling -m cotr -og samples/archaea_COG_table99.csv -t samples/archaea_hq90.tre -o cotr_test.csv -c 4 --test 5

# simultaneous evolution test (SEV)
corgias profiling -m sev -a MP_result -t samples/archaea_hq90.tre -o sev_test.csv -c 4 --test 5

Statistical test

corgias stat -i naive_test.csv -m naive -o stat_naive.csv -c 4
corgias stat -i rle_test.csv -m rle -o stat_rle.csv -c 4
corgias stat -i cwa_test.csv -m cwa -o stat_cwa.csv -c 4
corgias stat -i asa_test.csv -m asa -o stat_asa.csv -c 4
corgias stat -i cotr_test.csv -m cotr -o stat_cotr.csv -c 4
corgias stat -i sev_test.csv -m sev -o stat_sev.csv -c 4

License

This project is licensed under the GPL3.0 License. See the LICENSE file for details.

Citation

If you use CORGIAS in your research, please the paper below:

Yuki Nishimura, Kimiho Omae, Kento Tominnaga, Wataru Iwasaki.
CORGIAS: identifying correlated gene pairs by considering evolutionary history in a large-scale prokaryotic genome dataset
NAR Genomics and Bioinformatics, 2025, https://doi.org/10.1093/nargab/lqaf182

The results in this paper can be reproduced by using the code here

Contact

Yuki Nishimura (The University of Tokyo) yuki-nishimura@g.ecc.u-tokyo.ac.jp

Metadata

Release files for corgias 0.1.0

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

Source distribution (sdist)

Source distribution for corgias 0.1.0
File Size Uploaded
corgias-0.1.0.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for corgias 0.1.0
File Interpreter ABI Platform
corgias-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / corgias-0.1.0.tar.gz

Download URL corgias-0.1.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f0f9f1dcc51815547c6d8077bfbd76815bcd903bdaf4685c3c81b7c41efcc236
BLAKE2b-256 checksum
How to use checksums
5f19d05c181f1709eb46a360c6c64499d093f14d1f253bfd14de21689d41596d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / corgias-0.1.0-py3-none-any.whl

Download URL corgias-0.1.0-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
419b210b45603435182fcdc00048e4b7f94b3bdaaa886b9cf1b866b8f83ea127
BLAKE2b-256 checksum
How to use checksums
89eec2499507b7c54b81fe33dc6cbf8076ccbd6775c3d22565f02927f286095e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

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