write .groups file in expression.heterosis.prepare()