Increasing MAX_KMER beyond 96 will not work. If you would like to
increase MAX_KMER beyond 96, you must first modify the function
shiftRight in Common/Kmer.cpp to handle values of MAX_KMER beyond 96.
Cheers,
Shaun
I've attached an experimental patch to support values of k larger than
96. Place the attached two files in the Common/ subdirectory and
recompile. I have not tested it on a big-endian machine.
Cheers,
Shaun
On Thu, 2010-12-09 at 17:27 -0800, None wrote:
Apply the following patch to Common/Kmer.h.
Cheers,
Shaun
--- Common/Kmer.h (revision 63450)
+++ Common/Kmer.h (working copy)
@@ -33,6 +33,7 @@ class Kmer
}
Sequence str() const;
+ Sequence decode() const { return str(); }
unsigned getCode() const;
size_t getHashCode() const;
On Mon, 2010-12-13 at 21:49 -0800, None wrote:
> Hi Shaun,
>
> Thanks a lot for making the changes. But while compiling with
> kmer=1280 i get the below error:
>
> g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../Common -Wall -Wextra -Werror -
> g -O2 -MT libalign_a-Aligner.o -MD -MP -MF .deps/libalign_a-
> Aligner.Tpo -c -o libalign_a-Aligner.o `test -f 'Aligner.cpp' || echo
> './'`Aligner.cpp
> Aligner.cpp: In member function пїЅvoid
> Aligner<SeqPosHashMap>::addReferenceSequence(const Kmer&, Position)пїЅ:
> Aligner.cpp:42: error: пїЅconst class KmerпїЅ has no member named пїЅdecodeпїЅ
> Aligner.cpp:53: error: пїЅconst class KmerпїЅ has no member named пїЅdecodeпїЅ