Raptor 3.0.0-rc.1
A fast and space-efficient pre-filter for querying very large collections of nucleotide sequences
 
threshold_parameters.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 <filesystem>
16
17#include <seqan3/search/kmer_index/shape.hpp>
18
19namespace raptor::threshold
20{
21
23{
24 // Basic.
25 uint32_t window_size{};
26 seqan3::shape shape{};
27 uint64_t query_length{};
28
29 // Threshold.
30 uint8_t errors{}; // threshold_kinds::(probabilistic|lemma)
31 double percentage{std::numeric_limits<double>::quiet_NaN()}; // threshold_kinds::percentage
32 double p_max{}; // threshold_kinds::probabilistic
33 double fpr{}; // threshold_kinds::probabilistic
34 double tau{}; // threshold_kinds::probabilistic
35
36 // Cache results.
37 bool cache_thresholds{};
38 std::filesystem::path output_directory{};
39};
40
41} // namespace raptor::threshold
T quiet_NaN(T... args)
Definition: threshold_parameters.hpp:23