resove tangle by hic

This commit is contained in:
chhylp123
2021-04-30 22:44:48 -04:00
parent 9b31d47379
commit 9c205c8271
3 changed files with 781 additions and 151 deletions
+10 -3
View File
@@ -12765,20 +12765,27 @@ long long gap_fuzz, bub_label_t* b_mask_t)
hic_analysis(ug, sg, cov?cov->t_ch:t_ch);
char* gfa_name = (char*)malloc(strlen(output_file_name)+25);
sprintf(gfa_name, "%s.d_utg.noseq.gfa", output_file_name);
sprintf(gfa_name, "%s.clean_d_utg.noseq.gfa", output_file_name);
FILE* output_file = fopen(gfa_name, "w");
ma_ug_print_simple(ug, &R_INF, sg, coverage_cut, sources, ruIndex, "utg", output_file);
fclose(output_file);
free(gfa_name);
if(cov) destory_hap_cov_t(&cov);
if(t_ch) destory_trans_chain(&t_ch);
ma_ug_destroy(ug);
kv_destroy(new_rtg_edges.a);
asg_arc_t* av = NULL;
uint32_t v, w, k, i, nv;
for (i = 0; i < d_edges.a.n; i++)