the process of managing samples