Integrating case counts with genomic sequences quantifies real-time transmission advantages of viral variants.