Skip to main content

Fast and accurate prediction of coiled coil domains in protein sequences

Project description

DeepCoil

DOI:10.1093/bioinformatics/bty1062 build

Fast and accurate prediction of coiled coil domains in protein sequences

New in version 2.0

  • Retrained with the updated dataset based on SamCC-Turbo labels.
  • Faster inference time by applying SeqVec embeddings instead of psiblast profiles.
  • Heptad register prediction (a and d core positions).
  • No maximum sequence length limit.
  • Convenient interface for using DeepCoil within python scripts.
  • Automated peak detection for improved output readability.
  • Simplified installation with pip.

Older DeepCoil versions are available here.

Requirements and installation

DeepCoil requires python>=3.6.1 and pip>=19.0. Other requirements are specified in the requirements.txt file.

The most convenient way to install DeepCoil is to use pip:

$ pip3 install deepcoil

Usage

Running DeepCoil standalone version:

deepcoil [-h] -i FILE [-out_path DIR] [-n_cpu NCPU] [--gpu] [--plot]
                [--dpi DPI]
Argument Description
-i Input file in FASTA format. Can contain multiple entries.
-out_path Directory where the predictions are saved. For each entry in the input file one file will be saved. Defaults to the current directory if not specified.
-n_cpu Number of CPUs to use in the prediction. By the default all cores will be used.
--gpu Flag for turning on the GPU usage. Allows faster inference on large datasets. Overrides -n_cpu option.
--plot Turns on the additional visual output of the predictions for each entry in the input. Plot files are saved in the -out_path directory.
--dpi DPI of the saved plots, active only with --plot option.

In a rare case of deepcoil being not available in your PATH after installation please look in the $HOME/.local/bin/ or other system specific pip directory.

Description of columns in output file:

  • aa - amino acid in the input protein sequence
  • cc - sharpened coiled coil propensity
  • raw_cc - raw coiled coil propensity
  • prob_a - probability of a core position
  • prob_d - probability of d core position

Running DeepCoil within script:

from deepcoil import DeepCoil
from deepcoil.utils import plot_preds
from Bio import SeqIO

dc = DeepCoil(use_gpu=True)

inp = {str(entry.id): str(entry.seq) for entry in SeqIO.parse('example/example.fas', 'fasta')}

results = dc.predict(inp)

plot_preds(results['3WPA_1'], out_file='example/example.png')

results[entry] for an entry of sequence length N contains two keys:

  • ['cc'] - per residue coiled coil propensity ([N, 1] shape)
  • ['hept'] - per residue core positions ([N, 3] shape, order in the second axis is: no/other position, a position, d position)

Peak detection can be performed with the deepcoil.utils.sharpen_preds helper function.

Example graphical output:

Example

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

deepcoil-2.0.tar.gz (30.6 MB view details)

Uploaded Source

Built Distribution

deepcoil-2.0-py3-none-any.whl (30.7 MB view details)

Uploaded Python 3

File details

Details for the file deepcoil-2.0.tar.gz.

File metadata

  • Download URL: deepcoil-2.0.tar.gz
  • Upload date:
  • Size: 30.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for deepcoil-2.0.tar.gz
Algorithm Hash digest
SHA256 f115e7f16ee39b2870c742a4383bb8d278c89bca89ee40ab81855ae519b69886
MD5 9ae23ef429ec981a87a3b0008f3e6572
BLAKE2b-256 397888ae9dde9d2eda60fc30a8d42d846e436f3cdb1f47cecfd2ce5d5100ca62

See more details on using hashes here.

File details

Details for the file deepcoil-2.0-py3-none-any.whl.

File metadata

  • Download URL: deepcoil-2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for deepcoil-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24d5d91e93c8c0d3251b40359df4e2bc888678bda31e420495dae2b9fc29ef9f
MD5 e87a951739c86a78d9a3c7eff0992778
BLAKE2b-256 52db5478031b786e45939395a040c6a5041ca9d230593c5bc3f51e01e948c389

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