mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-11 06:50:55 +08:00
working on mid-sized test example
This commit is contained in:
@@ -7213,8 +7213,6 @@ void correct_overlap(overlap_region_alloc* overlap_list, All_reads* R_INF,
|
|||||||
haplotype_evdience_alloc* hap, Round2_alignment* second_round,
|
haplotype_evdience_alloc* hap, Round2_alignment* second_round,
|
||||||
int force_repeat, int is_consensus, int* fully_cov, int* abnormal)
|
int force_repeat, int is_consensus, int* fully_cov, int* abnormal)
|
||||||
{
|
{
|
||||||
reverse_complement(g_read->seq, g_read->length);
|
|
||||||
|
|
||||||
clear_Correct_dumy(dumy, overlap_list);
|
clear_Correct_dumy(dumy, overlap_list);
|
||||||
|
|
||||||
long long window_start, window_end;
|
long long window_start, window_end;
|
||||||
@@ -7261,7 +7259,6 @@ void correct_overlap(overlap_region_alloc* overlap_list, All_reads* R_INF,
|
|||||||
|
|
||||||
|
|
||||||
(*fully_cov) = check_if_fully_covered(overlap_list, R_INF, g_read, dumy, g, abnormal);
|
(*fully_cov) = check_if_fully_covered(overlap_list, R_INF, g_read, dumy, g, abnormal);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -108,8 +108,8 @@ void ha_get_new_candidates(ha_abuf_t *ab, int64_t rid, UC_Read *ucr, overlap_reg
|
|||||||
fprintf(stderr, "B\t%ld\t%ld\n", (long)overlap_list->length, (long)overlap_list->mapped_overlaps_length);
|
fprintf(stderr, "B\t%ld\t%ld\n", (long)overlap_list->length, (long)overlap_list->mapped_overlaps_length);
|
||||||
for (int i = 0; i < (int)overlap_list->length; ++i) {
|
for (int i = 0; i < (int)overlap_list->length; ++i) {
|
||||||
overlap_region *r = &overlap_list->list[i];
|
overlap_region *r = &overlap_list->list[i];
|
||||||
fprintf(stderr, "C\t%d\t%d\t%d\t%c\t%d\t%d\t%d\t%c\t%d\n", (int)r->x_id, (int)r->x_pos_s, (int)r->x_pos_e, "+-"[r->x_pos_strand],
|
fprintf(stderr, "C\t%d\t%d\t%d\t%c\t%d\t%d\t%d\t%c\t%d\t%d\n", (int)r->x_id, (int)r->x_pos_s, (int)r->x_pos_e, "+-"[r->x_pos_strand],
|
||||||
(int)r->y_id, (int)r->y_pos_s, (int)r->y_pos_e, "+-"[r->y_pos_strand], (int)r->shared_seed);
|
(int)r->y_id, (int)r->y_pos_s, (int)r->y_pos_e, "+-"[r->y_pos_strand], (int)r->shared_seed, r->is_match);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user