7 #ifndef ME_POSITIONAL_HPP_ 8 #define ME_POSITIONAL_HPP_ 10 #include "boost/utility/string_ref.hpp" 39 std::string
const& match_value_name,
49 std::string
const& match_value_name,
67 return result(seq.substr(si1.lower(), width(si1)), si1);
81 if( name_val_id_ && seq.size() ) vm_[name_val_id_] = seq.to_string();
Sequence position defined relatively to an interval.
Definition: me_relative_position.hpp:16
Definition: sequence_record.hpp:35
void finish()
Definition: me_positional.hpp:70
int length() const
Definition: me_relative_interval.hpp:41
Match_element_positional(Value_map const &vm, std::string const &match_value_name, const int pos, const bool re_start, const int length)
Definition: me_positional.hpp:47
Identify DNA sequence interval by position only.
Definition: me_positional.hpp:22
Match_element_positional(Value_map const &, std::string const &, const std::size_t, const std::size_t, const std::size_t)
sequence_interval result(const sequence seq=sequence(), sequence_interval const &si=sequence_interval_invalid())
Definition: me_positional.hpp:77
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
Relative_interval ri_
Definition: me_positional.hpp:75
Value_map vm_
Definition: me_positional.hpp:73
sequence_interval operator()(const sequence seq, quality const &, sequence_interval const &si)
Definition: me_positional.hpp:59
sequence_interval sequence_interval_invalid()
Definition: sequence_interval.hpp:44
Qual_record::quality quality
Definition: me_positional.hpp:35
boost::string_ref sequence
Definition: me_positional.hpp:34
boost::numeric::interval< int, boost::numeric::interval_lib::policies< boost::numeric::interval_lib::rounded_math< int >, detail::Interval_checking_policy< int > > > sequence_interval
Definition: sequence_interval.hpp:40
Definition: exception.hpp:23
bool is_valid(vdj_pipe::sequence_interval const &si)
Definition: sequence_interval.hpp:62
Store values mapped against name strings and value IDs.
Definition: value_map.hpp:23
Val_id name_val_id_
Definition: me_positional.hpp:74
Match_element_positional(Value_map const &vm, std::string const &match_value_name, Relative_interval const &ri)
Definition: me_positional.hpp:37
Definition: me_positional.hpp:33
const sequence_interval si1(0, 18)
Definition: me_relative_interval.hpp:15