Skip to content

Commit

Permalink
Use ovl.correctionScore(), NOT the legacy score (incorrectly added wh…
Browse files Browse the repository at this point in the history
…en falcon_sense merged).
  • Loading branch information
brianwalenz committed Sep 8, 2017
1 parent 1d5b188 commit 6bdfc82
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/correction/generateCorrectionLayouts.C
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ generateLayout(gkStore *gkpStore,
// Score '100 * ovlLength * (1 - ovl[oo].erate())' was tried early on, but it was worse than
// the 'legacy' score. This had been an option, always enabled, until August 2017.

uint64 ovlLength = ((ovl[oo].b_bgn() < ovl[oo].b_end()) ?
ovl[oo].b_end() - ovl[oo].b_bgn() :
ovl[oo].b_bgn() - ovl[oo].b_end());
uint64 ovlScore = ovlLength << AS_MAX_EVALUE_BITS | (AS_MAX_EVALUE - ovl[oo].evalue());
uint64 ovlLength = ovl[oo].b_len();
uint64 ovlScore = ovl[oo].correctionScore(true);

if (ovlLength > AS_MAX_READLEN) {
char ovlString[1024];
Expand Down

0 comments on commit 6bdfc82

Please sign in to comment.