This commit is contained in:
Haoyu Cheng
2019-09-02 10:30:14 -04:00
parent 3c0c201cdf
commit d5327fe9ee
15 changed files with 3396 additions and 656 deletions
+6 -1
View File
@@ -82,10 +82,13 @@ typedef struct
typedef struct
{
///the begining and end of a window, instead of the whole overlap
uint64_t x_start;
uint64_t x_end;
int y_end;
int y_start;
int extra_begin;
int extra_end;
///int y_pre_start;
///error小于等于0都要重新算
int error;
@@ -95,6 +98,7 @@ typedef struct
typedef struct
{
uint64_t x_id;
///the begining and end of the whole overlap
uint64_t x_pos_s;
uint64_t x_pos_e;
uint64_t x_pos_strand;
@@ -450,7 +454,8 @@ void destory_overlap_region_alloc(overlap_region_alloc* list);
void append_overlap_region_alloc(overlap_region_alloc* list, overlap_region* tmp, All_reads* R_INF);
void calculate_overlap_region(Candidates_list* candidates, overlap_region_alloc* overlap_list,
uint64_t readID, uint64_t readLength, All_reads* R_INF);
void append_window_list(overlap_region* region, uint64_t x_start, uint64_t x_end, int y_start, int y_end, int error);
void append_window_list(overlap_region* region, uint64_t x_start, uint64_t x_end, int y_start, int y_end, int error,
int extra_begin, int extra_end);