Skip to content

Commit

Permalink
fix too low padding
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Sep 17, 2024
1 parent bce488f commit 0d51e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utgcns/unitigConsensus.C
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ unitigConsensus::generateTemplateStitch(void) {
bool moreToExtend = (readEnd < readLen);


int32 maxDifference = std::min(MAX_PADDING, (int32)ceil(0.30*olapLen));
int32 maxDifference = std::min(MAX_PADDING*10, (int32)ceil(0.30*olapLen));
// Reset if the edit distance is waay more than our error rate allows or it's very short and we haven't topped out on error. This seems to be a quirk with
// edlib when aligning to N's - I got startLocation = endLocation = 0 and editDistance = alignmentLength.
if ((double)result.editDistance / result.alignmentLength > bandErrRate ||
Expand Down

0 comments on commit 0d51e7d

Please sign in to comment.