-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kraken2: database does not contain necessary file taxo.k2d #76
Comments
Have you tried the command from directly inside the database folder? |
Hi Jennifer, I am experiencing this also. I created a custom db and have the same error as charlottecc. I followed the custom database creation steps carefully and there were no errors. total database size is 190 GB. It contains bacteria, archaea, viral, fungi, plasmid, univec_core, human and mouse. The error: Below is the database listing and sizes: -rw-r--r-- 54G hash.k2d The command used:
The exact same script was used successfully prior, just changing the $database variable. This was using the pre-built kraken2/bracken2 db from https://genome-idx.s3.amazonaws.com/kraken/k2_standard_20201202.tar.gz I tried your suggestion of running from within the kraken2_custom db directory and the error remained the same. I also tried making the taxo.k2d file executable which also did not help. Your assistance much appreciated. Kind regards, |
Hi all, Recently experienced the same error (no taxo.k2d file). kraken2: database ("greengenes/") does not contain necessary file taxo.k2d |
I had the same error. I used the full path to the db and still got the error. I tried renaming my files from *.fastq -> *.fq and was able to get Kraken on the work! (it worked) |
Not sure if anyone has found a solution, but I discovered that I get this error if there are symlinks in the database path. |
Hi,
I have tried run the command
kraken2 --db=~/Metagenomics/kraken/krakenDB --threads 20 <( find -L ~/Metagenomics/kraken/krakenDB/library \( -name "*.fna" -o -name "*.fa" -o -name "*.fasta" \) -exec cat {} + ) > database.kraken
However I am getting the error message:
kraken2: database ("~/Metagenomics/kraken/krakenDB") does not contain necessary file taxo.k2d
find: `cat' terminated by signal 13
I get this error message despite the taxo.k2d being present. I have tried to rebuild the kraken2 database (custom database of bacteria, fungi, human, plasmid, viral) but I am still getting this error.
If anyone has any advice how to progress I'd be grateful!
Thanks in advance
The text was updated successfully, but these errors were encountered: