I would like to index the mouse or human genome with an
ESA. I need to do this more than once though and would
like to store the ESA on disk as it takes some hours to
construct. Is this feasible? Is there any way to do this
in SeqAn already?
Sure. To save an index after constructing it, you can
call save(index, "/path/to/index"). To load it, call
open(index, "/path/to/index"). The path must be given as a C
style string, so if you're using a SeqAn String, please use
toCString() to convert it.
Enrico, Thanks for the help. Is it possible to save the index into a
compressed file(s)? I'm guessing the format SeqAn currently uses is