<div dir="ltr">P.S. By &#39;python directory&#39; in my last message I really meant the main khmer directory and the Makefile therein.  Apologies for any confusion.<div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Jun 16, 2013 at 1:09 AM, Lester Mackey <span dir="ltr">&lt;<a href="mailto:lmackey@stanford.edu" target="_blank">lmackey@stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Jordan,<div><br></div><div>If, after running &#39;make clean&#39; in all directories, I set NO_UNIQUE_RC=1 in &#39;lib/Makefile&#39; and then run &#39;make&#39; in the higher level python directory, the Makefile fails to add -dNO_UNIQUE_RC=1 to CXXFLAGS when compiling the code in &#39;lib&#39; (and so the reverse complement and kmer are still treated identically).</div>

<div><br></div><div>I&#39;ve gotten around this by adding -dNO_UNIQUE_RC=1 to CXXFLAGS explicitly in python/Makefile, but I wanted to let you know in case this was not the desired behavior. </div><span class="HOEnZb"><font color="#888888"><div>
<br>
</div><div>Lester</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 5:53 AM, Jordan Fish <span dir="ltr">&lt;<a href="mailto:jrdn.fish@gmail.com" target="_blank">jrdn.fish@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Lester,<div><br></div><div>Unless you are working with fairly small k-values you will probably want to use the CountingHash.  Ktable handles simple exact counting so far large-ish values of k (&gt;12, according to <a href="http://khmer.readthedocs.org/en/latest/ktable.html" target="_blank">http://khmer.readthedocs.org/en/latest/ktable.html</a>) it&#39;ll blow up.</div>


<div><br></div><div>The counting hash uses a bloom filter to limit memory usage at the cost of in-exact counting.  Hopefully titus will jump in here with a link to some documentation on the inexact counting.</div><div><br>


</div><div>Finally, if you want to force khmer to treat a kmer and it&#39;s reverse complement as unique you will need to edit &#39;lib/Makefile&#39; and change the line</div><div><br></div><div>NO_UNIQUE_RC=0</div><div>

<br>
</div><div>to</div><div><br></div><div>NO_UNIQUE_RC=1</div><div><br></div><div>and rebuild khmer<br><div class="gmail_extra"><br></div><div class="gmail_extra">Jordan<br><br><div class="gmail_quote"><div><div>
On Fri, Jun 14, 2013 at 3:22 AM, Lester Mackey <span dir="ltr">&lt;<a href="mailto:lmackey@stanford.edu" target="_blank">lmackey@stanford.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Dear khmer Discussion List,<div><br></div>

<div>
If my goal is to obtain a vector of kmer counts quickly from a FASTA or FASTQ file, is there any reason to prefer ktable to one of your other data structures, like the counting hash table?   </div></div></blockquote></div>

</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
<div dir="ltr">
<div><br></div><div>I&#39;ve noticed that ktable hashes a kmer and its reverse complement to the same bin.  Is there an easy way to disable this feature (and thereby count each kmer and reverse complement separately)?</div>



<div><br></div><div>Thanks,</div><div>Lester</div></div>
<br></div></div>_______________________________________________<br>
khmer mailing list<br>
<a href="mailto:khmer@lists.idyll.org" target="_blank">khmer@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/khmer" target="_blank">http://lists.idyll.org/listinfo/khmer</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>