Page tree
Skip to end of metadata
Go to start of metadata

Build a Kraken database from a genomic library or shrink a Kraken database.

Element type: kraken-build

Parameters

ParameterDescriptionDefault valueParameter in Workflow FileType
Mode

Select "Build" to create a new database from a genomic library (--build).
Select "Shrink" to shrink an existing database to have only specified number of k-mers (--shrink).

 Build

mode

string

Database

Name of the output Kraken database (corresponds to --db that is used with --build, and to --new-db that is used with --shrink).


database

string
Genomic library

Genomes that should be used to build the database.
The genomes should be specified in FASTA format. The sequence IDs must contain either a GI number or a taxonomy ID.


genomic-libraryurl-datasets
K-mer length K-mer length in bp (--kmer-len).31k-mer-lengthnumber
Minimizer lengthMinimizer length in bp (--minimizer-len).

The minimizers serve to keep k-mers that are adjacent in query sequences close to each other in the database, which allows Kraken to exploit the CPU cache.
Changing the value of the parameter can significantly affect the speed of Kraken, and neither increasing nor decreasing of the value will guarantee faster or slower speed.

15minimizer-lengthnumber
Maximum database sizeBy default, a full database build is done.

To shrink the database before the full build, input the size of the database in Mb (this corresponds to the --max-db-size parameter, but Mb is used instead of Gb).

The size is specified together for the database and the index.

No limitmaximum-database-sizenumber
CleanRemove unneeded files from a built database to reduce the disk usage (--clean).Truecleanbool
Work on diskPerforms most operations on disk rather than in RAM (this will slow down build in most cases).Falsework-on-diskbool
Jellyfiah hash sizeThe "kraken-build" tool uses the "jellyfish" tool. This parameter specifies the hash size for Jellyfish.

Supply a smaller hash size to Jellyfish, if you encounter problems with allocating enough memory during the build process (--jellyfish-hash-size).
By default, the parameter is not used.

Skipjellyfish-hash-sizenumber
Number of threads

Use multiple threads (--threads). 

8threadsnumber

Input/Output Ports

The element has 1 output port:

Name in GUI: Output Kraken database

Name in Workflow File: out

Slots:

SlotInGUISlot in Workflow FileType
Output URLurlstring
  • No labels