Increased frequency of genomic alterations in Staphylococcus aureus during chronic infection is in part due to phage mobilization.