7 #ifndef PROCESSING_STEP_UTILS_HPP_ 8 #define PROCESSING_STEP_UTILS_HPP_ 11 #include "boost/property_tree/json_parser.hpp" 12 #include "boost/shared_ptr.hpp" 18 namespace bpt = boost::property_tree;
24 static const std::string pe_opts_str =
26 " \"base_path_input\": \"sample_data\", " 27 " \"base_path_output\": \"out/temp\", " 30 std::istringstream is1(pe_opts_str);
33 bpt::read_json(is1, pt1);
41 std::string
const& json
44 std::istringstream is2(json);
46 bpt::read_json(is2, pt2);
48 return Step(vma, pt2, pe);
62 void run(std::string
const& seq) {
Step make_step(Vm_access_single const &vma, std::string const &json)
Definition: processing_step_utils.hpp:39
Vm_access_single vma_
Definition: processing_step_utils.hpp:74
Definition: sequence_record.hpp:35
qual_type const & quality() const
Definition: value_map_access_single.hpp:43
Definition: value_map_access_single.hpp:16
boost::shared_ptr< Step > step_ptr
Definition: processing_step_utils.hpp:54
Pipe_environment make_pe(Value_map const &vm)
Definition: processing_step_utils.hpp:23
sequence_interval interval() const
Definition: value_map_access_single.hpp:47
void run(std::string const &seq)
Definition: processing_step_utils.hpp:62
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
Qual_record::quality qual
Definition: match_element_run.cpp:26
Definition: pipe_environment.hpp:26
Definition: processing_step_utils.hpp:53
Vm_access_single const & vma() const
Definition: processing_step_utils.hpp:71
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
Step step_
Definition: processing_step_utils.hpp:75
Store values mapped against name strings and value IDs.
Definition: value_map.hpp:23
seq_type const & sequence() const
Definition: value_map_access_single.hpp:41
Definition: value_names.hpp:20
void set_reverse(const bool rev)
Definition: value_map_access_single.hpp:71
bpt::ptree ptree
Definition: processing_step_utils.hpp:19
Step_harness(std::string const &json)
Definition: processing_step_utils.hpp:57