This is a test version of Biostars. For the public version, visit https://www.biostars.org.
kraken2-build command not found

i tried building the database after installing kraken2, with this command

kraken2-build --standard --threads 2 --db StandardDB/

it showed me an error Command 'kraken2-build' not found, did you mean:

command 'kraken-build' from deb kraken

What should i do

the files kraken2 kraken2-build kraken2-inspect was there in the path as well

its really frustrating help me

database metagenomics linux kraken2

the files kraken2 kraken2-build kraken2-inspect was there in the path as well

Do you get a valid path if you try which kraken2-build? If you don't then most likely the files are not in your $PATH. You can fix that using information here.

Actually i forgot that it was a script i just added "./" it executed simply

1 answer

Alternatively, you can use bioconda and never have to worry about annoying installations and putting the tool into your system path.

Yeah i will after getting an idea how it works

Log in to answer this question.