15#include <seqan3/search/views/minimiser_hash.hpp>
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);
Provides raptor::adjust_seed.
Provides raptor::call_parallel_on_bins.
Definition: file_reader.hpp:115
Definition: file_reader.hpp:36
Definition: index_factory.hpp:29
Provides raptor::dna4_traits.
Provides raptor::emplace_iterator.
Provides raptor::file_reader.
Provides raptor::raptor_index.
Provides raptor::partition_config.
Definition: build_arguments.hpp:28
Definition: partition_config.hpp:23