Skip to main content
. 2013 Jun 19;29(13):i361–i370. doi: 10.1093/bioinformatics/btt215

Fig. 1.

Fig. 1.

BWT and SA construction for S = mamaliga$. All the rotations of S are first listed (1) and then sorted in lexicographic order (2). The BWT string is assembled from the last character of each sorted rotation (i.e. the right-most column of the sorted rotations matrix) and the suffix array SA is given by the original position in S of the suffix at the start of each sorted rotation (the substring preceding $ in each rotation)