15#include <seqan3/search/views/minimiser_hash.hpp>
39 if (arguments->input_is_minimiser)
49 if (arguments->input_is_minimiser)
55 [[nodiscard]]
raptor_index<> operator()(
size_t const part = 0u)
const
57 return construct(part);
67 assert(arguments !=
nullptr);
69 arguments->index_allocation_timer.start();
71 arguments->index_allocation_timer.stop();
73 auto worker = [&](
auto && zipped_view,
auto &&)
78 auto & ibf = index.ibf();
80 for (
auto && [file_names, bin_number] : zipped_view)
83 local_user_bin_io_timer.start();
85 [&](
auto const & reader)
87 if (config ==
nullptr)
90 reader.hash_into_if(file_names,
92 [&](uint64_t
const hash)
94 return config->hash_partition(hash) == part;
98 local_user_bin_io_timer.stop();
100 local_fill_ibf_timer.start();
101 for (
auto && value : hashes)
102 ibf.emplace(value, seqan3::bin_index{bin_number});
103 local_fill_ibf_timer.stop();
106 arguments->user_bin_io_timer += local_user_bin_io_timer;
107 arguments->fill_ibf_timer += local_fill_ibf_timer;
110 call_parallel_on_bins(worker, arguments->bin_path, arguments->threads);
Provides raptor::adjust_seed.
T back_inserter(T... args)
Provides raptor::call_parallel_on_bins.
Definition: file_reader.hpp:32
Definition: index_factory.hpp:28
Provides raptor::dna4_traits.
Provides raptor::file_reader.
Provides raptor::raptor_index.
Provides raptor::partition_config.
Definition: build_arguments.hpp:28
Definition: partition_config.hpp:23