Scientists have used machine learning algorithms to teach computers to recognize the insect feeding patterns involved in pathogen transmission. The study also uncovers plant traits that might lead to the disruption of pathogen transmission and enable advances in agriculture, livestock and human health.