Bruzos et al. analyze >6,800 samples of Cerastoderma edule, generate a reference genome and follow the evolution of bivalve transmissible neoplasia that infects them. They find two lineages that show genomic instability but also long-term tolerance.