mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-04 19:28:12 +08:00
added two more filters
This commit is contained in:
@@ -69,6 +69,8 @@ static ko_longopt_t long_options[] = {
|
||||
{ "sam-hit-only", ko_no_argument, 342 },
|
||||
{ "idx-min-occ", ko_required_argument, 343 },
|
||||
{ "idx-max-occ", ko_required_argument, 344 },
|
||||
{ "flt-max-dv", ko_required_argument, 345 },
|
||||
{ "flt-min-blen", ko_required_argument, 346 },
|
||||
{ "help", ko_no_argument, 'h' },
|
||||
{ "max-intron-len", ko_required_argument, 'G' },
|
||||
{ "version", ko_no_argument, 'V' },
|
||||
@@ -214,6 +216,8 @@ int main(int argc, char *argv[])
|
||||
else if (c == 342) opt.flag |= MM_F_SAM_HIT_ONLY; // --sam-hit-only
|
||||
else if (c == 343) ipt.min_occ = mm_parse_num(o.arg); // --idx-min-occ
|
||||
else if (c == 344) ipt.max_occ = mm_parse_num(o.arg); // --idx-max-occ
|
||||
else if (c == 345) opt.flt_max_dv = atof(o.arg); // --flt-max-dv
|
||||
else if (c == 346) opt.flt_min_blen = mm_parse_num(o.arg); // --flt-min-blen
|
||||
else if (c == 314) { // --frag
|
||||
yes_or_no(&opt, MM_F_FRAG_MODE, o.longidx, o.arg, 1);
|
||||
} else if (c == 315) { // --secondary
|
||||
|
||||
Reference in New Issue
Block a user