Skip to main content
                  .
               ,'/ \`.
              |\/___\/|
              \'\   /`/          ██╗ █████╗ ███████╗ ██████╗ ███████╗██████╗
               `.\ /,'           ██║██╔══██╗██╔════╝██╔════╝ ██╔════╝██╔══██╗
                  |              ██║███████║█████╗  ██║  ███╗█████╗  ██████╔╝
                  |         ██   ██║██╔══██║██╔══╝  ██║   ██║██╔══╝  ██╔══██╗
                 |=|        ╚█████╔╝██║  ██║███████╗╚██████╔╝███████╗██║  ██║
            /\  ,|=|.  /\    ╚════╝ ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚══════╝╚═╝  ╚═╝
        ,'`.  \/ |=| \/  ,'`.```

Jaeger: an accurate and fast deep-learning tool to detect bacteriophage sequences

GitHub GitHub last commit (branch) Conda Conda PyPI version Downloads

Jaeger is a tool that utilizes homology-free machine learning to identify phage genome sequences that are hidden within metagenomes. It is capable of detecting both phages and prophages within metagenomic assemblies.

📚 For detailed installation instructions, usage guides, and troubleshooting, please visit the documentation.


Citing Jaeger


If you use Jaeger in your work, please consider citing its preprint:

To cite the code itself:



Installing Jaeger


option 1 : One-liner install script (recommended)

The easiest way to install Jaeger. This script auto-detects your platform (GPU, CPU, or Apple Silicon) and sets up the environment for you.

curl -sSL https://raw.githubusercontent.com/MGXlab/Jaeger/main/install.sh | bash
option 2 : bioconda

The performance of the Jaeger workflow can be significantly increased by utilizing GPUs. To enable GPU support, the CUDA Toolkit and cuDNN library must be accessible to conda.

# create conda environment and install jaeger
mamba create -n jaeger -c bioconda jaeger-bio==1.26

# activate environment
conda activate jaeger

Test the installation with test data

jaeger health
option 3 : Installing from PyPI (recommended)
# create a conda environment and activate
mamba create -n jaeger -c nvidia -c conda-forge cuda-nvcc "python>=3.11,<3.14" pip
conda activate jaeger

# OR create a virtual environment using venv
python3 -m venv jaeger
source jaeger/bin/activate

# to install jaeger with GPU support
pip install jaeger-bio[gpu]

# to install without GPU support
pip install jaeger-bio[cpu]

# to install on a Mac(arm)
pip install jaeger-bio[darwin-arm]

# test the installation
jaeger health
option 4 : Installing from git (main branch)
# create a conda environment and activate
mamba create -n jaeger -c nvidia -c conda-forge cuda-nvcc "python>=3.11,<3.14" pip
conda activate jaeger

# OR create a virtual environment using venv
python3 -m venv jaeger
source jaeger/bin/activate

# install jaeger

# to install with GPU support
pip install --no-cache-dir "jaeger-bio[gpu] @ git+https://github.com/MGXlab/Jaeger@main"

# to install without GPU support
pip3 install --root-user-action=ignore --no-cache-dir "jaeger-bio[cpu] @ git+https://github.com/MGXlab/Jaeger@main"

# to install on a Mac(arm)
pip3 install --root-user-action=ignore --no-cache-dir "jaeger-bio[darwin-arm] @ git+https://github.com/MGXlab/Jaeger@main"

# test the installation
jaeger health
option 5 : Apptainer (Singularity)

If you're using Apptainer on a cluster, it's recommended to build the container on your local machine and then transfer it to the cluster.

# get the container def
wget -O jaeger_singularity.def https://raw.githubusercontent.com/Yasas1994/Jaeger/main/singularity/jaeger_singularity.def
# get the configuration file
wget -O config.json https://raw.githubusercontent.com/Yasas1994/Jaeger/main/src/jaeger/data/config.json

# to build the container
apptainer build jaeger.sif singularity/jaeger_singularity.def

# test container
apptainer run --nv jaeger.sif jaeger --help

# test the installation
apptainer run --nv jaeger.sif jaeger health

# list jaeger models available for download
apptainer run --nv jaeger.sif jaeger download --list
# download jaeger models
apptainer run --nv jaeger.sif jaeger download --model_name jaeger_38341_1.4M_fragment --path /path/to/save/model --config /path/to/config.json

# run jaeger
apptainer run --nv jaeger.sif jaeger predict --model jaeger_38341_1.4M_fragment --config /path/to/config.json -i /path/to/input.fasta -o /path/to/save/results

Downloading models


Starting from version 1.26.0, users will need to download the new models separately after installing Jaeger. The bundled default model is deprecated and uses the legacy prediction workflow; modern SavedModels (e.g., jaeger_38341_1.4M_fragment) are recommended.

Use the --list flag to print out all models available for download

jaeger download --list

Then to download the model and add it to the model path run

jaeger download --path /path/to/store/models --model_name jaeger_38341_1.4M

If you decide to change the model path later, or if you have a directory with newly trained/tuned models register the path

jaeger register-models --path /new/model/path

Visualizing predictions


You can use phage_contig_annotator to annotate and visualize Jaeger predictions.


Acknowledgements


This work was supported by the European Union's Horizon 2020 research and innovation program, under the Marie Skłodowska-Curie Actions Innovative Training Networks grant agreement no. 955974 (VIROINF), the European Research Council (ERC) Consolidator grant 865694

       

The ascii art logo is from https://ascii.co.uk/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaeger_bio-1.26.5.tar.gz (37.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaeger_bio-1.26.5-py3-none-any.whl (37.1 MB view details)

Uploaded Python 3

File details

Details for the file jaeger_bio-1.26.5.tar.gz.

File metadata

  • Download URL: jaeger_bio-1.26.5.tar.gz
  • Upload date:
  • Size: 37.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jaeger_bio-1.26.5.tar.gz
Algorithm Hash digest
SHA256 3ce9f84ebe765ef5a0b0002dd1f63dcc681f4761f52222b776fcf4edebfaf2e9
MD5 70d211738b72a22e62764fd494291d95
BLAKE2b-256 236af0f8c7d3e106e6b8dc2fd113b4484f606d986ecd3a9b958d86a64b2cd7d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for jaeger_bio-1.26.5.tar.gz:

Publisher: publish-to-pypi.yaml on Yasas1994/Jaeger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jaeger_bio-1.26.5-py3-none-any.whl.

File metadata

  • Download URL: jaeger_bio-1.26.5-py3-none-any.whl
  • Upload date:
  • Size: 37.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jaeger_bio-1.26.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b04daca1a8dab4c868a4e283f2f7f473394f67b32303674ed4b94571cc33007
MD5 482ff02d39e7e884828b676c11639df0
BLAKE2b-256 cf34941a7c1c4934d386aa369581b82ca6b64aa689bc18ea4d614eb15582821b

See more details on using hashes here.

Provenance

The following attestation bundles were made for jaeger_bio-1.26.5-py3-none-any.whl:

Publisher: publish-to-pypi.yaml on Yasas1994/Jaeger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.26.5 This release

2 files

1.26.4

2 files

1.26.3

2 files

1.26.2

2 files

1.26.1

2 files

1.1.30

2 files

1.1.26

2 files

1.1.25

2 files

1.1.24

1 file

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