This commit is contained in:
chhylp123
2023-02-16 00:04:06 -05:00
parent f2da12a2ad
commit 286b897881
20 changed files with 66 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
#define __STDC_LIMIT_MACROS
#include <zlib.h>
#include <stdlib.h>
#include <stdio.h>
@@ -54,6 +55,7 @@ static ko_longopt_t long_options[] = {
{ "s-base", ko_required_argument, 340},
{ "bin-only", ko_no_argument, 341},
{ "ul-round", ko_required_argument, 342},
{ "prt-raw", ko_no_argument, 343},
{ 0, 0, 0 }
};
@@ -264,6 +266,7 @@ void init_opt(hifiasm_opt_t* asm_opt)
asm_opt->is_bub_trans = 1;
asm_opt->bin_only = 0;
asm_opt->ul_clean_round = 1;
asm_opt->prt_dbg_gfa = 0;
}
void destory_enzyme(enzyme* f)
@@ -797,6 +800,7 @@ int CommandLine_process(int argc, char *argv[], hifiasm_opt_t* asm_opt)
}
else if (c == 341) asm_opt->bin_only = 1;
else if (c == 342) asm_opt->ul_clean_round = atol(opt.arg);
else if (c == 343) asm_opt->prt_dbg_gfa = 1;
else if (c == 'l') { ///0: disable purge_dup; 1: purge containment; 2: purge overlap
asm_opt->purge_level_primary = asm_opt->purge_level_trio = atoi(opt.arg);
}