Skip to main content

decouphage - A tool to annotate phage genomes.

Project description

Decouphage logo

Decouphage: the art of decorating a Phage genome by gluing feature cutouts into it.

As the name suggests decouphage is a tool designed to annotate phage genomes. It only external dependency is ncbi-blast+ everything else is optional.

Relevant branches

Table of contents

  1. Highlights
  2. Validation
  3. How can I use decouphage
  4. Installation
  5. Databases

Highlights

  • Can be easily installed in Linux or Mac computers. Only requirement is ncbi-blast+.
  • Can be extended with prodigal, but as default it uses phanotate for ORF calling.
  • Decouphage is fast, using a Macbook most phage genomes can be annotated in less than a minute.
  • Uses ncbi NR database containing non-identical sequences from GenBank CDS translations, PDB, Swiss-Prot, PIR, and PRF.
  • Allow manual curation using the web interface.

decouphage web interface

Validation

Decouphage validation was made in comparison to RAST(Rapid Annotation using Subsystem Technology), a tool that is often praised for its good Prokaryotic annotation capabilities.

Decouphage outperforms RAST when calling some of the most relevant product categories:

alt text

The CDS annotation agreement between Decouphage and RAST is high, reaching up to 94% for some products:

Enzyme Agreement rate with RAST
endonuclease 94%
exonuclease 58%
helicase 70%
hydrolase 73%
kinase 86%
ligase 94%
methyltransferase 65%
polymerase 76%
primase 78%
protease 85%
recombinase 28%
reductase 90%
synthase 84%
terminase 94%
transferase 60%

A precise comparison of product-to-position is difficult given differences in spelling, typos, synonyms, and interchangeable names, but the table above can give a good idea of the similarities.

To corroborate the surplus of annotations that decouphage achieves, the amount of "hypothetical protein" and "Phage protein" was also checked:

Product Decouphage Rast Agreement rate with RAST
hypothetical protein 3945 6302 53%
phage protein 0 1626 N/A1
Total products 9692 9692 N/A2
  1. Decouphage does not include products containing "phage protein" as they usually are a noise source.
  2. The genbank file generated by RAST was used as input for decouphage to ensure no difference in the number of CDS.

This table shows that Decouphage potentially assigns 2x more meaningful products than RAST when annotating a phage genome.

How can I use decouphage

Options

Usage: decouphage [OPTIONS] INPUT_FILE

Options:
  --prodigal             Use prodigal for orf calling instead of phanotate.
  -d, --db PATH
  -o, --output TEXT
  -t, --threads INTEGER  [default: 1]
  --tmpdir TEXT          Folder for intermediate files.
  --no_orf_calling       Annotate CDS from genbank file.
  --locus_tag TEXT       Locus tag prefix.
  --download_db          Download default database.
  -v, --verbose          More verbose logging for debugging purpose.
  --help                 Show this message and exit.

I want to discover and annotate a lot of ORFs

decouphage genome.fasta -o genome.gb

I want to use prodigal to find my genes

decouphage genome.fasta -o genome.gb --prodigal

I have a genbank with poor annotation and want more

In this mode decouphage will reuse the genbank ORFs and just run the annotation procedure.

decouphage genome.gbk -o genome.gb --no-orf-calling

Installation

You have multiple options to install and run decouphage:

Ubuntu

Install decouphage:

pip install decouphage

(Required) Install ncbi-blast+

apt install ncbi-blast+

(Optional) Install dependencies:

apt install prodigal trnascan-se

Docker

Run with docker (Already includes dependencies and databases):

docker run decouphage/decouphage

Databases

Decouphage database is derived from NCBI NR database clustered at 90% identity and 90% sequence length.

Downloading database

Download database to default location in $HOME/.decouphage/db/

decouphage --download_db

Making custom databases

Make blast database

makeblastdb -in database.fa -parse_seqids -blastdb_version 5 -dbtype prot

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

decouphage-0.0.5.tar.gz (10.1 kB view details)

Uploaded Source

File details

Details for the file decouphage-0.0.5.tar.gz.

File metadata

  • Download URL: decouphage-0.0.5.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for decouphage-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a0b4022ffe1e38078cf6a6a2cf0677273fc4058432fdd8c21e0f18f47a988b96
MD5 37ae5c9896db00a8a7b37e7b30d9cde1
BLAKE2b-256 8979a87cad3b1a9f6419cb54b777dc623ba24b8408130ee1cb84d9d756a114ab

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