40 if (arguments->input_is_minimiser)
50 if (arguments->input_is_minimiser)
56 [[nodiscard]]
raptor_index<> operator()(
size_t const part = 0u)
const
58 return construct(part);
68 assert(arguments !=
nullptr);
70 arguments->index_allocation_timer.start();
72 arguments->index_allocation_timer.stop();
74 auto worker = [&](
auto && zipped_view,
auto &&)
77 auto & ibf = index.ibf();
79 for (
auto && [file_names, bin_number] : zipped_view)
82 [&](
auto const & reader)
84 if (config ==
nullptr)
85 reader.hash_into(file_names, emplacer(ibf, seqan3::bin_index{bin_number}));
87 reader.hash_into_if(file_names,
88 emplacer(ibf, seqan3::bin_index{bin_number}),
89 [&](uint64_t
const hash)
91 return config->hash_partition(hash) == part;
97 arguments->user_bin_io_timer += local_timer;
98 arguments->fill_ibf_timer += local_timer;
101 call_parallel_on_bins(worker, arguments->bin_path, arguments->threads);