<div dir="ltr"><div>Dear Jordan,</div><div><br></div>Does the counting hash have a built-in way to enumerate used hash table entries without having to iterate over every hash table entry?<div><br></div><div>On a slightly related note, if I have 16GB of memory to work with, is it advisable to choose hash_size = min(4**k, 16e9)/4 and n_tables = 4 when calling new_counting_hash for k-mer counting?</div>

<div><br></div><div>Thanks,</div><div>Lester<br><div class="gmail_extra"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>
&gt; &gt;<br>
&gt; &gt; On Fri, Jun 14, 2013 at 3:22 AM, Lester Mackey &lt;<a href="mailto:lmackey@stanford.edu" target="_blank">lmackey@stanford.edu</a>&gt;wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Dear khmer Discussion List,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If my goal is to obtain a vector of kmer counts quickly from a FASTA or<br>
&gt; &gt;&gt; FASTQ file, is there any reason to prefer ktable to one of your other data<br>
&gt; &gt;&gt; structures, like the counting hash table?<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; I&#39;ve noticed that ktable hashes a kmer and its reverse complement to the<br>
&gt; &gt;&gt; same bin.  Is there an easy way to disable this feature (and thereby count<br>
&gt; &gt;&gt; each kmer and reverse complement separately)?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks,<br>
&gt; &gt;&gt; Lester<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; khmer mailing list<br>
&gt; &gt;&gt; <a href="mailto:khmer@lists.idyll.org" target="_blank">khmer@lists.idyll.org</a><br>
&gt; &gt;&gt; <a href="http://lists.idyll.org/listinfo/khmer" target="_blank">http://lists.idyll.org/listinfo/khmer</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; khmer mailing list<br>
&gt; <a href="mailto:khmer@lists.idyll.org" target="_blank">khmer@lists.idyll.org</a><br>
&gt; <a href="http://lists.idyll.org/listinfo/khmer" target="_blank">http://lists.idyll.org/listinfo/khmer</a><br>
<br>
<br>
</div></div><div><div>--<br>
C. Titus Brown, <a href="mailto:ctb@msu.edu" target="_blank">ctb@msu.edu</a><br>
</div></div></blockquote></div><br></div></div><span></span></div>