ref="#cb4-37"></a><span class="co"># generate idx stats and put them in a directory called gtseq17_idx</span></span>
<span id="cb4-38"><a href="#cb4-38"></a><span class="ex">/map/--%</span> mkdir gtseq17_idx</span>
<span id="cb4-39"><a href="#cb4-39"></a><span class="ex">/map/--%</span> for i in <span class="dt">{1..384}</span><span class="kw">;</span> <span class="kw">do</span> <span class="ex">samtools</span> idxstats satro_flashed_s<span class="va">${i}</span>_sorted.bam <span class="op">&gt;</span> ./gt