KRAKEN2-BUILD(1)
π KRAKEN2-BUILD β the manual page, bestie edition π
okay so. this is kraken2-build, manual section 1, and it's literally the tool for assigning taxonomic labels to short DNA sequences. it's giving "i classify your reads and i do it gorgeously". let's get into it π¦
β¨ SYNOPSIS β¨
kraken2-build [task option] [options]
yeah that's it. one task, a lil pile of options, we move. π
πΈ DESCRIPTION πΈ
π Task options (exactly one must be selected) π
bestie listen. exactly one. not two, not zero. pick one task option or the whole thing gets awkward.
--download-taxonomyβ pulls down the NCBI taxonomic information. the family tree data, basically. π³--download-library TYPEβ grabs a partial library.TYPEhas to be one of these, no substitutions, no vibes-based guessing:"archaea""bacteria""plasmid""viral""human""fungi""plant""protozoa""nr""nt""env_nr""env_nt""UniVec""UniVec_Core"
--special TYPEβ downloads and builds a special database in one go.TYPEis one of:"greengenes""silva""rdp"
--add-to-library FILEβ dropsFILEinto your library. one file at a time, queen. π--buildβ makes the DB from your library. β οΈ requires that you already downloaded the taxonomy and have at least one file sitting in the library. it will not manifest sequences out of thin air, no cap.--cleanβ sweeps the unneeded files out of a built database. self-care. π§Ήβ¨--standardβ downloads and builds the default database. the "just give me the standard one" button. π--helpβ prints this message. π«Ά--versionβ prints version info.
π OPTIONS π
--db NAMEβ the Kraken 2 DB / library name. mandatory unless you're doing--helpor--version. so like, always, basically.--threads #β how many threads you want. default is1. give it more if your machine can handle the main character energy. π₯--kmer-len NUMβ k-mer length in bp/aa. build task only. default is35nt,15aa.--minimizer-len NUMβ minimizer length in bp/aa. build task only. default is31nt,15aa.--minimizer-spaces NUMβ how many characters in the minimizer get ignored during comparisons. build task only. default is6nt,0aa.--proteinβ builds a protein database, for translated search. π§¬--no-maskingβ use this alongside--standard,--download-library, or--add-to-libraryto skip masking low-complexity sequences before building. masking needsdustmaskerorsegmaskerinstalled inPATH, and honestly some users just don't have that, so here's your escape hatch. πͺ--max-db-size NUMβ the max number of bytes for the Kraken 2 hash table. if the estimator decides more would normally be needed, the reference library gets downsampled to fit. used with--build,--standard, or--special. βοΈ
π AUTHOR π
this manpage was written by Andreas Tille for the Debian distribution, and it can be used for any other usage of the program too. generous icon behavior honestly. π
and that's the whole page, bestie!! this waskraken2-buildversion2.0.7~beta, dated March 2019 β the manpage came from the User Commands section of the Debian man pages, and yes, the date really is 2019. vintage. retro. still slaying. πβ¨π¦
π¦ where this page comes from
- debian bookworm: kraken2 2.1.2-2 Β· GPL-3.0-or-later
- debian trixie: kraken2 2.1.3-1 Β· GPL-3.0-or-later
- ubuntu jammy: kraken2 2.1.2-1 Β· GPL-3.0-or-later
- ubuntu noble: kraken2 2.1.3-1 Β· GPL-3.0-or-later
- ubuntu questing: kraken2 2.1.3-1
- ubuntu resolute: kraken2 2.1.3-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: kraken2 2.1.3-1build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms