Skip to main content
https://raw.githubusercontent.com/rbturnbull/corgi/main/docs/images/corgi-banner.jpg

PyPI - Version testing badge coverage badge docs badge black badge git3moji badge torchapp badge

Installation

The software can be installed using pip

pip install bio-corgi

Corgi requires Python 3.11 to 3.14. It can also be installed as a command line tool with uv:

uv tool install bio-corgi

To install the latest version from the repository, you can use this command:

pip install git+https://github.com/rbturnbull/corgi.git

To save static images of SeqTree plots (seqtree sunburst), install the optional images extra:

pip install "bio-corgi[images]"

Usage

To make predictions, run the corgi command line tool:

corgi --input <input seq file> --output-csv <output csv file>

The input can be a FASTA file, a GenBank file, or a FASTQ file. This can be GZipped or uncompressed. It can also be a URL.

This will output all the predictions in a CSV file.

For more information about the other options, see the help with:

corgi --help

For help on training a model with corgi, run:

corgi-tools --help

This also lists the tools for building the training data, such as refseq-to-seqtree. See the preprocessing tutorial in the documentation for details.

Credits

With contributions from:

  • Yuhao Tong

  • Kamalpreet Singh

  • Rafsan Al Mamun

  • Diego Aranda Villarreal

Citation details to come.

Metadata

Release files for bio-corgi 0.5.8

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

Source distribution (sdist)

Source distribution for bio-corgi 0.5.8
File Size Uploaded Provenance Actions
bio_corgi-0.5.8.tar.gz 32.3 kB Without provenance Details for bio_corgi-0.5.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bio-corgi 0.5.8
File Interpreter ABI Platform Actions
bio_corgi-0.5.8-py3-none-any.whl Python 3 none any Details for bio_corgi-0.5.8-py3-none-any.whl

Total release size: 67.3 kB

Release files / bio_corgi-0.5.8.tar.gz

Download URL bio_corgi-0.5.8.tar.gz
Size 32.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2c8c4ae560b688eeb22efe62e46c47dcf9b049824b0c28b62dda0434494aeda4
BLAKE2b-256 checksum
How to use checksums
e0eedd2c6625726d44d6ef85fe44cd4445a094deb2a2a4ec0cda24d840572e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.1 Darwin/25.6.0

Release files / bio_corgi-0.5.8-py3-none-any.whl

Download URL bio_corgi-0.5.8-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12dcccd377568a3ae7682fac0c9b98fdb443f215a69ca1bdc7446f9e317ad512
BLAKE2b-256 checksum
How to use checksums
4f1ece380123c3b2d2fad67ab3f616075c85b6a0dd77843f5e0865eefd828a9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.13.1 Darwin/25.6.0

Security for bio-corgi 0.5.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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