Codebase list mash / d16740f
Merge tag 'upstream/2.2.2+dfsg' Upstream version 2.2.2+dfsg Sascha Steinbiss 4 years ago
2 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
533533 reverseComplement(seq, seqRev, length);
534534 }
535535
536 uint64_t j = 0;
537
536538 for ( uint64_t i = 0; i < length - kmerSize + 1; i++ )
537539 {
538540 // repeatedly skip kmers with bad characters
539541 //
540542 bool bad = false;
541543 //
542 for ( uint64_t j = i; j < i + kmerSize && i + kmerSize <= length; j++ )
544 for ( ; j < i + kmerSize && i + kmerSize <= length; j++ )
543545 {
544546 if ( ! parameters.alphabet[seq[j]] )
545547 {
546 i = j; // skip to past the bad character
548 i = j++; // skip to past the bad character
547549 bad = true;
548550 break;
549551 }
33 //
44 // See the LICENSE.txt file included with this software for license information.
55
6 static const char * version = "2.2";
6 static const char * version = "2.2.2";