dib-lab / kProcessor

kProcessor: kmers processing framework.
https://kprocessor.readthedocs.io
BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

Conversion to MQF enters an infinite loop #100

Closed mr-eyes closed 2 years ago

mr-eyes commented 2 years ago

Reproduce:

int kSize = 25;
string file_name = "stdin.part_008.fasta.gz";
auto* kf = new kDataFramePHMAP(kSize, integer_hasher);
kProcessor::countKmersFromFile(kf, {{"kSize", kSize}}, file_name, 1000);
cout << "converting to MQF..." << endl;
kDataFrame* kf_mqf=kDataFrameFactory::createMQF(kf);

Fasta file:

stdin.part_008.fasta.gz

@shokrof

mr-eyes commented 2 years ago

createBMQF has the same problem.

shokrof commented 2 years ago

ok I will check it tommorow

shokrof commented 2 years ago

thanks ya Mohamed, I fixed the bug on v2

mr-eyes commented 2 years ago

Thank you!