Skip to content

Commit

Permalink
Remove k-mer lemma check
Browse files Browse the repository at this point in the history
  • Loading branch information
eaasna committed Nov 5, 2024
1 parent c348341 commit a1e59bb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions include/utilities/threshold/filtering_request.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,7 @@ struct filtering_request
const metadata & query_meta;

filtering_request(search_pattern const & pat, metadata const & ref, metadata const & query) :
pattern(pat), ref_meta(ref), query_meta(query)
{
auto space = param_space();
if (pat.e > space.max_errors)
throw std::runtime_error{"error_count=" + std::to_string(pat.e) + " out of range [0, " +
std::to_string(space.max_errors) + "]"};
if (pat.l > space.max_len)
throw std::runtime_error{"min_len=" + std::to_string(pat.l) + " out of range [0, " +
std::to_string(space.max_len) + "]"};
}
pattern(pat), ref_meta(ref), query_meta(query) { }

/**
* @brief An approximation of the probability of a query segment having a spurious match in a reference bin.
Expand Down

0 comments on commit a1e59bb

Please sign in to comment.