-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Hello, I'm using libdivsufsort on the GitHub,
and I've tried to use it.
But, when input is a 'appellee$' (without quotation-mark), I've wanted 'e$elplepa', but we'll get '$eelplepa' as an output (see the slide https://www.cs.cmu.edu/~ckingsf/bioinfo-lectures/bwt.pdf page 6).
snippet is there.
auto buffer = static_cast<sauchar_t*>(malloc(sizeof(sauchar_t) * source.size()));
for (auto i = 0ul; i < source.size(); i++) {
buffer[i] = static_cast<sauchar_t>(source[i]);
}
auto index = divbwt(buffer, buffer, NULL, static_cast<saidx_t>(source.size()));What happend?
Metadata
Metadata
Assignees
Labels
No labels