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 &)
29 std::ofstream os{path, std::ios::binary};
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)
40 std::ofstream os{path, std::ios::binary};
41 cereal::BinaryOutputArchive oarchive{os};
47 std::ofstream os{path, std::ios::binary};
48 cereal::BinaryOutputArchive oarchive{os};
49 oarchive(compressed_index);
53template <seqan3::data_layout layout,
typename arguments_t>
54static inline void store_index(std::filesystem::path
const & path,
55 seqan3::interleaved_bloom_filter<layout> && ibf,
56 arguments_t
const & arguments)
66 std::ofstream os{path, std::ios::binary};
67 cereal::BinaryOutputArchive oarchive{os};
Provides raptor::raptor_index.
Strong type for passing the window size.
Definition strong_types.hpp:22