Metabolic mutations help bacteria resist drug treatment