Bacterial infections are a major cause of death in children and adults worldwide. Without effective antibiotics, patients deteriorate rapidly and can die within hours. However, the standard process to identify the bacteria causing an infection and match them with the best antibiotic treatment can take days.