Commit f88ee197 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

kmerstore.h: display message on stdout when using MapKmer

In fact, it could be faster to use MapKmer for very short sets of reads...
but Vidjil focuses on HTS datasets.
parent a1a73780
...@@ -346,6 +346,7 @@ IKmerStore<T> *KmerStoreFactory::createIndex(string seed, bool revcomp) { ...@@ -346,6 +346,7 @@ IKmerStore<T> *KmerStoreFactory::createIndex(string seed, bool revcomp) {
try{ try{
index = new ArrayKmerStore<T>(seed, revcomp); index = new ArrayKmerStore<T>(seed, revcomp);
}catch(exception e){ }catch(exception e){
cout << " (using a MapKmer to fit into memory)" << endl;
index = new MapKmerStore<T>(seed, revcomp); index = new MapKmerStore<T>(seed, revcomp);
} }
return index; return index;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment