wrong HPC

This commit is contained in:
Heng Li
2017-05-04 17:45:19 +08:00
parent 06adabd0dc
commit 10db6b0434
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ void mm_sketch(void *km, const char *str, int len, int w, int k, uint32_t rid, i
info.x = hash64(kmer[z], mask) << 8 | kmer_span;
info.y = (uint64_t)rid<<32 | (uint32_t)i<<1 | z;
}
} else l = 0, tq.count = tq.front = 0;
} else l = 0, tq.count = tq.front = 0, kmer_span = 0;
buf[buf_pos] = info; // need to do this here as appropriate buf_pos and buf[buf_pos] are needed below
if (l == w + k - 1) { // special case for the first window - because identical k-mers are not stored yet
for (j = buf_pos + 1; j < w; ++j)