Bacteria weigh up costs and benefits of mobile weapons | Synapse