Skip to content

Commit

Permalink
resove tangle by hic
Browse files Browse the repository at this point in the history
  • Loading branch information
chhylp123 committed May 1, 2021
1 parent 9b31d47 commit 9c205c8
Show file tree
Hide file tree
Showing 3 changed files with 877 additions and 247 deletions.
2 changes: 1 addition & 1 deletion CommandLines.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <pthread.h>
#include <stdint.h>

#define HA_VERSION "0.15.1-r331"
#define HA_VERSION "0.15.1-r333"

#define VERBOSE 0

Expand Down
13 changes: 10 additions & 3 deletions Overlaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down
Loading

0 comments on commit 9c205c8

Please sign in to comment.