Skip to content

Commit

Permalink
Fixed a bug introduced in this branch. The beginning of the read coul…
Browse files Browse the repository at this point in the history
…d have gotten unaligned by accident.
  • Loading branch information
isovic committed Apr 9, 2016
1 parent cc1e47d commit 2e314e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphmap/anchored_mapping.cc
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ int AnchoredAlignment(bool is_linear, bool end_to_end, AlignmentFunctionType Ali
reversed_ref_front = reverse_data(ref_data + 0, (alignment_position_start - reference_start));
reversed_ref_len = alignment_position_start - reference_start;
} else {
int8_t *reversed_ref_front = reverse_data(ref_data + (alignment_position_start - 1) - (clip_count_front*2 - 1), clip_count_front*2);
reversed_ref_front = reverse_data(ref_data + (alignment_position_start - 1) - (clip_count_front*2 - 1), clip_count_front*2);
reversed_ref_len = clip_count_front*2;
}

Expand Down

0 comments on commit 2e314e6

Please sign in to comment.