Skip to content
Jen Lu edited this page Jun 16, 2020 · 7 revisions

If you are having problems with Kraken 2, please refer to the following FAQ and potential troubleshooting options. If your question is not addressed below, please submit a new github issue.

When submitting a github issue, specify

  1. the command line used (kraken2-build or kraken2)
  2. the database being used
  3. the kraken2 version.

For github issues, it may also be helpful to provide the output of kraken2-inspect: kraken2-inspect --db MYDB > k2inspect_output.txt

Note: Use of any older kraken2 versions may contain bugs that were addressed in the newest version. If you are working with an older version, first download the newest code to test.

Updated: 06/16/2020 (page in progress)


Table of Contents

  1. Installation FAQ
  2. Downloads FAQ
  3. kraken2-build FAQ
  4. kraken2 FAQ

Installation FAQ

Downloads FAQ

"rsync: failed to connect" error

What is causing this error message?

  1. The ncbi website is having problems
  2. rsync is not available for your server

How do I fix this?

  1. Please add the --use-ftp argument to your kraken2-build command.

Why is the masking step slow?

Currently, masking is single-threaded, using NCBI's dustmasker (or for protein dbs segmasker). While other steps of the build process are multi-threaded, we currently do not provide multi-threading masking.

kraken2-build FAQ

"build_db: OMP error:

Error Message: "build_db: OMP only wants you to use 4 threads"

The kraken2-build script detects how many threads your system can use. If you try to specify more threads than available, this error will print and the build will stop.

Fix: Rerun your kraken2-build command using the number of threads OMP detected.

kraken2 FAQ

Clone this wiki locally