r176: enabled the minimap2 chaining heuristic

This commit is contained in:
Heng Li
2020-04-01 22:06:14 -04:00
parent e75b93ae12
commit b7e5d1c4d3
5 changed files with 44 additions and 65 deletions
+4
View File
@@ -81,6 +81,10 @@ static inline uint64_t yak_hash_long(uint64_t x[4])
#define MALLOC(ptr, len) ((ptr) = (__typeof__(ptr))malloc((len) * sizeof(*(ptr))))
#define REALLOC(ptr, len) ((ptr) = (__typeof__(ptr))realloc((ptr), (len) * sizeof(*(ptr))))
#ifndef kroundup64
#define kroundup64(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, x|=(x)>>32, ++(x))
#endif
#ifndef klib_unused
#if (defined __clang__ && __clang_major__ >= 3) || (defined __GNUC__ && __GNUC__ >= 3)
#define klib_unused __attribute__ ((__unused__))