vg
tools for working with variation graphs
Public Types | Public Member Functions | Public Attributes | List of all members
vg::Counts Struct Reference

#include <readfilter.hpp>

Public Types

enum  FilterName {
  read = 0, wrong_name, wrong_refpos, excluded_feature,
  min_score, min_sec_score, max_overhang, min_end_matches,
  min_mapq, split, repeat, defray,
  defray_all, random, min_base_qual, subsequence,
  filtered, proper_pair, unmapped, annotation,
  incorrectly_mapped, last
}
 

Public Member Functions

 Counts ()
 
Countsoperator+= (const Counts &other)
 
Countsset_paired_any ()
 If any read was filtered, count the other read as filtered. More...
 
Countsset_paired_all ()
 If not all reads were filtered, count filtered ones as unfiltered. More...
 
void reset ()
 
bool keep ()
 

Public Attributes

vector< size_t > counts
 

Member Enumeration Documentation

◆ FilterName

Enumerator
read 
wrong_name 
wrong_refpos 
excluded_feature 
min_score 
min_sec_score 
max_overhang 
min_end_matches 
min_mapq 
split 
repeat 
defray 
defray_all 
random 
min_base_qual 
subsequence 
filtered 
proper_pair 
unmapped 
annotation 
incorrectly_mapped 
last 

Constructor & Destructor Documentation

◆ Counts()

vg::Counts::Counts ( )
inline

Member Function Documentation

◆ keep()

bool vg::Counts::keep ( )
inline

◆ operator+=()

Counts& vg::Counts::operator+= ( const Counts other)
inline

◆ reset()

void vg::Counts::reset ( )
inline

◆ set_paired_all()

Counts& vg::Counts::set_paired_all ( )
inline

If not all reads were filtered, count filtered ones as unfiltered.

◆ set_paired_any()

Counts& vg::Counts::set_paired_any ( )
inline

If any read was filtered, count the other read as filtered.

Member Data Documentation

◆ counts

vector<size_t> vg::Counts::counts

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