Skip to content

Commit

Permalink
Relax template alignment positions to account for optimize positions
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Sep 5, 2020
1 parent c1329f7 commit 2c12c35
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 @@ -480,7 +480,7 @@ unitigConsensus::generateTemplateStitch(void) {
bool moreToExtend = (readEnd < readLen);


int32 maxDifference = min(1000, (int32)ceil(0.1*olapLen));
int32 maxDifference = min(2500, (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 2c12c35

Please sign in to comment.