mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-08 17:58:12 +08:00
full error correction
This commit is contained in:
@@ -27,6 +27,7 @@ typedef struct
|
||||
{
|
||||
uint64_t in_node;
|
||||
uint64_t out_node;
|
||||
///0是match,1是mismatch,2是x缺字符(y多字符),而3是y缺字符(x多字符)
|
||||
uint64_t weight;
|
||||
} Edge;
|
||||
|
||||
@@ -40,6 +41,7 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
uint64_t ID;
|
||||
uint64_t weight;
|
||||
char base;
|
||||
Edge_alloc income_edges;
|
||||
Edge_alloc outcome_edges;
|
||||
@@ -60,6 +62,7 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Node total_start;
|
||||
Node* list;
|
||||
topo_Sorting_buffer sort;
|
||||
uint64_t size;
|
||||
@@ -96,9 +99,14 @@ uint64_t* get_Topo_Sort_Order(Node_alloc* list, int need_sort);
|
||||
|
||||
void init_Graph(Graph* g);
|
||||
void addUnmatchedSeqToGraph(Graph* g, char* g_read_seq, long long g_read_length, long long* startID, long long* endID);
|
||||
void addmatchedSeqToGraph(Graph* backbone, long long currentNodeID, char* x_string, long long x_length,
|
||||
char* y_string, long long y_length, CIGAR* cigar, long long backbone_start, long long backbone_end);
|
||||
void destory_Graph(Graph* g);
|
||||
void clear_Graph(Graph* g);
|
||||
void Perform_POA(Graph* g, overlap_region_alloc* overlap_list, All_reads* R_INF, UC_Read* g_read);
|
||||
|
||||
void Graph_debug(Graph* backbone, long long currentNodeID, char* x_string, long long x_length,
|
||||
char* y_string, long long y_length, CIGAR* cigar, long long backbone_start, long long backbone_end);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user