error_summary.h
Go to the documentation of this file.
112 INTEROP_BOUNDS_CHECK(beg->cycle() - 1, cycle_to_read.size(), "Cycle exceeds total cycles from Reads in the RunInfo.xml");
116 INTEROP_BOUNDS_CHECK(read_number, tmp.size(), "Read number exceeds total reads in the RunInfo.xml");
128 INTEROP_BOUNDS_CHECK(lane, read_lane_cache.lane_count(), "Lane exceeds number of lanes in RunInfo.xml");
129 if(max_cycle < std::numeric_limits<size_t>::max() && ebeg->second.max_cycle() < max_cycle) continue;
134 const ::uint32_t surface = logic::metric::surface(static_cast< ::uint32_t >(ebeg->first.second), naming_method);
215 typedef void (model::summary::stat_summary::*error_functor_t )(const model::summary::metric_stat&);
303 run.nonindex_summary().error_rate(divide(error_rate_nonindex, static_cast<float>(total_nonindex)));
const metric_summary & total_summary() const
Definition: run_summary.h:314
Definition: enum_description.h:15
size_t surface_count() const
Definition: run_summary.h:287
const metric_stat_t & error_rate_35() const
Definition: stat_summary.h:196
Definition: error_summary.h:28
inline::uint32_t surface(const ::uint32_t tile_id, const constants::tile_naming_method method)
Definition: tile_metric.h:93
size_t size() const
Definition: run_summary.h:224
float average() const
Definition: error_summary.h:55
void cache_error_by_lane_read(I beg, I end, const size_t max_cycle, const std::vector< read_cycle > &cycle_to_read, const constants::tile_naming_method naming_method, summary_by_lane_read< float > &read_lane_cache, summary_by_lane_read< float > &read_lane_surface_cache)
Definition: error_summary.h:96
size_t read_count() const
Definition: summary_statistics.h:106
error_cache_element()
Definition: error_summary.h:32
void update_cycle(const size_t cycle_within_read)
Definition: error_summary.h:47
size_t max_cycle() const
Definition: error_summary.h:64
void error_summary_from_cache(summary_by_lane_read< float > &read_lane_cache, summary_by_lane_read< float > &read_lane_surface_cache, model::summary::run_summary &run, void(model::summary::stat_summary::*func)(const model::summary::metric_stat &), const bool skip_median=false)
Definition: error_summary.h:150
const metric_stat_t & error_rate_50() const
Definition: stat_summary.h:207
size_t lane_count() const
Definition: summary_statistics.h:115
def summary(run_metrics, level='Total', columns=None, dtype='f4', ignore_missing_columns=True, extra)
Definition: core.py:217
void summarize(I beg, I end, S &stat, const bool skip_median)
Definition: summary_statistics.h:149
Definition: map_cycle_to_read.h:19
def read(run, valid_to_load=None, requires=None, search_paths=None, extra)
Definition: core.py:752
const metric_stat_t & error_rate_75() const
Definition: stat_summary.h:218
std::vector< read_cycle > read_cycle_vector_t
Definition: map_cycle_to_read.h:39
Definition: run_summary.h:23
Definition: stat_summary.h:24
float error_rate() const
Definition: metric_summary.h:52
Definition: metric_exceptions.h:25
bool is_empty() const
Definition: error_summary.h:72
void summarize_error_metrics(I beg, I end, const read_cycle_vector_t &cycle_to_read, const constants::tile_naming_method naming_method, model::summary::run_summary &run, const bool skip_median=false) INTEROP_THROW_SPEC((model
Definition: error_summary.h:207
Definition: metric_stat.h:16
size_t surface_count() const
Definition: summary_statistics.h:123
const metric_stat_t & error_rate_100() const
Definition: stat_summary.h:229
float divide(const float num, const float div)
Definition: summary_statistics.h:231
Definition: summary_statistics.h:32
const metric_summary & nonindex_summary() const
Definition: run_summary.h:342
void update_error(const float error_rate)
Definition: error_summary.h:37