Commit c85f24ce authored by Mikaël Salson's avatar Mikaël Salson
Browse files

representative.cpp: The right seed must be given to the index

parent 00a38e40
......@@ -105,7 +105,7 @@ void KmerRepresentativeComputer::compute(bool try_hard) {
// First create an index on the set of reads
IKmerStore<Kmer> *index[nb_seeds];
for (size_t i = 0; i < nb_seeds; i++) {
index[i] = new MapKmerStore<Kmer>(getSeed(), revcomp);
index[i] = new MapKmerStore<Kmer>(seeds[i], revcomp);
}
// Add sequences to the index, allowing extended nucleotides (false)
......
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