Commit 176dd42f authored by Mathieu Giraud's avatar Mathieu Giraud

core/representative.cpp: put 'representative' in the label

parent 2797ccb0
......@@ -163,7 +163,7 @@ void KmerRepresentativeComputer::compute() {
is_computed = true;
representative = sequence_longest_run;
representative.sequence = representative.sequence.substr(pos_longest_run, length_longest_run);
representative.label += "-[" + string_of_int(pos_longest_run) + ","
representative.label = "representative--" + representative.label + "-[" + string_of_int(pos_longest_run) + ","
+ string_of_int(pos_longest_run + length_longest_run - 1) + "]";
}
delete 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