Automated methods for antibiotic