Code disponibilized by: Daniel Saad and Mauricio Ayala-Rincón
In order to compile the source code, just do:
This will generate 3 executables:
index - Our index.
control - A program that uses libdivsufsort for comparison with our index.
textGenerator - A program responsible to generate well formed files.
A well formed file, which is a text file that has the last symbol lexicographically smaller than the others. For example:
Here we show how to run the programs.
- index To create the index one must execute:
$ ./index -create
To search for ocurrences, one must do:
$ ./index -search
Same semantic from 1).
To generate a DNA well formed text, one must use:
$ textGenerator > dnaText.txt