mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-09 06:08:11 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -192,6 +192,7 @@ int32_t mm_idx_cal_max_occ(const mm_idx_t *mi, float f)
|
|||||||
if (f <= 0.) return INT32_MAX;
|
if (f <= 0.) return INT32_MAX;
|
||||||
for (i = 0; i < 1<<mi->b; ++i)
|
for (i = 0; i < 1<<mi->b; ++i)
|
||||||
if (mi->B[i].h) n += kh_size((idxhash_t*)mi->B[i].h);
|
if (mi->B[i].h) n += kh_size((idxhash_t*)mi->B[i].h);
|
||||||
|
if (n == 0) return INT32_MAX;
|
||||||
a = (uint32_t*)malloc(n * 4);
|
a = (uint32_t*)malloc(n * 4);
|
||||||
for (i = n = 0; i < 1<<mi->b; ++i) {
|
for (i = n = 0; i < 1<<mi->b; ++i) {
|
||||||
idxhash_t *h = (idxhash_t*)mi->B[i].h;
|
idxhash_t *h = (idxhash_t*)mi->B[i].h;
|
||||||
|
|||||||
+1
-1
@@ -2076,7 +2076,7 @@ function paf_mapeval(args)
|
|||||||
warn("Usage: paftools.js mapeval [options] <in.paf>|<in.sam>");
|
warn("Usage: paftools.js mapeval [options] <in.paf>|<in.sam>");
|
||||||
warn("Options:");
|
warn("Options:");
|
||||||
warn(" -r FLOAT mapping correct if overlap_length/union_length>FLOAT [" + ovlp_ratio + "]");
|
warn(" -r FLOAT mapping correct if overlap_length/union_length>FLOAT [" + ovlp_ratio + "]");
|
||||||
warn(" -Q INT print wrong mappings with mapQ>INT [don't print]");
|
warn(" -Q INT print wrong mappings with mapQ>=INT [don't print]");
|
||||||
warn(" -m INT 0: eval the longest aln only; 1: first aln only; 2: all primary aln [0]");
|
warn(" -m INT 0: eval the longest aln only; 1: first aln only; 2: all primary aln [0]");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user