Skip to main content

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

Metadata

Release files for decouphage 0.0.5

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

Source distribution (sdist)

Source distribution for decouphage 0.0.5
File Size Uploaded Provenance Actions
decouphage-0.0.5.tar.gz 10.1 kB Without provenance Details for decouphage-0.0.5.tar.gz

Release files / decouphage-0.0.5.tar.gz

Download URL decouphage-0.0.5.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a0b4022ffe1e38078cf6a6a2cf0677273fc4058432fdd8c21e0f18f47a988b96
BLAKE2b-256 checksum
How to use checksums
8979a87cad3b1a9f6419cb54b777dc623ba24b8408130ee1cb84d9d756a114ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for decouphage 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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