A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/marbl/canu/commit/1a710dade00d17b8b0d84560d890359987037b7c below:

Fix over-trimming of short contig · marbl/canu@1a710da · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -603,7 +603,7 @@ unitigConsensus::generateTemplateStitch(void) {

603 603

goto retryCandidate;

604 604

}

605 605

else if (tiglen > minOlap && origLen > minOlap + TRIM_BP ) {

606 -

int32 trimbp = origLen - minOlap - TRIM_BP;

606 +

int32 trimbp = std::min(tiglen - minOlap, origLen - minOlap - TRIM_BP);

607 607

assert(trimbp > 0);

608 608

assert(origLen > minOlap + trimbp);

609 609

assert(ePos > trimbp);

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4