Code disponibilized by: Daniel Saad and Mauricio Ayala-Rincón
danielsaad88@gmail.com ayala@unb.br
In order to compile the source code, just do:
$ make
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:
actagaccat$
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
- control
Same semantic from 1).
- textGenerator
To generate a DNA well formed text, one must use:
$ textGenerator > dnaText.txt