Skip to main content

Detecting novel pathogens from NGS reads in real-time during a sequencing run.

Project description

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=1.15
# Install deepac-live
conda install -c bioconda deepac-live
# 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=1.15
# Install deepac-live
pip install deepac-live
# Optional: viral built-in models
pip install deepacvir

Basic usage

# Run locally: build-in model for bacteria
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 -g 1
# Run locally: build-in model for viruses
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 -g 1
# 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 -g 1

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 -g 1

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 -g 1
# 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 -g 1

Project details


Download files

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

Source Distribution

deepaclive-0.2.0.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

deepaclive-0.2.0-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page