All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::io::FMIndexDataMMAP Struct Reference

Detailed description

A memory-mapped FM-index client, which can connect to a shared-memory FM-index and present it as local.

Definition at line 270 of file fmindex.h.

#include <fmindex.h>

Inheritance diagram for nvbio::io::FMIndexDataMMAP:
nvbio::io::FMIndexData nvbio::io::FMIndexDataCore

Public Types

typedef FMIndexDataMMAPInfo Info
- Public Types inherited from nvbio::io::FMIndexData
typedef const uint4 * bwt_occ_type
typedef deinterleaved_iterator
< 2, 0, bwt_occ_type
typedef deinterleaved_iterator
< 2, 1, bwt_occ_type
typedef const uint32count_table_type
typedef SSA_index_multiple
typedef PackedStream< bwt_type,
uint8, BWT_BITS,
typedef rank_dictionary
bwt_stream_type, occ_type,
typedef fm_index
< rank_dict_type, ssa_type
typedef fm_index
< rank_dict_type, null_type
- Public Types inherited from nvbio::io::FMIndexDataCore
typedef const uint32bwt_occ_type
typedef const uint32count_table_type
< SA_INT, const uint32 * > 

Public Methods

int load (const char *genome_name)
- Public Methods inherited from nvbio::io::FMIndexData
 FMIndexData ()
 empty constructor More...
virtual ~FMIndexData ()
 virtual destructor More...
occ_type occ_iterator () const
occ_type rocc_iterator () const
bwt_type bwt_iterator () const
bwt_type rbwt_iterator () const
ssa_type ssa_iterator () const
ssa_type rssa_iterator () const
count_table_type count_table_iterator () const
rank_dict_type rank_dict () const
rank_dict_type rrank_dict () const
fm_index_type index () const
fm_index_type rindex () const
partial_fm_index_type partial_index () const
partial_fm_index_type rpartial_index () const
- Public Methods inherited from nvbio::io::FMIndexDataCore
 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 uint32bwt_occ () const
 return the BWT stream More...
const uint32rbwt_occ () const
 return the reverse BWT stream More...
const uint32count_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 uint32L2 () const
 return the L2 table More...

Public Members

MappedFile m_bwt_occ_file
 internal memory-mapped forward BWT object More...
MappedFile m_rbwt_occ_file
 internal memory-mapped reverse BWT object More...
MappedFile m_sa_file
 internal memory-mapped forward SSA table object More...
MappedFile m_rsa_file
 internal memory-mapped reverse SSA table object More...
MappedFile m_info_file
 internal memory-mapped info object More...
uint32 m_count_table_vec [256]
 local storage for the BWT counting table More...
uint32 m_L2_vec [5]

Additional Inherited Members

- Static Public Members inherited from nvbio::io::FMIndexDataCore
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

Member Typedef Documentation

Definition at line 272 of file fmindex.h.

Member Function Documentation

int nvbio::io::FMIndexDataMMAP::load ( const char *  genome_name)

load from a memory mapped object

genome_namememory mapped object name

Member Data Documentation

MappedFile nvbio::io::FMIndexDataMMAP::m_bwt_occ_file

internal memory-mapped forward BWT object

Definition at line 280 of file fmindex.h.

uint32 nvbio::io::FMIndexDataMMAP::m_count_table_vec[256]

local storage for the BWT counting table

Definition at line 286 of file fmindex.h.

MappedFile nvbio::io::FMIndexDataMMAP::m_info_file

internal memory-mapped info object

Definition at line 284 of file fmindex.h.

uint32 nvbio::io::FMIndexDataMMAP::m_L2_vec[5]

Definition at line 287 of file fmindex.h.

MappedFile nvbio::io::FMIndexDataMMAP::m_rbwt_occ_file

internal memory-mapped reverse BWT object

Definition at line 281 of file fmindex.h.

MappedFile nvbio::io::FMIndexDataMMAP::m_rsa_file

internal memory-mapped reverse SSA table object

Definition at line 283 of file fmindex.h.

MappedFile nvbio::io::FMIndexDataMMAP::m_sa_file

internal memory-mapped forward SSA table object

Definition at line 282 of file fmindex.h.

The documentation for this struct was generated from the following file: