Phase and antigenic variation mediated by genome modifications