for seq pattern statistics