Evolution of a virus-like architecture and packaging mechanism in a repurposed bacterial protein

A capsid-like protein subjected to directed evolution efficiently packages and protects its own genome.