parallel computation of sequence frequencies