#!/bin/bash
#

for sim in 3 5 7 9 11 13 15 21 23 25 27 29 31 33;
do
    awk ' { if ($2==1) print $1,$2 } ' base$sim-C1+chi-filtered.dat > base$sim-frames-with-HG.dat
    totalframes=$(wc base$sim-frames-with-HG.dat)
    echo 'base'$sim $totalframes
done
