Skip to content

Commit b9fb9eb

Browse files
committed
Adopt a default extension score threshold of 1
1 parent 77ca6a7 commit b9fb9eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/minimizer_mapper.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class MinimizerMapper : public AlignerClient {
7575

7676
//If an extension's score is smaller than the best extension's score by
7777
//more than this much, don't align it
78-
int extension_score_threshold = 0;
78+
int extension_score_threshold = 1;
7979

8080
size_t max_multimaps = 1;
8181
size_t distance_limit = 1000;

src/subcommand/gaffe_main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void help_gaffe(char** argv) {
6262
<< " -a, --max-alignments INT align up to INT extensions [8]" << endl
6363
<< " -s, --cluster-score INT only extend clusters if they are within cluster-score of the best score" << endl
6464
<< " -u, --cluster-coverage FLOAT only extend clusters if they are within cluster-coverage of the best read coverage" << endl
65-
<< " -v, --extension-score INT only align extensions if their score is within extension-score of the best score" << endl
65+
<< " -v, --extension-score INT only align extensions if their score is within extension-score of the best score [1]" << endl
6666
<< " -w, --extension-set INT only align extension sets if their score is within extension-set of the best score" << endl
6767
<< " -O, --no-dp disable all gapped alignment" << endl
6868
<< " --track-provenance track how internal intermediate alignment candidates were arrived at" << endl
@@ -113,7 +113,7 @@ int main_gaffe(int argc, char** argv) {
113113
//Throw away extension sets with scores that are this amount below the best
114114
double extension_set = 0;
115115
//Throw away extensions with scores that are this amount below the best
116-
int extension_score = 0;
116+
int extension_score = 1;
117117
// What sample name if any should we apply?
118118
string sample_name;
119119
// What read group if any should we apply?

0 commit comments

Comments
 (0)