kmer-db
kmer-db copied to clipboard
build step failed after throwing an instance of 'std::bad_alloc'
I am trying to build a kmer db using the k-mer output from KMC but I keep getting an error.
This is the command I am running:
./kmer-db build -from-kmers ./KMC.list ./output/KMC_out.db
Where the list looks like this:
Sample1
Sample2
Sample3
...
And the files in the directory are like this:
Sample1.kmc_pre
Sample1.kmc_suf
Sample2.kmc_pre
Sample2.kmc_suf
Sample3.kmc_pre
Sample3.kmc_suf
...
But I get this error when I try to run it:
Kmer-db version 1.11.1 (07.03.2023)
S. Deorowicz, A. Gudys, M. Dlugosz, M. Kokot, and A. Danek (c) 2018
Analysis started at Thu Dec 14 23:19:36 2023
Database building mode (from k-mers)
Processing samples...
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
Is there a quick fix for this?