Closed ctSkennerton closed 12 years ago
In smith-waterman the start site for cutting substrings is past the end of the string. This seems to be a problem with the variable current_i which has a final value of 1059.
current_i
thrown --> basic_string::substr -> 1022 : 1059 : 35
a_ret = seqA.substr(current_i+ aStartSearch, i_max - current_i + aStartSearch);
This bug seems reproducible on the file
~/metagenomic_datasets/GOS/JCVI_SMPL_1103283000039.fa runs through quickly too
~/metagenomic_datasets/GOS/JCVI_SMPL_1103283000039.fa
version 0.2.2 solves this
In smith-waterman the start site for cutting substrings is past the end of the string. This seems to be a problem with the variable
current_i
which has a final value of 1059.thrown --> basic_string::substr -> 1022 : 1059 : 35