kraken icon indicating copy to clipboard operation
kraken copied to clipboard

taxonomy/prelim_map.txt: No such file or directory

Open SAMtoBAM opened this issue 6 years ago • 3 comments

scripts/kraken-build --build --db custom_db/

Kraken build set to minimize disk writes. Creating k-mer set (step 1 of 6)... Found jellyfish v1.1.11 Hash size not specified, using '46074880' K-mer set created. [9.640s] Skipping step 2, no database reduction requested. Sorting k-mer set (step 3 of 6)... K-mer set sorted. [3m27.085s] Skipping step 4, GI number to seqID map now obsolete. Creating seqID to taxID map (step 5 of 6)... /home/samuel/kraken-1.0/scripts/build_kraken_db.sh: line 167: taxonomy/prelim_map.txt: No such file or directory

Trying to intially build a small kraken database but stopped at step five. A 'prelim_map.txt' file is created inside the "library/added/" directory I can move the prelim_map.txt file from where it was placed "library/added/" into the custom database directory and inside a directory I create called "taxonomy" but then I get the following:

Creating seqID to taxID map (step 5 of 6)... No preliminary seqid/taxid mapping files found, aborting.

I loaded the files into the db using the recommended --add-to-library option

SAMtoBAM avatar Feb 05 '18 16:02 SAMtoBAM