Skip to content

Commit

Permalink
Adjust createindex to handle maskNlower
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger authored Jan 10, 2025
1 parent 0266ea5 commit 934db4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prefiltering/PrefilteringIndexReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ void PrefilteringIndexReader::createIndexFile(const std::string &outDB,
IndexTable indexTable(adjustAlphabetSize, kmerSize, false);
SequenceLookup *sequenceLookup = NULL;
IndexBuilder::fillDatabase(&indexTable,
(maskMode == 1 || maskLowerCase == 1) ? &sequenceLookup : NULL,
(maskMode == 0 && maskLowerCase == 0) ? &sequenceLookup : NULL,
(maskMode == 1 || maskNrepeats > 0 || maskLowerCase == 1) ? &sequenceLookup : NULL,
(maskMode == 0 && maskNrepeats == 0 && maskLowerCase == 0) ? &sequenceLookup : NULL,
*subMat, s3, s2, &seq, dbr1, dbFrom, dbFrom + dbSize, kmerThr,
maskMode, maskLowerCase, maskProb, maskNrepeats, targetSearchMode);
indexTable.printStatistics(subMat->num2aa);
Expand Down

0 comments on commit 934db4f

Please sign in to comment.