pan class="s2">&quot;.&quot;</span><span class="p">)):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Compute index mapping between positions in two</span>
<span class="sd">    aligned sequences</span>

<span class="sd">    Parameters</span>
<span class="sd">    ----------</span>
<span class="sd">    seq_i : str</span>
<span class="sd">        First aligned sequence</span>
<span class="sd">    start_i : int</span>
<span class="sd">        Index of first position in first sequence