Raptor 3.0.0-rc.1
A fast and space-efficient pre-filter for querying very large collections of nucleotide sequences
 
bin_prefixes.hpp
Go to the documentation of this file.
1// --------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2023, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2023, Knut Reinert & MPI für molekulare Genetik
4// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5// shipped with this file and also available at: https://github.com/seqan/raptor/blob/main/LICENSE.md
6// --------------------------------------------------------------------------------------------------
7
13#pragma once
14
15#include <string_view>
16
17namespace raptor::hibf
18{
19
20constexpr std::string_view pack_file_first_line_prefix{"#HIGH_LEVEL_IBF"};
21constexpr std::string_view hibf_prefix{"HIGH_LEVEL_IBF"};
22static_assert(pack_file_first_line_prefix.ends_with(hibf_prefix));
23constexpr std::string_view merged_bin_prefix{"MERGED_BIN"};
24constexpr std::string_view split_bin_prefix{"SPLIT_BIN"};
25constexpr size_t merged_bin_prefix_length{merged_bin_prefix.size()};
26
27} // namespace raptor::hibf
T ends_with(T... args)
Must be first include.
Definition: bin_prefixes.hpp:18
T size(T... args)