Flexible sample management for life science laboratories