Automated cell separation