#include <genesis/sequence/sequence.hpp>
Definition at line 40 of file sequence/sequence.hpp.
Public Member Functions | |
Sequence ()=default | |
Sequence (Sequence &&)=default | |
Sequence (Sequence const &)=default | |
Sequence (std::string const &label, std::string const &sites, size_t abundance=1) | |
~Sequence ()=default | |
size_t | abundance () const |
void | abundance (size_t value) |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | clear () |
iterator | end () |
const_iterator | end () const |
std::string & | label () |
std::string const & | label () const |
void | label (std::string &&value) |
void | label (std::string const &value) |
size_t | length () const |
Return the length (number of sites) of this sequence. More... | |
Sequence & | operator= (Sequence &&)=default |
Sequence & | operator= (Sequence const &)=default |
char & | operator[] (size_t index) |
char | operator[] (size_t index) const |
std::vector< unsigned char > & | phred_scores () |
std::vector< unsigned char > const & | phred_scores () const |
void | phred_scores (std::vector< unsigned char > &&value) |
void | phred_scores (std::vector< unsigned char > const &value) |
char & | site_at (size_t index) |
char | site_at (size_t index) const |
std::string & | sites () |
std::string const & | sites () const |
void | sites (std::string &&value) |
void | sites (std::string const &value) |
size_t | size () const |
Alias for length(). More... | |
void | swap (Sequence &other) |
Public Types | |
typedef std::string::const_iterator | const_iterator |
typedef std::string::iterator | iterator |
|
default |
|
inline |
Definition at line 57 of file sequence/sequence.hpp.
|
default |
|
inline |
Definition at line 150 of file sequence/sequence.hpp.
|
inline |
Definition at line 155 of file sequence/sequence.hpp.
|
inline |
Definition at line 204 of file sequence/sequence.hpp.
|
inline |
Definition at line 214 of file sequence/sequence.hpp.
|
inline |
Definition at line 224 of file sequence/sequence.hpp.
|
inline |
Definition at line 229 of file sequence/sequence.hpp.
|
inline |
Definition at line 78 of file sequence/sequence.hpp.
|
inline |
Definition at line 209 of file sequence/sequence.hpp.
|
inline |
Definition at line 219 of file sequence/sequence.hpp.
|
inline |
Definition at line 90 of file sequence/sequence.hpp.
|
inline |
Definition at line 95 of file sequence/sequence.hpp.
|
inline |
Definition at line 105 of file sequence/sequence.hpp.
|
inline |
Definition at line 100 of file sequence/sequence.hpp.
|
inline |
Return the length (number of sites) of this sequence.
Definition at line 167 of file sequence/sequence.hpp.
|
inline |
Definition at line 190 of file sequence/sequence.hpp.
|
inline |
Definition at line 195 of file sequence/sequence.hpp.
|
inline |
Definition at line 130 of file sequence/sequence.hpp.
|
inline |
Definition at line 135 of file sequence/sequence.hpp.
|
inline |
Definition at line 145 of file sequence/sequence.hpp.
|
inline |
Definition at line 140 of file sequence/sequence.hpp.
|
inline |
Definition at line 180 of file sequence/sequence.hpp.
|
inline |
Definition at line 185 of file sequence/sequence.hpp.
|
inline |
Definition at line 110 of file sequence/sequence.hpp.
|
inline |
Definition at line 115 of file sequence/sequence.hpp.
|
inline |
Definition at line 125 of file sequence/sequence.hpp.
|
inline |
Definition at line 120 of file sequence/sequence.hpp.
|
inline |
Alias for length().
Definition at line 175 of file sequence/sequence.hpp.
|
inline |
Definition at line 71 of file sequence/sequence.hpp.
typedef std::string::const_iterator const_iterator |
Definition at line 49 of file sequence/sequence.hpp.
typedef std::string::iterator iterator |
Definition at line 48 of file sequence/sequence.hpp.