vg
tools for working with variation graphs
Public Attributes | List of all members
vg::Funnel::Item Struct Reference

Represents an Item whose provenance we track. More...

#include <funnel.hpp>

Public Attributes

size_t group_size = 0
 
double score = 0
 
State tag = State::NONE
 Is this item tagged with a state, or a descendant of a tagged item? More...
 
size_t tag_start = std::numeric_limits<size_t>::max()
 
size_t tag_length = 0
 
vector< size_t > prev_stage_items = {}
 What previous stage items were combined to make this one, if any? More...
 
vector< pair< size_t, size_t > > earlier_stage_items = {}
 
vector< const char * > passed_filters = {}
 What filters did the item pass at this stage, if any? More...
 
vector< double > passed_statistics = {}
 And what statistics did they have (or NaN)? More...
 
const char * failed_filter = nullptr
 What filter did the item finally fail at at this stage, if any? More...
 
double failed_statistic = nan("")
 And what statistic did it fail with (or NaN)? More...
 

Detailed Description

Represents an Item whose provenance we track.

Member Data Documentation

◆ earlier_stage_items

vector<pair<size_t, size_t> > vg::Funnel::Item::earlier_stage_items = {}

And what items from stages before that? Recorded as (stage offset, item number) pairs; all the offsets will be >=2.

◆ failed_filter

const char* vg::Funnel::Item::failed_filter = nullptr

What filter did the item finally fail at at this stage, if any?

◆ failed_statistic

double vg::Funnel::Item::failed_statistic = nan("")

And what statistic did it fail with (or NaN)?

◆ group_size

size_t vg::Funnel::Item::group_size = 0

◆ passed_filters

vector<const char*> vg::Funnel::Item::passed_filters = {}

What filters did the item pass at this stage, if any?

◆ passed_statistics

vector<double> vg::Funnel::Item::passed_statistics = {}

And what statistics did they have (or NaN)?

◆ prev_stage_items

vector<size_t> vg::Funnel::Item::prev_stage_items = {}

What previous stage items were combined to make this one, if any?

◆ score

double vg::Funnel::Item::score = 0

◆ tag

State vg::Funnel::Item::tag = State::NONE

Is this item tagged with a state, or a descendant of a tagged item?

◆ tag_length

size_t vg::Funnel::Item::tag_length = 0

◆ tag_start

size_t vg::Funnel::Item::tag_start = std::numeric_limits<size_t>::max()

If the item is tagged, over what interval is it tagged? When projecting, intervals are combined by min/maxing the bounds.


The documentation for this struct was generated from the following file: