dense minimizer apparently works

This commit is contained in:
Heng Li
2020-03-24 23:05:38 -04:00
parent 3341cf20ba
commit 84361ba6dd
6 changed files with 46 additions and 33 deletions

View File

@@ -36,7 +36,7 @@ static inline int tq_shift(tiny_queue_t *q)
* @param is_hpc homopolymer-compressed or not
* @param p minimizers
*/
void ha_sketch(const char *str, int len, int w, int k, uint32_t rid, int is_hpc, ha_mz1_v *p, void *hf)
void ha_sketch(const char *str, int len, int w, int k, uint32_t rid, int is_hpc, ha_mz1_v *p, const void *hf)
{
static const ha_mz1_t dummy = { UINT64_MAX, 0, 0, 0 };
uint64_t shift1 = k - 1, mask = (1ULL<<k) - 1, kmer[4] = {0,0,0,0};