Skip to content

Commit

Permalink
Set a default bucket size for the read length histogram. Issue marbl#436
Browse files Browse the repository at this point in the history
.
  • Loading branch information
brianwalenz committed Apr 3, 2017
1 parent fb75616 commit 0efa80e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pipelines/canu/Gatekeeper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ sub gatekeeperGenerateReadLengths ($$) {
$bucketSize = 1000;
} elsif ($maxLen - $minLen < 1000000) {
$bucketSize = 5000;
} else {
$bucketSize = 10000;
}

# Generate the histogram (int truncates)
Expand Down

0 comments on commit 0efa80e

Please sign in to comment.