Specimen Optimal Sampling (SOS) toolkit