Is is straightforward to create a index out of a String object for example :
typedef Index<CharString> TIndex;
TIndex index("How much wood would a woodchuck chuck?");
In my case, I have a large file. One obvious way is to load the text in the memory in a CharString object, then to create the index out of it, but is there a function in seqan to do it directly ? The documentation seems weird as it doesn't show constructors so I have no way to know if such constructor exists. Furthermore, my file is actually about DNA, so it would be a waste to load it normally (4 time more space) if a constructor of a Index<DnaString>
existed.