)</span> <span class="k">for</span> <span class="n">k</span> <span class="ow">in</span>
                                     <span class="n">tqdm</span><span class="p">(</span><span class="n">protein_keys</span><span class="p">,</span> <span class="n">total</span><span class="o">=</span><span class="nb">len</span><span class="p">(</span><span class="n">protein_keys</span><span class="p">))}</span>

        <span class="n">proteins_to_shapemer_residue_indices</span> <span class="o">=</span> <span class="p">{