Research carried out in part by an artificially intelligent ‘robot scientist’ found that a common ingredient of toothpaste could be developed to fight drug-resistant strains of malaria.