mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-08 10:48:13 +08:00
edit distance based error correction
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef __CORRECT__
|
||||
#define __CORRECT__
|
||||
#include <stdint.h>
|
||||
#include "Hash_Table.h"
|
||||
|
||||
#define WINDOW 350
|
||||
#define THRESHOLD 15
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint64_t* overlapID;
|
||||
uint64_t length;
|
||||
uint64_t lengthNT;
|
||||
uint64_t size;
|
||||
uint64_t start_i;
|
||||
char overlap_region[WINDOW + THRESHOLD*2 + 10];
|
||||
} Correct_dumy;
|
||||
|
||||
|
||||
void correct_overlap(overlap_region_alloc* overlap_list, All_reads* R_INF, UC_Read* g_read, Correct_dumy* dumy);
|
||||
|
||||
void init_Correct_dumy(Correct_dumy* list);
|
||||
void destory_Correct_dumy(Correct_dumy* list);
|
||||
void clear_Correct_dumy(Correct_dumy* list, overlap_region_alloc* overlap_list);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user