vdj_pipe
pipeline for processing DNA sequence data
write_sequence_step.hpp
Go to the documentation of this file.
1 
7 #ifndef WRITE_SEQUENCE_STEP_HPP_
8 #define WRITE_SEQUENCE_STEP_HPP_
9 #include <iosfwd>
10 #include <string>
11 #include "boost/property_tree/ptree_fwd.hpp"
12 #include "boost/shared_ptr.hpp"
13 #include "vdj_pipe/config.hpp"
17 
18 namespace vdj_pipe{
19 
22 class VDJ_PIPE_DECL Write_seq : public detail::Step_base_single {
23 public:
24  VDJ_PIPE_STATIC_STRING_METHOD(name, "write_sequence")
25  VDJ_PIPE_STATIC_STRING_METHOD(category, "output")
26  VDJ_PIPE_STATIC_STRING_METHOD(
27  comment,
28  "output sequences"
29  )
30  VDJ_PIPE_STATIC_STRING_METHOD(description, "XXX")
31 
32  Write_seq(
33  Vm_access_single const& vm,
34  boost::property_tree::ptree const& pt,
36  );
37 
38  void run();
39  void finish() {}
40  void summary(std::ostream& os) const;
41 
42 private:
44  std::size_t n_seq_;
45  bool trim_;
46  bool reverse_;
47  bool skip_empty_;
48 };
49 
50 }//namespace vdj_pipe
51 #endif /* WRITE_SEQUENCE_STEP_HPP_ */
Select output file based on variables in value map.
Definition: file_ostream_variant.hpp:27
Definition: write_sequence_step.hpp:22
Definition: value_map_access_single.hpp:16
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: pipe_environment.hpp:26
Definition: step_base_single.hpp:16