Skip to content
Commits on Source (3)
mash (2.2.2+dfsg-1) unstable; urgency=medium
[ Steffen Moeller ]
* Added ref to Conda.
[ Sascha Steinbiss ]
* New upstream release.
-- Sascha Steinbiss <satta@debian.org> Wed, 23 Oct 2019 18:38:19 +0200
mash (2.2.1+dfsg-1) unstable; urgency=medium
* New upstream release.
......
......@@ -534,17 +534,19 @@ void addMinHashes(MinHashHeap & minHashHeap, char * seq, uint64_t length, const
reverseComplement(seq, seqRev, length);
}
uint64_t j = 0;
for ( uint64_t i = 0; i < length - kmerSize + 1; i++ )
{
// repeatedly skip kmers with bad characters
//
bool bad = false;
//
for ( uint64_t j = i; j < i + kmerSize && i + kmerSize <= length; j++ )
for ( ; j < i + kmerSize && i + kmerSize <= length; j++ )
{
if ( ! parameters.alphabet[seq[j]] )
{
i = j; // skip to past the bad character
i = j++; // skip to past the bad character
bad = true;
break;
}
......
......@@ -4,4 +4,4 @@
//
// See the LICENSE.txt file included with this software for license information.
static const char * version = "2.2";
static const char * version = "2.2.2";