NVBIO
|
fm_index_type | the type of the fm-index |
#include <mem.h>
Public Types | |
typedef device_tag | system_tag |
the backend system More... | |
typedef fm_index_type | index_type |
the index type More... | |
typedef index_type::index_type | coord_type |
the coordinate type of the fm-index, uint32|uint64 More... | |
typedef MEMRange< coord_type > | rank_type |
rank coordinates are either uint32_4 or uint64_4 More... | |
typedef MEMHit< coord_type > | mem_type |
MEM coordinates are either uint32_4 or uint64_4. More... | |
typedef mem_type | hit_type |
MEM coordinates are either uint32_4 or uint64_4. More... | |
Public Methods | |
template<typename string_set_type > | |
uint64 | rank (const fm_index_type &f_index, const fm_index_type &r_index, const string_set_type &string_set, const uint32 min_intv=1u, const uint32 max_intv=uint32(-1), const uint32 min_span=1u, const uint32 split_len=uint32(-1), const uint32 split_width=uint32(-1)) |
uint32 | first_hit (const uint32 string_id) const |
template<typename mems_iterator > | |
void | locate (const uint64 begin, const uint64 end, mems_iterator mems) |
uint64 | n_hits () const |
uint64 | n_mems () const |
uint64 | n_ranges () const |
Public Members | |
uint32 | m_n_queries |
index_type | m_f_index |
index_type | m_r_index |
uint64 | m_n_occurrences |
DeviceVectorArray< rank_type > | m_mem_ranges |
thrust::device_vector< uint64 > | m_slots |
thrust::device_vector< uint8 > | d_temp_storage |
Static Public Members | |
static const uint32 | coord_dim = vector_traits<coord_type>::DIM |
typedef index_type::index_type nvbio::MEMFilter< device_tag, fm_index_type >::coord_type |
typedef mem_type nvbio::MEMFilter< device_tag, fm_index_type >::hit_type |
typedef fm_index_type nvbio::MEMFilter< device_tag, fm_index_type >::index_type |
typedef MEMHit<coord_type> nvbio::MEMFilter< device_tag, fm_index_type >::mem_type |
typedef MEMRange<coord_type> nvbio::MEMFilter< device_tag, fm_index_type >::rank_type |
typedef device_tag nvbio::MEMFilter< device_tag, fm_index_type >::system_tag |
uint32 nvbio::MEMFilter< device_tag, fm_index_type >::first_hit | ( | const uint32 | string_id) | const |
void nvbio::MEMFilter< device_tag, fm_index_type >::locate | ( | const uint64 | begin, |
const uint64 | end, | ||
mems_iterator | mems | ||
) |
|
inline |
|
inline |
|
inline |
uint64 nvbio::MEMFilter< device_tag, fm_index_type >::rank | ( | const fm_index_type & | f_index, |
const fm_index_type & | r_index, | ||
const string_set_type & | string_set, | ||
const uint32 | min_intv = 1u , |
||
const uint32 | max_intv = uint32(-1) , |
||
const uint32 | min_span = 1u , |
||
const uint32 | split_len = uint32(-1) , |
||
const uint32 | split_width = uint32(-1) |
||
) |
enact the filter on an FM-index and a string-set
f_index | the forward FM-index |
r_index | the reverse FM-index |
string-set | the query string-set |
min_intv | the minimum number of occurrences k of a k-MEM |
max_intv | the maximum number of occurrences k of a k-MEM |
min_span | the minimum span length on the pattern of MEM |
|
static |
thrust::device_vector<uint8> nvbio::MEMFilter< device_tag, fm_index_type >::d_temp_storage |
index_type nvbio::MEMFilter< device_tag, fm_index_type >::m_f_index |
DeviceVectorArray<rank_type> nvbio::MEMFilter< device_tag, fm_index_type >::m_mem_ranges |
uint64 nvbio::MEMFilter< device_tag, fm_index_type >::m_n_occurrences |
uint32 nvbio::MEMFilter< device_tag, fm_index_type >::m_n_queries |
index_type nvbio::MEMFilter< device_tag, fm_index_type >::m_r_index |
thrust::device_vector<uint64> nvbio::MEMFilter< device_tag, fm_index_type >::m_slots |