Refactored sample group creation from seeds