diff --git a/main.c b/main.c index 6b4bcc8..c7c152a 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.2-r461-dirty" +#define MM_VERSION "2.2-r462-dirty" #ifdef __linux__ #include diff --git a/pe.c b/pe.c index 827be83..c3174bc 100644 --- a/pe.c +++ b/pe.c @@ -143,6 +143,8 @@ void mm_pair(void *km, int max_gap_ref, int pe_bonus, int sub_diff, int match_sc if (r[1]->mapq < 1) r[1]->mapq = 1; } } + mm_set_sam_pri(n_regs[0], regs[0]); + mm_set_sam_pri(n_regs[1], regs[1]); kfree(km, a); kfree(km, sc.a);