Rebecca L Tarnopol, Ryan L Wang, Bernard Y Kim, Noah K Whiteman
Macroparasites are among the most important agents of natural selection in their host populations, but anti-macroparasite immunity is poorly understood. Vinegar flies (Drosophilidae) and the parasitoid wasps that infect them are emerging models to study how animals defend against macroparasite attack. The canonical anti-parasitoid immune mechanism in insects is melanotic encapsulation, which involves cell-mediated encapsulation coupled with prophenoloxidase (PPO)-mediated melanization of parasitoid embryos. Recently, we discovered the horizontal transfer (HGT) of a bacterially-derived humoral anti-parasitoid effector, Cytolethal distending toxin B (CdtB), across insects, including four drosophilid lineages. Here, we assessed the prevalence of these two anti-parasitoid immune mechanisms in 406 drosophilid and four outgroup species. We found that melanotic encapsulation was relatively uncommon among species with known anti-parasitoid immune responses. While PPO duplications were found in 88 species, the most salient PPO gene underlying melanotic encapsulation, PPO3 , was restricted to Drosophila melanogaster and its close relatives. PPO genes were present in lower copy number per genome in the Drosophilidae than in outgroup lineages and evolved slowly. We found cdtB in the genomes of 93 species and estimated at least 11 independent cdtB gains across the Drosophilidae as early as ~44 mya and as recently as ~6 mya. cdtB acquisition was subsequently associated with higher net diversification rates in some clades. We conclude that humoral immune effectors may play a more important role than previously appreciated in anti-parasitoid immunity in insects and that an immune innovation arising repeatedly from HGT is potentially associated with the evolutionary success of these animals.