NVBIO
|
Basic FM-index interface.
This class holds pointers to data that is typically going to be allocated/loaded/deallocated by inheriting classes. The idea is that accessing this basic information is fast and requires no virtual function calls.
#include <fmindex.h>
Public Types | |
typedef const uint32 * | bwt_occ_type |
typedef const uint32 * | count_table_type |
typedef SSA_index_multiple_context < SA_INT, const uint32 * > | ssa_type |
Public Methods | |
FMIndexDataCore () | |
uint32 | flags () const |
return loading flags More... | |
uint32 | length () const |
return sequence length More... | |
uint32 | primary () const |
return the primary key More... | |
uint32 | rprimary () const |
return the reverse primary key More... | |
bool | has_ssa () const |
return whether the sampled suffix array is present More... | |
bool | has_rssa () const |
return whether the reverse sampled suffix array is present More... | |
const uint32 * | bwt_occ () const |
return the BWT stream More... | |
const uint32 * | rbwt_occ () const |
return the reverse BWT stream More... | |
const uint32 * | count_table () const |
return the count table More... | |
uint32 | bwt_occ_words () const |
return the number of sequence words More... | |
uint32 | sa_words () const |
return the number of SA words More... | |
ssa_type | ssa () const |
ssa_type | rssa () const |
const uint32 * | L2 () const |
return the L2 table More... | |
Static Public Members | |
static const uint32 | FORWARD = 0x02 |
static const uint32 | REVERSE = 0x04 |
static const uint32 | SA = 0x10 |
static const uint32 | BWT_BITS = 2u |
static const bool | BWT_BIG_ENDIAN = true |
static const uint32 | BWT_SYMBOLS_PER_WORD = (8*sizeof(uint32))/BWT_BITS |
static const uint32 | OCC_INT = 64 |
static const uint32 | SA_INT = 16 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |