pan class="p">(</span><span class="n">protein_keys</span><span class="p">,</span> <span class="n">shapemer_keys</span><span class="p">)</span>
        <span class="k">return</span> <span class="n">make_count_matrix</span><span class="p">([</span><span class="n">proteins_to_shapemer_indices</span><span class="p">[</span><span class="n">k</span><span class="p">]</span> <span class="k">for</span> <span class="n">k</span> <span class="ow">in</span> <span class="n">protein_keys</span><span class="p">],</span>
  