mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-11 04:30:57 +08:00
resove tangle by hic
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define HA_VERSION "0.15.1-r331"
|
#define HA_VERSION "0.15.1-r333"
|
||||||
|
|
||||||
#define VERBOSE 0
|
#define VERBOSE 0
|
||||||
|
|
||||||
|
|||||||
+8
-1
@@ -12765,20 +12765,27 @@ long long gap_fuzz, bub_label_t* b_mask_t)
|
|||||||
hic_analysis(ug, sg, cov?cov->t_ch:t_ch);
|
hic_analysis(ug, sg, cov?cov->t_ch:t_ch);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
char* gfa_name = (char*)malloc(strlen(output_file_name)+25);
|
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");
|
FILE* output_file = fopen(gfa_name, "w");
|
||||||
ma_ug_print_simple(ug, &R_INF, sg, coverage_cut, sources, ruIndex, "utg", output_file);
|
ma_ug_print_simple(ug, &R_INF, sg, coverage_cut, sources, ruIndex, "utg", output_file);
|
||||||
fclose(output_file);
|
fclose(output_file);
|
||||||
free(gfa_name);
|
free(gfa_name);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(cov) destory_hap_cov_t(&cov);
|
if(cov) destory_hap_cov_t(&cov);
|
||||||
if(t_ch) destory_trans_chain(&t_ch);
|
if(t_ch) destory_trans_chain(&t_ch);
|
||||||
|
|
||||||
ma_ug_destroy(ug);
|
ma_ug_destroy(ug);
|
||||||
kv_destroy(new_rtg_edges.a);
|
kv_destroy(new_rtg_edges.a);
|
||||||
|
|
||||||
|
|
||||||
asg_arc_t* av = NULL;
|
asg_arc_t* av = NULL;
|
||||||
uint32_t v, w, k, i, nv;
|
uint32_t v, w, k, i, nv;
|
||||||
for (i = 0; i < d_edges.a.n; i++)
|
for (i = 0; i < d_edges.a.n; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user