n>
        <span class="c1">#Go chromosome by chromosome and initialize them randomly and save in xyz_chr</span>
        <span class="k">for</span> <span class="n">beads_chr</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">count_nonzero</span><span class="p">(</span><span class="n">mol_info</span><span class="p">[:,</span><span class="mi">1</span><span class="p">]</span> <span class="o">==</span> <span cla