7 #ifndef FILTER_STEP_HPP_ 8 #define FILTER_STEP_HPP_ 12 #include "boost/property_tree/ptree_fwd.hpp" 23 VDJ_PIPE_STATIC_STRING_METHOD(name,
"character_filter")
24 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
25 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
26 VDJ_PIPE_STATIC_STRING_METHOD(
28 "discard reads that have nucleotides other than specified" 33 boost::property_tree::ptree
const& pt,
41 std::vector<char> ch_;
49 VDJ_PIPE_STATIC_STRING_METHOD(name,
"length_filter")
50 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
51 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
52 VDJ_PIPE_STATIC_STRING_METHOD(
54 "discard reads with length outside of [min, max] rage" 59 boost::property_tree::ptree
const& pt,
77 VDJ_PIPE_STATIC_STRING_METHOD(name,
"homopolymer_filter")
78 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
79 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
80 VDJ_PIPE_STATIC_STRING_METHOD(
82 "discard reads that contain a homopolymer longer than minimal length" 87 boost::property_tree::ptree
const& pt,
102 typedef Qual_record::quality::value_type value_type;
104 VDJ_PIPE_STATIC_STRING_METHOD(name,
"min_quality_filter")
105 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
106 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
107 VDJ_PIPE_STATIC_STRING_METHOD(
109 "discard reads that contain a quality score lower than minimal" 114 boost::property_tree::ptree
const& pt,
130 VDJ_PIPE_STATIC_STRING_METHOD(name,
"average_quality_filter")
131 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
132 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
133 VDJ_PIPE_STATIC_STRING_METHOD(
135 "discard reads with average quality score lower than minimal" 140 boost::property_tree::ptree
const& pt,
156 VDJ_PIPE_STATIC_STRING_METHOD(name,
"min_quality_window_filter")
157 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
158 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
159 VDJ_PIPE_STATIC_STRING_METHOD(
161 "find longest interval with each quality score greater than " 162 "minimal; discard reads where the interval found is shorter " 168 boost::property_tree::ptree
const& pt,
176 Qual_record::quality::value_type min_qual_;
177 std::size_t min_len_;
185 VDJ_PIPE_STATIC_STRING_METHOD(name,
"average_quality_window_filter")
186 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
187 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
188 VDJ_PIPE_STATIC_STRING_METHOD(
190 "find longest interval with average quality score greater than " 191 "minimal; discard reads where the interval found is shorter " 197 boost::property_tree::ptree
const& pt,
206 std::size_t win_len_;
209 std::size_t min_qual_l_;
212 std::size_t min_len_;
220 VDJ_PIPE_STATIC_STRING_METHOD(name,
"ambiguous_window_filter")
221 VDJ_PIPE_STATIC_STRING_METHOD(category,
"filter")
223 VDJ_PIPE_STATIC_STRING_METHOD(
225 "Truncate reads to bring number of ambiguous bases below maximum" 228 VDJ_PIPE_STATIC_STRING_METHOD(description,
229 "Find read interval at least min_len nucleotides long that has " 230 "at most max_ambiguous ambiguous nucleotides. " 231 "Discard reads where such interval cannot be found. " 232 "If min_len is zero, require that the whole read contains at most " 233 "max_ambiguous ambiguous nucleotides." 238 boost::property_tree::ptree
const& pt,
246 std::size_t min_len_;
247 std::size_t max_ambiguous_;
Definition: filter_step.hpp:217
Definition: filter_base.hpp:17
Definition: filter_step.hpp:127
Definition: value_map_access_single.hpp:16
Definition: filter_step.hpp:182
Definition: filter_base.hpp:51
Definition: filter_step.hpp:100
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: filter_step.hpp:20
Definition: filter_step.hpp:153
Definition: pipe_environment.hpp:26
Definition: filter_step.hpp:74
Definition: filter_step.hpp:46