17#include <seqan3/search/dream_index/interleaved_bloom_filter.hpp>
26template <index_structure::is_hibf data_t,
typename arguments_t>
27static inline void store_index(
std::filesystem::path const & path, raptor_index<data_t> && index, arguments_t
const &)
30 cereal::BinaryOutputArchive oarchive{os};
34template <index_structure::is_ibf data_t,
typename arguments_t>
36store_index(
std::filesystem::path const & path, raptor_index<data_t> && index, arguments_t
const & arguments)
38 if (!arguments.compressed)
41 cereal::BinaryOutputArchive oarchive{os};
46 raptor_index<index_structure::ibf_compressed> compressed_index{std::move(index)};
48 cereal::BinaryOutputArchive oarchive{os};
49 oarchive(compressed_index);
53template <seqan3::data_layout layout,
typename arguments_t>
55 seqan3::interleaved_bloom_filter<layout> && ibf,
56 arguments_t
const & arguments)
58 raptor_index<seqan3::interleaved_bloom_filter<layout>> index{window{arguments.window_size},
67 cereal::BinaryOutputArchive oarchive{os};
Provides raptor::raptor_index.