Skip to main content

DeepBGC - Biosynthetic Gene Cluster detection and classification

Project description

DeepBGC: Biosynthetic Gene Cluster detection and classification

DeepBGC detects BGCs in bacterial and fungal genomes using deep learning. DeepBGC employs a Bidirectional Long Short-Term Memory Recurrent Neural Network and a word2vec-like vector embedding of Pfam protein domains. Product class and activity of detected BGCs is predicted using a Random Forest classifier.

BioConda Install PyPI - Downloads PyPI license PyPI version CI

DeepBGC architecture

Install using bioconda (recommended)

  • Install Bioconda by following Step 1 and 2 from: https://bioconda.github.io/
  • Run conda install deepbgc to install DeepBGC and all of its dependencies

Install using pip

If you don't mind installing the HMMER and Prodigal dependencies manually, you can also install DeepBGC using pip:

Use DeepBGC

Download models and Pfam database

Before you can use DeepBGC, download trained models and Pfam database:

deepbgc download

You can display downloaded dependencies and models using:

deepbgc info

Detection and classification

DeepBGC pipeline

Detect and classify BGCs in a genomic sequence. Proteins and Pfam domains are detected automatically if not already annotated (HMMER and Prodigal needed)

# Show command help docs
deepbgc pipeline --help

# Detect and classify BGCs in mySequence.fa using DeepBGC algorithm and save the output to mySequence directory.
deepbgc pipeline mySequence.fa

This will produce a directory with multiple files and a README.txt with file descriptions.

Example output

See the DeepBGC Example Result Notebook. Data can be downloaded on the releases page

Detected BGC Regions

Model training

You can train your own BGC detection and classification models, see deepbgc train --help for documentation and examples.

DeepBGC positives, negatives and other training and validation data can be found on the releases page.

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

deepbgc-0.1.7.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

deepbgc-0.1.7-py3-none-any.whl (58.5 kB view details)

Uploaded Python 3

File details

Details for the file deepbgc-0.1.7.tar.gz.

File metadata

  • Download URL: deepbgc-0.1.7.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for deepbgc-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f152ad9127ff75eb47999cde1ddda306e3dea68d96241a676bd6cee236075562
MD5 c1c35b3598bbfd3a1ea7ac91878b7b0c
BLAKE2b-256 435ada1e10a9421fdf093eec2de6bd8945bbd7eb25ce4adeb6c918ee2805a4cb

See more details on using hashes here.

File details

Details for the file deepbgc-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: deepbgc-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 58.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for deepbgc-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 323ef7c7cdb23993173c8ecd142afbfae0789a54d25fc0b8018b29679c5fa537
MD5 4da4fda23b880febb4c3b51a6f4d2e72
BLAKE2b-256 1440611480dbe28e701bd9d36313c0fc2853ca51254e52093f8ff3bdf357def1

See more details on using hashes here.

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