Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger committed Sep 22, 2021
2 parents 9a0df0d + fa44760 commit 4a3bb34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/prefiltering/Prefiltering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -987,10 +987,10 @@ int Prefiltering::getKmerThreshold(const float sensitivity, const bool isProfile
if (kmerScore == INT_MAX) {
if(isProfile && hasContextPseudoCnts == true){
if (kmerSize == 5) {
float base = 127.75;
float base = 97.75;
kmerThrBest = base - (sensitivity * 8.75);
} else if (kmerSize == 6) {
float base = 142.75;
float base = 132.75;
kmerThrBest = base - (sensitivity * 8.75);
} else if (kmerSize == 7) {
float base = 158.75;
Expand All @@ -999,7 +999,7 @@ int Prefiltering::getKmerThreshold(const float sensitivity, const bool isProfile
Debug(Debug::ERROR) << "The k-mer size " << kmerSize << " is not valid.\n";
EXIT(EXIT_FAILURE);
}
} if(isProfile && hasContextPseudoCnts == false) {
} else if(isProfile && hasContextPseudoCnts == false) {
if (kmerSize == 5) {
float base = 117.35;
kmerThrBest = base - (sensitivity * 5.85);
Expand Down

0 comments on commit 4a3bb34

Please sign in to comment.