Skip to main content

DeePaC-Live

A DeePaC plugin for real-time analysis of Illumina sequencing runs. Captures HiLive2 output and uses deep neural nets to detect novel pathogens directly from NGS reads.

We recommend having a look at:

Installation

# Optional, but recommended: for GPU users
conda install tensorflow-gpu
# Install deepac-live
conda install -c bioconda deepac-live
# Recommended: download and compile deepac-live custom models
deepac getmodels --fetch
# Optional: viral built-in models
conda install -c bioconda deepacvir

Alternatively, you can also use pip:

# Optional, but recommended: for GPU users
pip install tensorflow-gpu
# Install deepac-live
pip install deepac-live
# Recommended: download and compile deepac-live custom models
deepac getmodels --fetch

# Optional: viral built-in models (not necessary)
pip install deepacvir

DeePaC-Live models

DeePaC-Live ships new, updated models for bacterial pathogenic potential and viral infectious potential prediction. The Illumina models are trained on 25-250bp subreads to ensure high performance over the whole sequencing run. The Nanopore models are trained on 250bp subreads corresponding to just around 0.5s of sequencing. To fetch the models, use deepac getmodels --fetch. In the created directory, you will find the following models ready for inference:

  • illu-bac-res18.h5 : an Illumina bacterial model
  • illu-vir-res18.h5 : an Illumina viral model
  • nano-bac-res18.h5 : a Nanopore bacterial model
  • illu-vir-res18.h5 : a Nanopore viral model

Basic usage

# Run locally: deepac-live Illumina models
deepac-live local -C -m illu-bac-res18.h5 -s 25,50,75,100,133,158,183,208 -l 100 -i hilive-out -o temp -I temp -O output -B ACAG-TCGA,undetermined
# Run locally: custom model
deepac-live local -C -m custom_model.h5 -s 25,50,75,100,133,158,183,208 -l 100 -i hilive-out -o temp -I temp -O output -B ACAG-TCGA,undetermined

# Run locally: build-in model for bacteria (not recommended)
deepac-live local -c deepac -m rapid -s 25,50,75,100,133,158,183,208 -l 100 -i hilive-out -o temp -I temp -O output -B ACAG-TCGA,undetermined
# Run locally: build-in model for viruses (not recommended)
deepac-live local -c deepacvir -m rapid -s 25,50,75,100,133,158,183,208 -l 100 -i hilive-out -o temp -I temp -O output -B ACAG-TCGA,undetermined

Advanced usage

Setting up a remote receiver

# Setup sender on the source machine
deepac-live sender -s 25,50,75,100,133,158,183,208 -l 100 -A -i hilive-out -o temp -r user@remote.host:~/rem-temp -k privatekey -B ACAG-TCGA,undetermined
# Setup receiver on the target machine
deepac-live receiver -c deepacvir -m rapid -s 25,50,75,100,133,158,183,208 -l 100 -I rem-temp -O output -B ACAG-TCGA,undetermined

Refilter: ensembles and alternative thresholds

# Setup an ensemble on the target machine
deepac-live refilter -s 25,50,75,100,133,158,183,208 -l 100 -i rem-temp -I output_1,output_2 -O final_output -B ACAG-TCGA,undetermined
# Use another threshold
deepac-live refilter -s 25,50,75,100,133,158,183,208 -l 100 -i rem-temp -I output_1 -O final_output -t 0.75 -B ACAG-TCGA,undetermined

Release files for deepaclive 0.3.2

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

Source distribution (sdist)

Source distribution for deepaclive 0.3.2
File Size Uploaded
deepaclive-0.3.2.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size: 25.7 kB

Release files / deepaclive-0.3.2.tar.gz

Download URL deepaclive-0.3.2.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aa69f4967710787f12694ac146b6ed07a78e876a93626b2fd1904efd03e8dde5
BLAKE2b-256 checksum
How to use checksums
54bf7583e9990a187dc834b393981884a1e7e4515535ebe60ba545ae43809413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / deepaclive-0.3.2-py3-none-any.whl

Download URL deepaclive-0.3.2-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
272f02cefdaf2b79d555fe3b41638c8c849f3ea06971a9db3d4dc484ccb14315
BLAKE2b-256 checksum
How to use checksums
fd65b2512ec98ef6f5cc1173799b1d0236e19d710dada821870404b6e3cbb467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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