vdj_pipe
pipeline for processing DNA sequence data
|
store short sequence in an integer More...
#include <sequence_fls.hpp>
Public Types | |
typedef Seq_fls | self_type |
Public Member Functions | |
Seq_fls () | |
Seq_fls (const boost::string_ref seq) | |
Seq_fls (self_type const &ss) | |
std::size_t | size () const |
self_type & | operator= (self_type const &ss) |
self_type & | operator= (const boost::string_ref seq) |
bool | operator== (self_type const &sf) const |
bool | operator!= (self_type const &sf) const |
Nucleotide | operator[] (const std::size_t i) const |
void | set (const unsigned i, const Nucleotide n) |
std::string | to_string (std::size_t n=self_type::length()) const |
std::ostream & | print (std::ostream &os, std::size_t n=self_type::length()) const |
Static Public Member Functions | |
static std::size_t | length () |
Static Public Attributes | |
static const unsigned | alphabet_size = N |
Private Member Functions | |
void | assign (const boost::string_ref seq) |
Private Attributes | |
S | val_ |
Static Private Attributes | |
static const unsigned | BITS_PER_CHAR = boost::static_log2<N>::value |
static const unsigned | MAX_CHARS = sizeof(S) * 8 / BITS_PER_CHAR |
static const unsigned | MASK = ~(~0 << BITS_PER_CHAR) |
Friends | |
std::size_t | hash_value (self_type const &seq) |
std::ostream & | operator<< (std::ostream &os, self_type const &seq) |
bool | assign (self_type &seq1, const boost::string_ref seq2) |
store short sequence in an integer
N | alphabet size |
storage | type |
typedef Seq_fls vdj_pipe::Seq_fls< N, S >::self_type |
|
inline |
|
inlineexplicit |
|
inline |
|
inlineprivate |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Assign seq2 to seq1
seq1[out] | compressed sequence |
seq2[in] | regular sequence |
|
friend |
|
friend |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |