store short sequence in an integer
More...
#include <sequence_fls.hpp>
|
| 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 std::size_t | length () |
|
|
static const unsigned | alphabet_size = N |
|
|
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) |
|
template<unsigned N = 4, typename S = boost::uint_least32_t>
class vdj_pipe::Seq_fls< N, S >
store short sequence in an integer
- Template Parameters
-
N | alphabet size |
storage | type |
template<unsigned N = 4, typename S = boost::uint_least32_t>
bool assign |
( |
self_type & |
seq1, |
|
|
const boost::string_ref |
seq2 |
|
) |
| |
|
friend |
Assign seq2 to seq1
- Parameters
-
seq1[out] | compressed sequence |
seq2[in] | regular sequence |
- Returns
- true if seq2 can fit into seq1 and the alphabet of seq1 can accommodate all characters of seq2
The documentation for this class was generated from the following file: