- Research article
- Open Access
Linear-time computation of minimal absent words using suffix array
- Carl Barton^{1},
- Alice Heliou^{2, 3},
- Laurent Mouchard^{4} and
- Solon P Pissis^{1}Email author
https://doi.org/10.1186/s12859-014-0388-9
© Barton et al.; licensee BioMed Central. 2014
Received: 27 June 2014
Accepted: 18 November 2014
Published: 20 December 2014
Abstract
Background
An absent word of a word y of length n is a word that does not occur in y. It is a minimal absent word if all its proper factors occur in y. Minimal absent words have been computed in genomes of organisms from all domains of life; their computation also provides a fast alternative for measuring approximation in sequence comparison. There exists an $\mathcal{O}\left(n\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for computing all minimal absent words on a fixed-sized alphabet based on the construction of suffix automata (Crochemore et al., 1998). No implementation of this algorithm is publicly available. There also exists an $\mathcal{O}\left({n}^{2}\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for the same problem based on the construction of suffix arrays (Pinho et al., 2009). An implementation of this algorithm was also provided by the authors and is currently the fastest available.
Results
Our contribution in this article is twofold: first, we bridge this unpleasant gap by presenting an $\mathcal{O}\left(n\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for computing all minimal absent words based on the construction of suffix arrays; and second, we provide the respective implementation of this algorithm. Experimental results, using real and synthetic data, show that this implementation outperforms the one by Pinho et al. The open-source code of our implementation is freely available at http://github.com/solonas13/maw.
Conclusions
Classical notions for sequence comparison are increasingly being replaced by other similarity measures that refer to the composition of sequences in terms of their constituent patterns. One such measure is the minimal absent words. In this article, we present a new linear-time and linear-space algorithm for the computation of minimal absent words based on the suffix array.
Keywords
Background
Sequence comparison is an important step in many important tasks in bioinformatics. It is used in many applications; from phylogenies reconstruction to the reconstruction of genomes. Traditional techniques for measuring approximation in sequence comparison are based on the notions of distance or of similarity between sequences; and these are computed through sequence alignment techniques. An issue with using alignment techniques is that they are computationally expensive: they require quadratic time in the length of the sequences. Moreover, in molecular taxonomy and phylogeny, for instance, whole-genome alignment proves both computationally expensive and hardly significant. These observations have led to increased research into alignment free techniques for sequence comparison. A number of alignment free techniques have been proposed: in [1], a method based on the computation of the shortest unique factors of each sequence is proposed; other approaches estimate the number of mismatches per site based on the length of exact matches between pairs of sequences [2].
Thus standard notions are gradually being complemented (or even supplanted) by other measures that refer, implicitly or explicitly, to the composition of sequences in terms of their constituent patterns. One such measure is the notion of words absent in a sequence. A word is an absent word of some sequence if it does not occur in the sequence. These words represent a type of negative information: information about what does not occur in the sequence. Noting the words which do occur in one sequence but do not occur in another can be used to detect mutations or other biologically significant events.
Given a sequence of length n, the number of absent words of length at most n can be exponential in n, meaning that using all the absent words for sequence comparison is more expensive than alignments. However, the number of certain subsets of absent words is only linear in n. An absent word of a sequence is a shortest absent word if all words shorter than it do occur in the sequence. An $\mathcal{O}\left(\mathit{\text{mn}}\right)$-time algorithm for computing shortest absent words was presented in [3], where m is a user-specified threshold on the length of the shortest absent words. This was later improved by [4], who presented an $\mathcal{O}(nloglogn)$-time algorithm for the same problem. This has been further improved and an $\mathcal{O}\left(n\right)$-time algorithm was presented in [5].
A minimal absent word of a sequence is an absent word whose proper factors all occur in the sequence. Notice that minimal absent words are a superset of shortest absent words [6]. An upper bound on the number of minimal absent words is $\mathcal{O}\left(\mathrm{\sigma n}\right)$ [7],[8], where σ is the size of the alphabet. This suggests that it may be possible to compare sequences in time proportional to their lengths, for a fixed-sized alphabet, instead of proportional to the product of their lengths [1]. Theory and some applications of minimal absent words can be found in [9].
Recently, there has been a number of biological studies on the significance of absent words. The most comprehensive study on the significance of absent words is probably [10]; in this, the authors suggest that the deficit of certain subsets of absent words in vertebrates may be explained by the hypermutability of the genome. It was later found in [11] that the compositional biases observed in [10] for vertebrates are not uniform throughout different sets of minimal absent words. Moreover, the analyses in [11] support the hypothesis of the inheritance of minimal absent words through a common ancestor, in addition to lineage-specific inheritance, only in vertebrates. In [12], the minimal absent words in four human genomes were computed, and it was shown that, as expected, intra-species variations in minimal absent words were lower than inter-species variations. Minimal absent words have also been used for phylogenies reconstruction [13].
From an algorithmic perspective, an $\mathcal{O}\left(n\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for computing all minimal absent words on a fixed-sized alphabet based on the construction of suffix automata was presented in [7]. An alternative $\mathcal{O}\left(n\right)$-time solution for finding minimal absent words of length at most ℓ, such that $\ell =\mathcal{O}\left(1\right)$, based on the construction of tries of bounded-length factors was presented in [13]. A drawback of these approaches, in practical terms, is that the construction of suffix automata (or of tries) may have a large memory footprint. Due to this, an important problem is to be able to compute the minimal absent words of a sequence without the use of data structures such as the suffix automaton. To this end, the computation of minimal absent words based on the construction of suffix arrays was considered in [6]; although fast in practice, the worst-case runtime of this algorithm is $\mathcal{O}\left({n}^{2}\right)$. Alternatively, one could make use of the succinct representations of the bidirectional BWT, recently presented in [14], to compute all minimal absent words in time $\mathcal{O}\left(n\right)$. However, an implementation of these representations was not made available by the authors; and it is also rather unlikely that such an implementation will outperform an $\mathcal{O}\left(n\right)$-time algorithm based on the construction of suffix arrays.
Our contribution
In this article, we bridge this unpleasant gap by presenting the first $\mathcal{O}\left(n\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for computing all minimal absent words of a sequence of length n based on the construction of suffix arrays. In addition, we provide the respective implementation of this algorithm. This implementation is shown to be more efficient than existing tools, both in terms of speed and memory.
Methods
Definitions and notation
To provide an overview of our result and algorithm, we begin with a few definitions. Let y=y[ 0]y[ 1]..y[ n−1] be a word of length n=|y| over a finite ordered alphabet Σ of size $\sigma =\left|\Sigma \right|=\mathcal{O}\left(1\right)$. We denote by y[ i..j]=y[ i]..y[ j] the factor of y that starts at position i and ends at position j and by ε the empty word, word of length 0. We recall that a prefix of y is a factor that starts at position 0 (y[ 0..j]) and a suffix is a factor that ends at position n−1 (y[ i..n−1]), and that a factor of y is a proper factor if it is not the empty word or y itself.
Let x be a word of length 0<m≤n. We say that there exists an occurrence of x in y, or, more simply, that x occurs in y, when x is a factor of y. Every occurrence of x can be characterised by a starting position in y. Thus we say that x occurs at the starting position i in y when x=y[ i..i+m−1]. Opposingly, we say that the word x is an absent word of y if it does not occur in y. The absent word x, m≥2, of y is minimal if and only if all its proper factors occur in y.
We denote by SA the suffix array of y, that is the array of length n of the starting positions of all sorted suffixes of y, i.e. for all 1≤r<n, we have y[ SA[ r−1]..n−1]<y[SA[ r]..n−1] [15]. Let lcp (r,s) denote the length of the longest common prefix of the words y[SA[ r]..n−1] and y[SA[ s]..n−1], for all 0≤r,s<n, and 0 otherwise. We denote by LCP the longest common prefix array of y defined by LCP [ r]=lcp(r−1,r), for all 1≤r<n, and LCP [ 0]=0. The inverse iSA of the array SA is defined by iSA[ SA[ r]]=r, for all 0≤r<n. SA [16], iSA, and LCP [17] of y can be computed in time and space $\mathcal{O}\left(n\right)$.
In this article, we consider the following problem:
MINIMALABSENTWORDS Input: a word y on Σ of length n Output: for every minimal absent word x of y, one tuple <a,(i,j)>, such that x is defined by x[ 0]=a, a∈Σ, and x[ 1..m−1]=y[ i..j], m≥2.
Algorithm MAW
In this section, we present algorithm MAW, an $\mathcal{O}\left(n\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for finding all minimal absent words in a word of length n using arrays SA and LCP.
We first give an example and explain how we can characterise the minimal absent words; then we introduce how their computation can be done efficiently by using arrays SA and LCP. Finally, we present in detail the two main steps of the algorithm.
For example, let us consider the word y=AABABABB:
factor w=AB occurs at:
position 1 preceded by A A and followed by A A
position 3 preceded by B B and followed by A A
position 5 preceded by B B and followed by B B
We see that A A w occurs and w B B occurs as well but A A w B B does not occur in y, so AABB AABB is a minimal absent word of y.
factor w=BA occurs at:
position 2 preceded by A A and followed by B B
position 4 preceded by A A and followed by B B
We cannot infer a minimal absent word.
B_{1}(x _{1}) = {y[j−1]:j is the starting position of an occurrence of x _{1}}
B_{2}(x _{1}) = {y[j−1]:j is the starting position of an occurrence of x _{1}[0..|x _{1}|−2]}.
Lemma 1
Let x and y be two words. Then x is a minimal absent word of y if and only if x[ 0] is an element of B_{2}(x _{1}) and not of B_{1}(x _{1}), with x _{1}=x[ 1.. m−1].
Proof
(⇒) Let x _{1} be a factor of y, x _{2} be the longest proper prefix of x _{1}, and B _{1}(x _{1}) and B_{2}(x _{1}) the sets defined above. Further let p be a letter that is in B_{2}(x _{1}) but not in B_{1}(x _{1}). Then, there exists a starting position j of an occurrence of x _{2} such that y[ j−1]=p, so the word p x _{2} occurs at position j−1 in y. p is not in B_{1}(x _{1}) so p x _{1} does not occur in x and is therefore an absent word of y. x _{1} and p x _{2} are factors of y, so all the proper factors of p x _{1} occur in y, thus p x _{1} is a minimal absent word of y.
(⇐) Let x[ 0..m−1] be a minimal absent word of y. Its longest proper prefix x[ 0..m−2]=x[ 0]x _{1}[ 0..|x _{1}|−2] occurs in y, so x[0] is in B_{2}(x _{1}). Its longest proper suffix, x _{1} occurs as well in y, but x=x[ 0]x _{1} is an absent word of y so it does not occur in y and x[ 0] is not in B_{1}(x _{1}).
Lemma 2.
Let x be a minimal absent word of length m of word y of length n. Then there exists an integer i∈[ 0:n−1] such that y[ SA[ i]..SA[ i]+LCP[ i]]=x _{1} or y[ SA[ i]..SA[ i]+LCP[ i+1]]=x _{1}, where x _{1}=x[ 1..m−1].
Proof.
Let j be the starting position of an occurrence of x[ 0..m−2] in y and k the starting position of an occurrence of x _{1} in y. The suffixes y[ j+1..n−1] and y[ k..n−1] share x _{2}=x[ 1..m−2] as a common prefix. As x is an absent word of y, this common prefix cannot be extended so x _{2} is the longest common prefix of those suffixes. By using iSA, the inverse suffix array, we have lcp(iSA[ j+1],iSA[ k])=m−2. Let us also note s _{ k }=iSA[ k] and s _{j+1}=iSA[j+1]. We then have two possibilities:
if s _{ k }>s _{j+1}: for all s in [ s _{j+1}+1:s _{ k }], we have LCP[ s]≥m−2, with equality holding for at least one position. Let us define i= max{s∈[ s _{j+1}+1:s _{ k }]:LCP[ s]=m−2 }, the maximality of i implies that i=s _{ k } or lcp(i,s _{ k })>m−2 and thus, in both cases y[SA[ i]..SA[ i]+LCP[ i]]=x _{1}.
if s _{j+1}>s _{ k } : for all s in [ s _{ k }+1:s _{j+1}], we have LCP[ s]≥m−2, with equality holding for at least one position. Let us define i= min{s∈[ s _{ k }:s _{j+1}−1]:LCP[ s+1]=m−2 }, the minimality of i implies i=s _{ k } or lcp(s _{ k },i)>m−2 and thus, in both cases y[ SA[ i]..SA[ i]+LCP[ i+1]]=x _{1}.
By Lemma 2, we can compute all minimal absent words of y by examining only the factors S _{2i}=y[ SA[ i]..SA[ i]+LCP[ i]] and S _{2i+1}=y[ SA[ i]..SA[ i]+LCP[ i+1]], for all i in [ 0:n−1]. We just need to construct the sets B_{1}(S _{2i}), B_{2}(S _{2i}) and B_{1}(S _{2i+1}), B_{2}(S _{2i+1}), where B_{1}(S _{ j }) (resp. B_{2}(S _{ j })) is the set of letters that immediately precede an occurrence of the factor S _{ j } (resp. the longest proper prefix of S _{ j }), for all j in [ 0:2n−1]. Then, by Lemma 1, the difference between B_{2}(S _{ j }) and B_{1}(S _{ j }), for all j in [ 0:2n−1], gives us all the minimal absent words of y.
Thus the important computational step is to compute these sets of letters efficiently. To do so, we visit twice arrays SA and LCP using another array denoted by B_{1} (resp. B_{2}) to store set B_{1}(S _{ j }) (resp. B_{2}(S _{ j })), for all j in [ 0:2n−1]. Both arrays B_{1} and B_{2} consist of 2n elements, where each element is a bit vector of length σ, the size of the alphabet, corresponding to one bit per alphabet letter. While iterating over arrays SA and LCP, we maintain another array denoted by Interval, such that, at the end of each iteration i, the ℓ ^{ t h } element of Interval stores the set of letters we have encountered before the prefix of length ℓ of y[ SA[ i]..n−1]. Array Interval consists of maxi∈ [0:n−1]LCP[ i]+1 elements, where each element is a bit vector of length σ.
During the first pass, we visit arrays SA and LCP from top to bottom. For each i∈[ 0:n−1], we store in positions 2i and 2i+1 of B_{1} (resp. B_{2}) the set of letters that immediately precede occurrences of S _{2i} and S _{2i+1} (resp. their longest proper prefixes) whose starting positions appear before position i in SA. During the second pass, we go bottom up to complete the sets, which are already stored, with the letters preceding the occurrences whose starting positions appear after position i in SA. In order to be efficient, we will maintain a stack structure, denoted by LifoLCP, to store the LCP values of the factors that are prefixes of the one we are currently visiting.
Top-down pass
Each iteration of the top-down pass consists of two steps. In the first step, we visit LifoLCP from the top and for each LCP value read we set to zero the corresponding element of Interval; then we remove this value from the stack. We stop when we reach a value smaller or equal to LCP[ i]. We do this as the corresponding factors are not prefixes of y[ SA[ i]..n−1], nor will they be prefixes in the remaining suffixes. We push at most one value onto the stack LifoLCP per iteration, so, in total, there are n times we will set an element of Interval to zero. This step requires time and space $\mathcal{O}\left(\mathrm{n\sigma}\right)$.
Bottom-up pass
Intuitively, the idea behind the bottom-up pass is the same as in the top-down pass except that in this instance, as we start from the bottom, the suffix y[ SA[ i]..n−1] can share more than its prefix of length LCP[ i] with the previous suffixes in SA. Therefore we may need the elements of Interval that correspond to factors with an LCP value greater than LCP[ i] to correctly compute the arrays B_{1} and B_{2}. To achieve this, we maintain another stack LifoRem to copy the values from LifoLCP that are greater than LCP[ i]. This extra stack allows us to keep in LifoLCP only values that are smaller or equal to LCP[ i] without losing the additional information we require to correctly compute B_{1} and B_{2}. At the end of the iteration, we will set to zero each element corresponding to a value in LifoRem and empty the stack. Thus to set an element of Interval to zero requires two operations more than in the first pass. As we consider at most n values, this step requires time and space $\mathcal{O}\left(\mathrm{n\sigma}\right)$.
Theorem 1
Algorithm MAW solves problem MINIMALABSENTWORDS in time and space $\mathcal{O}\left(n\right)$.
Results and discussion
The experiments were conducted on a Desktop PC using one core of Intel Xeon E5540 CPU at 2.5 GHz and 32GB of main memory under 64-bit GNU/Linux. All programs were compiled with gcc gcc version 4.6.3 at optimisation level 3 (-O3). Time and memory measurements were taken using the GNU/Linux time time command.
Implementation
We implemented algorithm MAW as a program to compute all minimal absent words of a given sequence. The program was implemented in the C programming language and developed under GNU/Linux operating system. It takes as input arguments a file in (Multi)FASTA format and the minimal and maximal length of minimal absent words to be outputted; and then produces a file with all minimal absent words of length within this range as output. The implementation is distributed under the GNU General Public License (GPL), and it is available at http://github.com/solonas13/maw, which is set up for maintaining the source code and the man-page documentation.
Datasets
Species selected for this work with reference to the respective abbreviation and identification of genome sequence data by accession number for bacteria or genome assembly project for eukaryotes
Species | Abbreviation | Genome reference |
---|---|---|
Bacteria | ||
Bacillus anthracis strain Ames | Ba | NC003997 |
Bacillus subtilis strain 168 | Bs | NC000964 |
Escherichia coli strain K-12 substrain MG1655 | Ec | NC000913 |
Haemophilus influenzae strain Rd KW20 | Hi | NC000907 |
Helicobacter pylori strain 26695 | Hp | NC000915 |
Lactobacillus casei strain BL23 | Lc | NC010999 |
Lactococcus lactis strain Il1403 | Ll | NC002662 |
Mycoplasma genitalium strain G37 | Mg | NC000908 |
Staphylococcus aureus strain N315 | Sa | NC002745 |
Streptococcus pneumoniae strain CGSP14 | Sp | NC010582 |
Xanthomonas campestris strain 8004 | Xc | NC007086 |
Eukaryotes | ||
Arabidopsis thaliana (thale cress) | At | AGI release 7.2 |
Drosophila melanogaster (fruit fly) | Dm | FlyBase release 5 |
Homo sapiens (human) | Hs | build 38 |
Mus musculus (mouse) | Mm | build 38 |
Correctness
Number of minimal absent words of lengths 11, 14, 17, and 24 in the genomes of thirteen bacteria
Species | Genome size (bp) | M _{11} | M _{14} | M _{17} | M _{24} |
---|---|---|---|---|---|
Ba | 5,227,293 | 1,113,398 | 1,001,357 | 32,432 | 46 |
Bs | 4,214,630 | 951,273 | 1,703,309 | 86,372 | 226 |
Ec | 4,639,675 | 1,072,074 | 1,125,653 | 36,395 | 247 |
Hi | 1,830,023 | 722,860 | 294,353 | 12,158 | 91 |
Hp | 1,667,825 | 564,308 | 336,122 | 19,276 | 75 |
Lc | 3,079,196 | 1,126,363 | 502,861 | 13,083 | 246 |
Ll | 2,365,589 | 764,006 | 507,490 | 25,667 | 183 |
Mg | 1,664,957 | 246,342 | 66,324 | 2,737 | 28 |
Sa | 2,814,816 | 755,483 | 704,147 | 32,054 | 138 |
Sp | 2,209,198 | 904,815 | 327,713 | 10,390 | 234 |
Xc | 5,148,708 | 804,034 | 1,746,214 | 179,346 | 633 |
Efficiency
Elapsed-time comparison of MAW and PFG for computing all minimal absent words in the genome of Arabidopsis thaliana and Drosophila melanogaster
(a) At | |||
---|---|---|---|
Chromosome | Size (bp) | MAW (s) | PFG (s) |
1 | 30,427,671 | 40.20 | 51.90 |
2 | 19,698,289 | 25.86 | 32.94 |
3 | 23,459,830 | 30.84 | 42.30 |
4 | 18,585,056 | 24.65 | 31.42 |
5 | 26,975,502 | 35.38 | 48.91 |
(b) Dm | |||
Chromosome | Size (bp) | MAW (s) | PFG (s) |
2L | 23,011,544 | 30.01 | 40.85 |
2R | 21,146,708 | 27.52 | 38.38 |
3L | 24,543,557 | 32.00 | 45.13 |
3R | 27,905,053 | 36.44 | 48.36 |
X | 22,422,827 | 29.38 | 40.09 |
Elapsed-time comparison of MAW and PFG for computing all minimal absent words in the genome of Homo Sapiens and Mus musculus
(a) Hs | |||
---|---|---|---|
Chromosome | Size (bp) | MAW (s) | PFG (s) |
1 | 248,956,422 | 426.39 | 972.52 |
2 | 242,193,529 | 423.19 | 772.89 |
3 | 198,295,559 | 353.60 | 645.45 |
4 | 190,214,555 | 339.02 | 616.26 |
5 | 181,538,259 | 342.53 | 577.05 |
6 | 170,805,979 | 299.72 | 538.34 |
7 | 159,345,973 | 305.26 | 491.32 |
8 | 145,138,636 | 254.17 | 437.18 |
9 | 138,394,717 | 235.14 | 356.08 |
10 | 133,797,422 | 235.38 | 392.45 |
11 | 135,086,622 | 236.80 | 379.15 |
12 | 133,275,309 | 235.14 | 390.46 |
13 | 114,364,328 | 191.64 | 269.52 |
14 | 107,043,718 | 178.00 | 240.93 |
15 | 101,991,189 | 167.89 | 222.98 |
16 | 90,338,345 | 153.07 | 198.49 |
17 | 83,257,441 | 144.32 | 207.02 |
18 | 80,373,285 | 137.68 | 199.44 |
19 | 58,617,616 | 100.95 | 126.82 |
20 | 64,444,167 | 109.80 | 144.83 |
21 | 46,709,983 | 74.60 | 74.65 |
22 | 50,818,468 | 70.49 | 73.34 |
X | 156,040,895 | 275.14 | 457.2 |
Y | 57,227,415 | 60.85 | 62.34 |
(b) Mm | |||
Chromosome | Size (bp) | MAW (s) | PFG (s) |
1 | 197,195,432 | 340.59 | 599.86 |
2 | 181,748,087 | 316.17 | 578.2 |
3 | 159,599,783 | 274.46 | 506.73 |
4 | 155,630,120 | 266.67 | 473.97 |
5 | 152,537,259 | 260.50 | 424.24 |
6 | 149,517,037 | 256.36 | 455.11 |
7 | 152,524,553 | 257.65 | 413.37 |
8 | 131,738,871 | 223.09 | 344.92 |
9 | 124,076,172 | 210.37 | 334.25 |
10 | 129,993,255 | 222.36 | 363.34 |
11 | 121,843,856 | 208.55 | 324.54 |
12 | 121,257,530 | 205.09 | 324.79 |
13 | 120,284,312 | 204.80 | 314.56 |
14 | 125,194,864 | 212.59 | 336.49 |
15 | 103,494,974 | 175.21 | 265.92 |
16 | 98,319,150 | 166.10 | 249.03 |
17 | 95,272,651 | 160.70 | 232.79 |
18 | 90,772,031 | 153.40 | 223.56 |
19 | 61,342,430 | 101.89 | 125.85 |
X | 166,650,296 | 282.21 | 503.98 |
Y | 91,744,698 | 141.79 | 251 |
Elapsed-time comparison of MAW and PFG for computing all minimal absent words in synthetic data
Sequence | Size (bp) | MAW (s) | PFG (s) |
---|---|---|---|
S_{1} | 248,956,422 | 435.63 | 746.93 |
S_{2} | 248,956,422 | 438.52 | 733.69 |
S_{3} | 248,956,422 | 444.62 | 726.34 |
S_{4} | 248,956,422 | 444.06 | 743.29 |
S_{5} | 248,956,422 | 449.25 | 741.01 |
Conclusions
In this article, we presented the first $\mathcal{O}\left(n\right)$-time and $\mathcal{O}\left(n\right)$-space algorithm for computing all minimal absent words based on the construction of suffix arrays. In addition, we provided the respective implementation of this algorithm. Experimental results show that this implementation outperforms existing tools, both in terms of speed and memory.
In a typical application, one would be interested in computing minimal absent words in the whole genome for a set of species under study [11],[12]. Hence, we consider the improvements described in this article to be of great importance. Our immediate target is twofold: first, explore the possibility of implementing the presented algorithm for symmetric multiprocessing systems; and second, devise and implement a fast space-efficient solution for this problem based on the construction of compressed full-text indexes.
Availability and requirements
Project name: MAW MAW
Project home page: http://github.com/solonas13/maw
Operating system: GNU/Linux
Programming language: C
Other requirements: compiler gcc gcc version 4.6.3 or higher
License: GNU GPL
Any restrictions to use by non-academics: licence needed
Declarations
Acknowledgements
The publication costs for this article were funded by the Open Access funding scheme of King’s College London. CB is supported by an EPSRC grant (Doctoral Training Grant #EP/J500252/1). SPP is supported by a Research Grant (#RG130720) awarded by the Royal Society. The authors would like to thank the CRIHAN (Centre des Ressources Informatiques de HAute-Normandie, France) for the excellent support and the available computation resources that have been used during the development and test phases. The authors would like to thank Maxime Crochemore for introducing this problem and valuable discussions.
Authors’ Affiliations
References
- Haubold B, Pierstorff N, Möller F, Wiehe T: Genome comparison without alignment using shortest unique substrings. BMC Bioinformatics. 2005, 6: 123-10.1186/1471-2105-6-123.View ArticlePubMed CentralPubMedGoogle Scholar
- Domazet-Lošo M, Haubold B: Efficient estimation of pairwise distances between genomes. Bioinformatics. 2009, 25 (24): 3221-3227. 10.1093/bioinformatics/btp590.View ArticlePubMedGoogle Scholar
- Hampikian G, Andersen T: Absent sequences: nullomers and primes. Pacific Symposium on Biocomputing . Edited by: Altman RB, Dunker AK, Hunter L, Murray T, Klein TE. 2007, World Scientific, Maui, Hawaii, USA, 355-366.Google Scholar
- Herold J, Kurtz S, Giegerich R: Efficient computation of absent words in genomic sequences. BMC Bioinformatics. 2008, 9: 1-9. 10.1186/1471-2105-9-167.View ArticleGoogle Scholar
- Wu ZD, Jiang T, Su WJ: Efficient computation of shortest absent words in a genomic sequence. Inform Process Lett. 2010, 110 (14-15): 596-601. 10.1016/j.ipl.2010.05.008.View ArticleGoogle Scholar
- Pinho AJ, Ferreira PJSG, Garcia SP: On finding minimal absent words. BMC Bioinformatics200911. [http://dx.doi.org/10.1186/1471-2105-10-137]
- Crochemore M, Mignosi F, Restivo A: Automata and forbidden words. Inform Process Lett. 1998, 67: 111-117. 10.1016/S0020-0190(98)00104-5.View ArticleGoogle Scholar
- Mignosi F, Restivo A, Sciortino M: Words and forbidden factors. Theor Comput Sci. 2002, 273 (1–2): 99-117. 10.1016/S0304-3975(00)00436-9.View ArticleGoogle Scholar
- Fici G: Minimal forbidden words and applications. PhD thesis. Université de Marne-la-Vallée; 2006.Google Scholar
- Acquisti C, Poste G, Curtiss D, Kumar S: Nullomers: really a matter of natural selection?. PLoS ONE. 2007, 2 (10): e1022-10.1371/journal.pone.0001022.View ArticlePubMed CentralPubMedGoogle Scholar
- Garcia SP, Pinho AJ, Rodrigues JM, Bastos CA, Ferreira PJ: Minimal absent words in prokaryotic and eukaryotic genomes. PLoS ONE. 2011, 6 (1): e16065-10.1371/journal.pone.0016065.View ArticlePubMed CentralPubMedGoogle Scholar
- Garcia SP, Pinho AJ: Minimal absent words in four human genome assemblies. PLoS ONE. 2011, 6 (12): e29344-10.1371/journal.pone.0029344.View ArticlePubMed CentralPubMedGoogle Scholar
- Chairungsee S, Crochemore M: Using minimal absent words to build phylogeny. Theor Comput Sci. 2012, 450 (0): 109-116. 10.1016/j.tcs.2012.04.031.View ArticleGoogle Scholar
- Belazzougui D, Cunial F, Kärkkäinen J, Mäkinen V: Versatile succinct representations of the bidirectional burrows-wheeler transform. ESA, Volume 8125 of Lecture Notes in Computer Science . Edited by: Bodlaender HL, Italiano GF. 2013, Springer, Sophia Antipolis, France, 133-144.Google Scholar
- Manber U, Myers EW: Suffix arrays: a new method for on-line string searches. SIAM J Comput. 1993, 22 (5): 935-948. 10.1137/0222058.View ArticleGoogle Scholar
- Nong G, Zhang S, Chan WH: Linear suffix array construction by almost pure induced-sorting. Proceedings of the 2009 Data Compression Conference, DCC ’09 . 2009, IEEE Computer Society, Washington, DC, USA, 193-202.View ArticleGoogle Scholar
- Fischer J: Inducing the LCP-Array. Algorithms and Data Structures - 12th International Symposium, Volume 6844 of Lecture Notes in Computer Science . Edited by: Dehne F, Iacono J, Sack JR. 2011, Springer, New York, NY, USA, 374-385.Google Scholar
Copyright
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.