NVBIO
|
This module contains a series of classes and functions to build a compact Q-Gram Index over a string T, with memory consumption and query time proportional to O(|T|) and O(log(unique(T))) respectively, where unique(T) is the number of unique q-grams in T. This is achieved by keeping a plain sorted list of the unique q-grams in T, together with an index of their occurrences in the original string T. This data-structure offers up to 5x higher construction speed and a potentially unbounded improvement in memory consumption compared to the Q-Group Index, though the query time is asymptotically higher.
Typedefs | |
typedef QGramIndexViewCore < uint64 *, uint32 *, uint32 * > | nvbio::QGramIndexView |
typedef QGramIndexViewCore < uint64 *, uint32 *, uint2 * > | nvbio::QGramSetIndexView |
typedef QGramIndexViewCore < const uint64 *, const uint32 *, const uint32 * > | nvbio::ConstQGramIndexView |
typedef QGramIndexViewCore < const uint64 *, const uint32 *, const uint2 * > | nvbio::ConstQGramSetIndexView |
Functions | |
template<typename SystemTag , typename QT , typename IT , typename CT > | |
QGramIndexViewCore< QT, IT, CT > | nvbio::plain_view (const QGramIndexViewCore< QT, IT, CT > qgram) |
template<typename SystemTag , typename QT , typename IT , typename CT > | |
QGramIndexViewCore< QT *, IT *, CT * > | nvbio::plain_view (QGramIndexCore< SystemTag, QT, IT, CT > &qgram) |
template<typename SystemTag , typename QT , typename IT , typename CT > | |
QGramIndexViewCore< const QT *, const IT *, const CT * > | nvbio::plain_view (const QGramIndexCore< SystemTag, QT, IT, CT > &qgram) |
typedef QGramIndexViewCore<const uint64*,const uint32*,const uint32*> nvbio::ConstQGramIndexView |
typedef QGramIndexViewCore<const uint64*,const uint32*,const uint2*> nvbio::ConstQGramSetIndexView |
typedef QGramIndexViewCore<uint64*,uint32*,uint32*> nvbio::QGramIndexView |
typedef QGramIndexViewCore<uint64*,uint32*,uint2*> nvbio::QGramSetIndexView |
QGramIndexViewCore<QT,IT,CT> nvbio::plain_view | ( | const QGramIndexViewCore< QT, IT, CT > | qgram) |
QGramIndexViewCore<QT*,IT*,CT*> nvbio::plain_view | ( | QGramIndexCore< SystemTag, QT, IT, CT > & | qgram) |