DerrickWood / kraken

Kraken taxonomic sequence classification system
http://ccb.jhu.edu/software/kraken/
GNU General Public License v3.0
215 stars 103 forks source link

kraken-build - Can't merge hash with different sizes #119

Open lec49 opened 6 years ago

lec49 commented 6 years ago

Hi,

I ran the following command:

kraken-build --standard --threads 8 -db kraken_standard_db

I had a problem with jellyfish so introduced the jellyfish-hash size command...

kraken-build --standard --threads 16 -db kraken_standard_db --jellyfish-hash-size 181169529

got this error...

Found jellyfish v1.1.11 Skipping archaea, already completed library download Skipping bacteria, already completed library download Skipping viral, already completed library download Kraken build set to minimize disk writes. Creating k-mer set (step 1 of 6)... Found jellyfish v1.1.11 Can't merge hash with different size

Not sure what it means by can't merge with different size, any ideas?

jenniferlu717 commented 6 years ago

I've gotten the error before if I try building without changing the hash size and then rebuild with a different hash size without deleting the database files originally made. I believe its trying to combine the new hash with the old one and then it gets an issue. Try deleting any database.kdb/jdb/idb files and rebuild?