7 #ifndef FIND_SHARED_HPP_ 8 #define FIND_SHARED_HPP_ 11 #include "boost/property_tree/ptree_fwd.hpp" 12 #include "boost/scoped_ptr.hpp" 13 #include "boost/shared_ptr.hpp" 28 class Read_ginfo_store;
34 typedef detail::Queable_ofstream_types::value_type value_type;
35 typedef detail::Queable_ofstream_types::val_vector val_vector;
36 typedef detail::Queable_ofstream_types::val_ref_vector val_ref_vector;
38 typedef std::vector<unsigned> counts_v;
39 typedef std::vector<counts_v> hist_array_t;
42 VDJ_PIPE_STATIC_STRING_METHOD(name,
"find_shared")
43 VDJ_PIPE_STATIC_STRING_METHOD(category,
"post-processing")
44 VDJ_PIPE_STATIC_STRING_METHOD(description,
"XXX")
45 VDJ_PIPE_STATIC_STRING_METHOD(
47 "output sequence reads present in multiple sets" 52 boost::property_tree::ptree
const& pt,
58 void summary(std::ostream& os)
const;
62 std::size_t min_duplicates_;
65 std::size_t n_unique_;
70 boost::shared_ptr<Read_ginfo_store> rgs_;
71 boost::shared_ptr<Seq_store> ss_;
73 std::size_t unique_count_;
74 std::string redund_hist_;
76 value_type unset_val_;
81 std::vector<Val_id> ids_;
85 void write_sharing_matrix(
89 std::vector<Mapped_id>
const& sorted_vi
96 std::vector<Mapped_id>
const& sn
99 void write_redundancy(
101 hist_array_t
const& ha,
102 std::vector<Mapped_id>
const& sorted_vi
105 void write_redundancy_summ(
107 hist_array_t
const& ha,
108 std::vector<Mapped_id>
const& sorted_vi
116 std::vector<Mapped_id> sorted_ids()
const;
119 boost::scoped_ptr<File_ostream>&,
Format
File format types.
Definition: file_properties.hpp:42
Definition: sequence_interval.hpp:58
Compression
File compression types.
Definition: file_properties.hpp:19
Definition: value_map_access_single.hpp:16
Definition: find_shared.hpp:22
Definition: find_shared.hpp:32
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: pipe_environment.hpp:26
Set a fraction of sequence length to match.
Definition: min_match_length.hpp:93
Definition: variable_path.hpp:38
Definition: step_base_single.hpp:16