From 97f67a2a0a001f3f1f9342e561290d4f5ee697e4 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 30 Apr 2019 22:30:32 -0400 Subject: [PATCH] r937: enlarge mm_mapopt_t::flag to 64 bits --- main.c | 2 +- minimap.h | 2 +- python/cmappy.pxd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 3ce15b7..d60c43e 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "ketopt.h" -#define MM_VERSION "2.16-r935-dirty" +#define MM_VERSION "2.16-r937-dirty" #ifdef __linux__ #include diff --git a/minimap.h b/minimap.h index 993b008..3aa52c4 100644 --- a/minimap.h +++ b/minimap.h @@ -104,9 +104,9 @@ typedef struct { } mm_idxopt_t; typedef struct { + int64_t flag; // see MM_F_* macros int seed; int sdust_thres; // score threshold for SDUST; 0 to disable - int flag; // see MM_F_* macros int max_qlen; // max query length diff --git a/python/cmappy.pxd b/python/cmappy.pxd index ba1871d..7545cb8 100644 --- a/python/cmappy.pxd +++ b/python/cmappy.pxd @@ -10,9 +10,9 @@ cdef extern from "minimap.h": uint64_t batch_size ctypedef struct mm_mapopt_t: + int64_t flag int seed int sdust_thres - int flag int max_qlen int bw int max_gap, max_gap_ref