mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-08 08:08:13 +08:00
r462: SAM primary flag not properly set
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
#include "mmpriv.h"
|
#include "mmpriv.h"
|
||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
|
|
||||||
#define MM_VERSION "2.2-r461-dirty"
|
#define MM_VERSION "2.2-r462-dirty"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|||||||
@@ -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;
|
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, a);
|
||||||
kfree(km, sc.a);
|
kfree(km, sc.a);
|
||||||
|
|||||||
Reference in New Issue
Block a user