508 —> futhur graph cleaning

This commit is contained in:
chhylp123
2023-02-12 22:49:12 -05:00
parent 1166b92eb4
commit f2da12a2ad
13 changed files with 4422 additions and 110 deletions

View File

@@ -53,6 +53,7 @@ static ko_longopt_t long_options[] = {
{ "low-het", ko_no_argument, 339},
{ "s-base", ko_required_argument, 340},
{ "bin-only", ko_no_argument, 341},
{ "ul-round", ko_required_argument, 342},
{ 0, 0, 0 }
};
@@ -262,7 +263,7 @@ void init_opt(hifiasm_opt_t* asm_opt)
asm_opt->is_topo_trans = 1;
asm_opt->is_bub_trans = 1;
asm_opt->bin_only = 0;
asm_opt->ul_clean_round = 2;
asm_opt->ul_clean_round = 1;
}
void destory_enzyme(enzyme* f)
@@ -795,6 +796,7 @@ int CommandLine_process(int argc, char *argv[], hifiasm_opt_t* asm_opt)
if(asm_opt->trans_base_rate_sec < 0) asm_opt->is_base_trans = 0;
}
else if (c == 341) asm_opt->bin_only = 1;
else if (c == 342) asm_opt->ul_clean_round = atol(opt.arg);
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);
}