New research shows horizontal gene transfer is predictable in bacteria by machine learning, a development that could lead to better weapons in the war against E. coli and other bacterial assailants that collaborate to conquer pharmacologic first responders.