FM-index
In computer science, an FM-index is a compressed full-text substring index based on the Burrows–Wheeler transform, with some similarities to the suffix array. It was created by Paolo Ferragina and Giovanni Manzini, who describe it as an opportunistic data structure as it allows compression of the input text while still permitting fast substring queries. The name stands for Full-text index in Minute space. It can be used to efficiently find the number of occurrences of a pattern within the compressed text, as well as locate the position of each occurrence. The query time, as well as the required storage space, has a sublinear complexity with respect to the size of the input data. The... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In computer science, an FM-index is a compressed full-text substring index based on the Burrows–Wheeler transform, with some similarities to the suffix array. It was created by Paolo Ferragina and Giovanni Manzini, who describe it as an opportunistic data structure as it allows compression of the input text while still permitting fast substring queries. The name stands for Full-text index in Minute space. It can be used to efficiently find the number of occurrences of a pattern within the compressed text, as well as locate the position of each occurrence. The query time, as well as the required storage space, has a sublinear complexity with respect to the size of the input data. The original authors have devised improvements to their original approach and dubbed it "FM-Index version 2". A further improvement, the alphabet-friendly FM-index, combines the use of compression boosting and wavelet trees to significantly reduce the space usage for large alphabets. The FM-index has found use in, among other places, bioinformatics. It is possible to make a last-to-first column mapping from an index to an index , such that = , with the help of a table and a function . is a table that, for each character in the alphabet, contains the number of occurrences of lexically (strictly) smaller characters in the text. The function is the number of occurrences of character in the prefix . Ferragina and Manzini showed that it is possible to compute in constant time. The last-to-first mapping can now be defined as . For instance, on row 9, is and the same can be found on row 5 in the first column , so should be 5 and . For any row of the matrix, the character in the last column precedes the character in the first column also in T. Finally, if , then , and using the equality it is possible to extract a string of from . The FM-index itself is a compression of the string together with and in some form, as well as information that maps a selection of indices in to positions in the original string . == References==
Cite this
"FM-index". 1777285929. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1351355155 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy