kraken2 database error: `No preliminary seqid/taxid mapping files found, aborting.`
0
0
Entering edit mode
12 months ago
10mz1 ▴ 10

Hi all,

I'm putting this here in hopes that someone will understand and solve this issue for future users. This is already a known and apparently unsolved issue per this thread: https://github.com/DerrickWood/kraken2/issues/291

I am simply documenting this in hopes someone will figure it out and put the answer here. The database which gave this issue was the bacteria database installed per the instructions here https://github.com/DerrickWood/kraken2/wiki/Manual#standard-kraken-2-database with these commands:

kraken2-build --download-taxonomy --db $DBNAME

kraken2-build --download-library bacteria --db $DBNAME

after which the build command, and command which drew the error was run:

kraken2-build --build --db $DBNAME

it is worth noting that the above command kraken2-build --download-library bacteria --db $DBNAME gave:

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1865) [generator=3.2.7] rsync_from_ncbi.pl: rsync error, exiting: 5888

which is likely at the source of the No preliminary seqid/taxid mapping files found, aborting. error.

installation kraken2 metagenomics • 937 views
ADD COMMENT
0
Entering edit mode

I wonder if this was an issue with rsync? I should try upgrading rsync and trying again.

ADD REPLY
0
Entering edit mode

Did you figure out the solution?

ADD REPLY

Login before adding your answer.

Traffic: 2374 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6