| Tag QGram Index Fibres Tag to select a specific fibre (e.g. table, object, ...) of a q-gram Index. Tags
QGram_Text | The original text the index should be based on.
QGram_RawText | The concatenation of all text sequences. Remarks: QGram_Text and QGram_RawText fibres are equal by default. They differ if the index text is a set of strings. Then, raw text is the concatenation of all strings in this set.
QGram_SA | The suffix array. Remarks: Contains all occurrences of q-grams, s.t. the occurrences of a single q-gram are stored in a contiguous block (q-gram bucket). q-grams exceeding the end of the text are ignored. The beginning of each bucket can be determined by the q-gram directory (QGram_Dir, see below). It corresponds to a suffix array which is sorted by the first q-gram. Fibre returns a String over the alphabet of the SAValue of TIndex.
QGram_Dir | The directory/hash table. Remarks: The directory contains for every possible q-gram hash value the start index of the q-gram bucket. A q-gram bucket is a contiguous interval in the suffix array (QGram_SA, see above). Each suffix in this interval begins with the same q-gram. The end index is the start index of the next bucket. Fibre returns a String over the alphabet of a size type.
QGram_Counts | The counts array. Remarks: Contains the numbers of occurrences per sequence of each q-gram, s.t. the numbers of the same q-gram are stored in a contiguous block (q-gram count bucket). A bucket contains entries (seqNo,count) of sequences with at least one q-gram occurrence. q-grams exceeding the end of the text are ignored. The beginning of each count bucket can be determined by the q-gram counts directory (QGram_CountsDir, see below). Fibre returns a String over the alphabet of the SAValue of TIndex.
QGram_CountsDir | The counts directory. Remarks: The counts directory contains for every possible q-gram hash value the start index of the q-gram count bucket. A q-gram count bucket is a contiguous interval in the counts array (QGram_Counts, see above). The end index is the start index of the next bucket. Fibre returns a String over the alphabet of a size type.
QGram_Shape | The shape the index is based on. Remarks: The q-gram index needs an underlying Shape. This shape can be gapped or ungapped. The number of '1's (relevant positions) in the shape determines q and the size of the directory table. Dynamic shapes (SimpleShape, GenericShape, ...) must be initialized before the index can be used.
QGram_SADir | The union of suffix array and directory. Remarks: In most applications a q-gram index consisting of both of these table is required. To efficiently create them at once use this tag for indexRequire or indexCreate.
Remarks These tags can be used to get Fibres of a q-gram Index. See Also Fibre, getFibre, Index_QGram SeqAn - Sequence Analysis Library - www.seqan.de