Subject: [Seqan-dev] Trouble Hashing Kmers into Qgram Index
Sorry to be a bother, but I decided to go back to the docs and start fresh and I'm still having issues.
We're using Qgrams, so I trying to write a simple loop to search for all 12mers from a query sequence "seq" in the index formed from a StringSet of references "refSeq", building on the example code in the Q-Gram Index tutorial:
"""
TFinder qgramFinder(index);
for (size_t i = 0; i < length(seq)-12; i++)
{
TInfix::Type kmer = infix(seq, i, i+12);
std::cout << kmer << std::endl;
seqan::hash(indexShape(index), kmer);
for (unsigned i = 0; i < length(getOccurrences(index, indexShape(index))); ++i)
/home/bbowman/git/SRSLI/src/C++/SparseAlignment.hpp:102:16: note: in instantiation of function template specialization 'seqan::hash<seqan::SimpleType<unsigned