phasing improvement

This commit is contained in:
chhylp123
2021-04-27 21:35:49 -04:00
parent 11430d6a3b
commit 2fc2268268
4 changed files with 403 additions and 37 deletions
+6 -6
View File
@@ -12764,12 +12764,12 @@ 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);
// 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);
char* gfa_name = (char*)malloc(strlen(output_file_name)+25);
sprintf(gfa_name, "%s.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);