vg
tools for working with variation graphs
Public Member Functions | Public Attributes | Friends | List of all members
vg::MaximalExactMatch Class Reference

#include <mem.hpp>

Public Member Functions

 MaximalExactMatch (string::const_iterator b, string::const_iterator e, gcsa::range_type r, size_t m=0)
 
string sequence (void) const
 
int length (void) const
 
size_t count_Ns (void) const
 
size_t filter_hits_to (int limit)
 
 MaximalExactMatch (void)=default
 
 MaximalExactMatch (const MaximalExactMatch &)=default
 
 MaximalExactMatch (MaximalExactMatch &&)=default
 
MaximalExactMatchoperator= (const MaximalExactMatch &) &=default
 
MaximalExactMatchoperator= (MaximalExactMatch &&) &=default
 

Public Attributes

string::const_iterator begin
 
string::const_iterator end
 
gcsa::range_type range
 
size_t match_count
 
size_t queried_count
 
int fragment
 
bool primary
 
std::vector< gcsa::node_type > nodes
 
unordered_map< path_handle_t, vector< pair< size_t, bool > > > positions
 

Friends

bool operator== (const MaximalExactMatch &m1, const MaximalExactMatch &m2)
 
bool operator< (const MaximalExactMatch &m1, const MaximalExactMatch &m2)
 
ostream & operator<< (ostream &out, const MaximalExactMatch &m)
 

Constructor & Destructor Documentation

◆ MaximalExactMatch() [1/4]

vg::MaximalExactMatch::MaximalExactMatch ( string::const_iterator  b,
string::const_iterator  e,
gcsa::range_type  r,
size_t  m = 0 
)
inline

◆ MaximalExactMatch() [2/4]

vg::MaximalExactMatch::MaximalExactMatch ( void  )
default

◆ MaximalExactMatch() [3/4]

vg::MaximalExactMatch::MaximalExactMatch ( const MaximalExactMatch )
default

◆ MaximalExactMatch() [4/4]

vg::MaximalExactMatch::MaximalExactMatch ( MaximalExactMatch &&  )
default

Member Function Documentation

◆ count_Ns()

size_t vg::MaximalExactMatch::count_Ns ( void  ) const

◆ filter_hits_to()

size_t vg::MaximalExactMatch::filter_hits_to ( int  limit)

◆ length()

int vg::MaximalExactMatch::length ( void  ) const

◆ operator=() [1/2]

MaximalExactMatch& vg::MaximalExactMatch::operator= ( const MaximalExactMatch ) &
default

◆ operator=() [2/2]

MaximalExactMatch& vg::MaximalExactMatch::operator= ( MaximalExactMatch &&  ) &
default

◆ sequence()

string vg::MaximalExactMatch::sequence ( void  ) const

Friends And Related Function Documentation

◆ operator<

bool operator< ( const MaximalExactMatch m1,
const MaximalExactMatch m2 
)
friend

◆ operator<<

ostream& operator<< ( ostream &  out,
const MaximalExactMatch m 
)
friend

◆ operator==

bool operator== ( const MaximalExactMatch m1,
const MaximalExactMatch m2 
)
friend

Member Data Documentation

◆ begin

string::const_iterator vg::MaximalExactMatch::begin

◆ end

string::const_iterator vg::MaximalExactMatch::end

◆ fragment

int vg::MaximalExactMatch::fragment

◆ match_count

size_t vg::MaximalExactMatch::match_count

◆ nodes

std::vector<gcsa::node_type> vg::MaximalExactMatch::nodes

◆ positions

unordered_map<path_handle_t, vector<pair<size_t, bool> > > vg::MaximalExactMatch::positions

◆ primary

bool vg::MaximalExactMatch::primary

◆ queried_count

size_t vg::MaximalExactMatch::queried_count

◆ range

gcsa::range_type vg::MaximalExactMatch::range

The documentation for this class was generated from the following files: