reference sequences groupped