tseemann / berokka

🍊 💫 Trim, circularise and orient long read bacterial genome assemblies
GNU General Public License v3.0
25 stars 3 forks source link
bioinformatics circular-genome genome-assembly genomics long-read-sequencing

Fizzy orange tablet Build Status License: GPL v3 Don't judge me

berokka

Trim, circularise, orient & filter long read bacterial genome assemblies

Introduction

There is already a good piece of software to trim/circularise and orient genome assemblies called Circlator. Please try that first!

You should only try Berokka if:

  1. You only have the contig files and do not have the corrected reads anymore
  2. Your contigs are simple cases with clear overhang and could be done manually with BLAST
  3. Circlator fails on your data even after troubleshooting

NOTE: orientation to dnaA or rep genes is not yet implemented.

Installation

Homebrew

Using Homebrew will install all the dependencies for you: Linux or MacOS

brew install brewsci/bio/berokka

Conda

Using Bioconda) will take care of everything:

conda install -c conda-forge -c bioconda -c defaults berokka

Source

git clone https://github.com/tseemann/berokka.git
./berokka/bin/berokka -h

You will need to install all the dependencies manually:

Usage

Input

Input should be completed long-read assemblies in FASTA format, such as those from CANU or HGAP.

Usage

% berokka --outdir trimdir canu.contigs.fasta
<snip>
Did you know? berokka is a play on the concept of overhang vs hangover

% ls trimdir/
01.input.fa
02.trimmed.fa
03.results.tab

% cat trimdir/03.results.tab

#sequence       status  old_len new_len trimmed
tig00000000     trimmed 5461026 5448790 12236
tig00000002     trimmed 138825  113601  25224
tig00000003     trimmed 57075   43297   13778
tig00000004     kept    24900   24900   0
tig00000006     trimmed 1620    1320    300
tig00000007     removed 2380    0       0

Output

Filename Format Description
01.input.fa FASTA All the input sequences
02.trimmed.fa FASTA The (possibly) trimmed sequences
03.results.tab TSV Summary of results

The 02.trimmed.fa output has been augmented with new header data (unless --noanno used):

Options

Etymology

Berocca is a brand of effervescent drink and vitamin tablets containing vitamin B and C. It is a popular cure for a hangover. A key role of the berokka tool is to remove the "overhang" that occurs at the ends of long-read assemblies of circular genomes.

Feedback

Please file questions, bugs or ideas to the Issue Tracker

License

GPLv3

Citation

Not published yet.

Authors