run_metrics.h
Go to the documentation of this file.
128 void read(const std::string &run_folder, const size_t thread_count=1) INTEROP_THROW_SPEC((xml::xml_file_not_found_exception,
176 size_t read_xml(const std::string &run_folder) INTEROP_THROW_SPEC((io::file_not_found_exception,
187 void read_run_info(const std::string &run_folder) INTEROP_THROW_SPEC((xml::xml_file_not_found_exception,
198 size_t read_run_parameters(const std::string &run_folder, const bool force_load=false) INTEROP_THROW_SPEC((
210 void finalize_after_load(size_t count = std::numeric_limits<size_t>::max()) INTEROP_THROW_SPEC((
241 size_t count_legacy_bins(const size_t legacy_bin_count=std::numeric_limits<size_t>::max())const;
249 bool is_run_parameters_required(const size_t legacy_bin_count=std::numeric_limits<size_t>::max())const;
390 void read_metrics(const std::string &run_folder, const size_t last_cycle, const size_t thread_count) INTEROP_THROW_SPEC((
421 void write_metrics(const std::string &run_folder, const bool use_out=true)const INTEROP_THROW_SPEC((
464 void validate() INTEROP_THROW_SPEC((invalid_run_info_exception, invalid_run_info_cycle_exception));
run_metrics(const run::info &run_info, const run::parameters &run_param=run::parameters())
Definition: run_metrics.h:107
std::map< id_t, metric_base::base_metric > tile_metric_map_t
Definition: run_metrics.h:87
Error rate for a spiked in PhiX control sample.
Definition: error_metric.h:112
void read_metrics(const std::string &run_folder, const size_t last_cycle, const size_t thread_count) INTEROP_THROW_SPEC((io void read_metrics(const std::string &run_folder, const size_t last_cycle, const std::vector< unsigned char > &valid_to_load, const size_t thread_count, const bool skip_loaded=false) INTEROP_THROW_SPEC((io void write_metrics(const std::string &run_folder, const bool use_out=true) const INTEROP_THROW_SPEC((io void read_metrics_from_buffer(const constants::metric_group group,::uint8_t *buffer, const size_t buffer_size) INTEROP_THROW_SPEC((io void write_metrics_to_buffer(const constants::metric_group group,::uint8_t *buffer, const size_t buffer_size) const INTEROP_THROW_SPEC((io size_t calculate_buffer_size(const constants::metric_group group) const INTEROP_THROW_SPEC((io voi validate)() INTEROP_THROW_SPEC((invalid_run_info_exception
Definition: run_metrics.h:464
Definition: metric_set.h:40
void read_callback(ReadFunc &func)
Definition: run_metrics.h:471
Definition: enum_description.h:15
Definition: run_exceptions.h:39
Definition: info.h:35
Definition: extraction_metric.h:85
bool is_run_parameters_required(const size_t legacy_bin_count=std::numeric_limits< size_t >::max()) const
Definition: run_metrics_helper.cpp:219
Definition: run_metrics.h:54
std::set< uint_t > id_set_t
Definition: metric_set.h:65
Definition: base_metric.h:130
const run::parameters & run_parameters() const
Definition: run_metrics.h:274
Definition: index_metric.h:221
Definition: q_collapsed_metric.h:59
void read(const std::string &run_folder, const size_t thread_count=1) INTEROP_THROW_SPEC((xml void read(const std::string &run_folder, const std::vector< unsigned char > &valid_to_load, const size_t thread_count=1, const bool skip_loaded=false) INTEROP_THROW_SPEC((xml size_t read_xml(const std::string &run_folder) INTEROP_THROW_SPEC((io void read_run_info(const std::string &run_folder) INTEROP_THROW_SPEC((xml size_t read_run_parameters(const std::string &run_folder, const bool force_load=false) INTEROP_THROW_SPEC((io void finalize_after_load(size_t count=std::numeric_limits< size_t >::max()) INTEROP_THROW_SPEC((model bool empty() const
Definition: run_metrics.h:223
make_type_list< corrected_intensity_metric, dynamic_phasing_metric, error_metric, extended_tile_metric, extraction_metric, image_metric, index_metric, phasing_metric, q_metric, q_by_lane_metric, q_collapsed_metric, tile_metric, summary_run_metric >::result_t metric_type_list_t
Definition: run_metrics.h:72
Definition: stream_exceptions.h:45
Definition: type_traits.h:36
metric_base::metric_set< T > & get_metric_set()
Definition: run_metrics.h:353
const run::info & run_info() const
Definition: run_metrics.h:256
Definition: summary_run_metric.h:25
void populate_id_map(tile_metric_map_t &map) const
Definition: run_metrics_helper.cpp:320
void sort()
Definition: run_metrics_helper.cpp:360
Definition: q_metric.h:247
std::map< id_t, metric_base::base_cycle_metric > cycle_metric_map_t
Definition: run_metrics.h:89
Definition: run_exceptions.h:63
metric_base::metric_set< error_metric >::id_set_t id_set_t
Definition: run_metrics.h:93
Definition: extended_tile_metric.h:31
Definition: tile_metric.h:165
def read(run, valid_to_load=None, requires=None, search_paths=None, extra)
Definition: core.py:752
Definition: enums.h:301
Definition: model_exceptions.h:50
void run_parameters(const run::parameters ¶m)
Definition: run_metrics.h:283
Definition: image_metric.h:97
void legacy_channel_update(const constants::instrument_type type)
Definition: run_metrics.cpp:568
run_metrics()
Definition: run_metrics.h:98
bool is_group_empty(const std::string &group_name) const
Definition: run_metrics_helper.cpp:330
size_t count_legacy_bins(const size_t legacy_bin_count=std::numeric_limits< size_t >::max()) const
Definition: run_metrics_helper.cpp:228
void run_info(const run::info &info)
Definition: run_metrics.h:265
void check_for_data_sources(const std::string &run_folder, const size_t last_cycle)
Definition: run_metrics_helper.cpp:371
void copy_tile(const run_metrics &metrics, const metric_base::base_metric &tile_id)
Definition: run_metrics.cpp:309
Definition: stream_exceptions.h:59
Definition: stream_exceptions.h:73
Definition: metric_exceptions.h:25
Definition: model_exceptions.h:26
Definition: type_traits.h:55
void append_tiles(const run_metrics &metrics, const metric_base::base_metric &tile_id)
Definition: run_metrics.cpp:319
void metrics_callback(Func &func) const
Definition: run_metrics.h:492
void set_naming_method(const constants::tile_naming_method naming_method)
Definition: run_metrics.cpp:577
metric_base::base_metric::id_t id_t
Definition: run_metrics.h:85
Intensity and count metrics for each base.
Definition: corrected_intensity_metric.h:50
Definition: dynamic_phasing_metric.h:28
Definition: run_exceptions.h:75
Definition: run_exceptions.h:51
Definition: q_by_lane_metric.h:21
void set(const T &metrics)
Definition: run_metrics.h:320
void list_filenames(const constants::metric_group group, std::vector< std::string > &files, const std::string &run_folder, const bool use_out=true) INTEROP_THROW_SPEC((invalid_run_info_exception))
Definition: run_metrics_helper.cpp:260
void metrics_callback(Func &func)
Definition: run_metrics.h:483
Definition: parameters.h:39
void read_metrics(std::istream &in, MetricSet &metrics, const size_t file_size, const bool rebuild=true)
Definition: metric_stream.h:99
Definition: phasing_metric.h:26