mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-11 03:20:55 +08:00
disable debug
This commit is contained in:
+6
-1
@@ -45,7 +45,7 @@ void Print_H(hifiasm_opt_t* asm_opt)
|
|||||||
|
|
||||||
fprintf(stderr, " Trio-partition:\n");
|
fprintf(stderr, " Trio-partition:\n");
|
||||||
fprintf(stderr, " -P FILE paternal trio index generated by \"yak count\" [NULL]\n");
|
fprintf(stderr, " -P FILE paternal trio index generated by \"yak count\" [NULL]\n");
|
||||||
fprintf(stderr, " -M FILE Maternal trio index generated by \"yak count\" [NULL]\n");
|
fprintf(stderr, " -M FILE maternal trio index generated by \"yak count\" [NULL]\n");
|
||||||
fprintf(stderr, " -c INT lower bound of the binned k-mer's frequency [%d]\n", asm_opt->min_cnt);
|
fprintf(stderr, " -c INT lower bound of the binned k-mer's frequency [%d]\n", asm_opt->min_cnt);
|
||||||
fprintf(stderr, " -d INT upper bound of the binned k-mer's frequency [%d]\n", asm_opt->mid_cnt);
|
fprintf(stderr, " -d INT upper bound of the binned k-mer's frequency [%d]\n", asm_opt->mid_cnt);
|
||||||
|
|
||||||
@@ -253,6 +253,11 @@ int check_option(hifiasm_opt_t* asm_opt)
|
|||||||
// fprintf(stderr, "size of popped small bubbles: %lld\n", asm_opt->small_pop_bubble_size);
|
// fprintf(stderr, "size of popped small bubbles: %lld\n", asm_opt->small_pop_bubble_size);
|
||||||
// fprintf(stderr, "size of popped large bubbles: %lld\n", asm_opt->large_pop_bubble_size);
|
// fprintf(stderr, "size of popped large bubbles: %lld\n", asm_opt->large_pop_bubble_size);
|
||||||
// fprintf(stderr, "small removed unitig threshold: %d\n", asm_opt->max_short_tip);
|
// fprintf(stderr, "small removed unitig threshold: %d\n", asm_opt->max_short_tip);
|
||||||
|
// fprintf(stderr, "small removed unitig threshold: %d\n", asm_opt->max_short_tip);
|
||||||
|
// fprintf(stderr, "pat_index: %s\n", asm_opt->pat_index);
|
||||||
|
// fprintf(stderr, "mat_index: %s\n", asm_opt->mat_index);
|
||||||
|
// fprintf(stderr, "min_cnt: %d\n", asm_opt->min_cnt);
|
||||||
|
// fprintf(stderr, "mid_cnt: %d\n", asm_opt->mid_cnt);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-2
@@ -25060,11 +25060,14 @@ ma_sub_t* coverage_cut, int debug_g)
|
|||||||
|
|
||||||
asg_arc_del_simple_circle_untig(sources, coverage_cut, sg, 100, 0);
|
asg_arc_del_simple_circle_untig(sources, coverage_cut, sg, 100, 0);
|
||||||
|
|
||||||
|
if(VERBOSE_GFA >= 1)
|
||||||
|
{
|
||||||
/*******************************for debug***************************************/
|
/*******************************for debug***************************************/
|
||||||
write_debug_graph(sg, sources, coverage_cut, output_file_name, n_read, reverse_sources, ruIndex);
|
write_debug_graph(sg, sources, coverage_cut, output_file_name, n_read, reverse_sources, ruIndex);
|
||||||
debug_gfa:;
|
debug_gfa:;
|
||||||
/*******************************for debug***************************************/
|
/*******************************for debug***************************************/
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
debug_ma_hit_t(sources, coverage_cut, n_read, max_hang_length,
|
debug_ma_hit_t(sources, coverage_cut, n_read, max_hang_length,
|
||||||
mini_overlap_length);
|
mini_overlap_length);
|
||||||
@@ -25137,7 +25140,8 @@ long long bubble_dist, int read_graph, int write)
|
|||||||
///actually min_thres = asm_opt.max_short_tip + 1 there are asm_opt.max_short_tip reads
|
///actually min_thres = asm_opt.max_short_tip + 1 there are asm_opt.max_short_tip reads
|
||||||
min_thres = asm_opt.max_short_tip + 1;
|
min_thres = asm_opt.max_short_tip + 1;
|
||||||
|
|
||||||
|
if(VERBOSE_GFA >= 1)
|
||||||
|
{
|
||||||
if(load_debug_graph(&sg, &sources, &coverage_cut, output_file_name, &reverse_sources, &ruIndex))
|
if(load_debug_graph(&sg, &sources, &coverage_cut, output_file_name, &reverse_sources, &ruIndex))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "debug gfa has been loaded\n");
|
fprintf(stderr, "debug gfa has been loaded\n");
|
||||||
@@ -25150,6 +25154,8 @@ long long bubble_dist, int read_graph, int write)
|
|||||||
destory_R_to_U(&ruIndex);
|
destory_R_to_U(&ruIndex);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (asm_opt.write_index_to_disk && write)
|
if (asm_opt.write_index_to_disk && write)
|
||||||
|
|||||||
Reference in New Issue
Block a user