Skip to content

Commit

Permalink
Log auxiliary hash length only with -v
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed May 22, 2024
1 parent 8c069ee commit d335ecd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ void StrobemerIndex::populate(float f, unsigned n_threads) {
}
stats.tot_strobemer_count = total_randstrobes;

logger.info() << "Auxiliary hash length is : " << parameters.randstrobe.aux_len;

logger.debug() << " Total number of randstrobes: " << total_randstrobes << '\n';
uint64_t memory_bytes = references.total_length() + sizeof(RefRandstrobe) * total_randstrobes + sizeof(bucket_index_t) * (1u << bits);
logger.debug() << " Estimated total memory usage: " << memory_bytes / 1E9 << " GB\n";
Expand Down
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ int run_strobealign(int argc, char **argv) {
throw InvalidFasta("Too many reference sequences. Current maximum is " + std::to_string(RefRandstrobe::max_number_of_references));
}

logger.debug() << "Auxiliary hash length: " << index_parameters.randstrobe.aux_len << "\n";
StrobemerIndex index(references, index_parameters, opt.bits);
if (opt.use_index) {
// Read the index from a file
Expand Down

0 comments on commit d335ecd

Please sign in to comment.