Abstract
A key mechanistic hypothesis for the evolution of division of labour in social insects is that a shared set of genes co-opted from a common solitary ancestral ground plan (a genetic toolkit for sociality) regulates caste differentiation across levels of social complexity. Using brain transcriptome data from nine species of vespid wasps, we test for overlap in differentially expressed caste genes and use machine learning models to predict castes using different gene sets. We find evidence of a shared genetic toolkit across species representing different levels of social complexity. We also find evidence of additional fine-scale differences in predictive gene sets, functional enrichment and rates of gene evolution that are related to level of social complexity, lineage and of colony founding. These results suggest that the concept of a shared genetic toolkit for sociality may be too simplistic to fully describe the process of the major transition to sociality.
Similar content being viewed by others
Introduction
The major evolutionary transitions span all levels of biological organisation, facilitating the evolution of life’s complexity on earth via cooperation between single entities (e.g. genes in a genome, cells in a multicellular body, insects in a colony), generating fitness benefits beyond those attainable by a comparable number of isolated individuals1. The evolution of eusociality is one of the major transitions and is of general relevance across many levels of biological organisation from genes assembled into genomes, single cells into multi-cellular entities, and insects cooperating in superorganismal societies. The best-studied examples of sociality are in the hymenopteran insects (bees, wasps and ants) - a group of over 17,000 species, exhibiting different forms of sociality across the transition from simple sociality (with small societies where all group members are able to reproduce and switch roles in response to opportunity), through to complex societies (consisting of thousands of individuals, each committed during development to a specific cooperative role and working for a shared reproductive outcome within the higher-level ‘individual’ of the colony, known as the ‘superorganism’2). Recent analyses of the molecular mechanisms of insect sociality have revealed how conserved suites of genes, networks and functions are shared among independent evolutionary events of insect superorganismality3,4,5,6,7,8. An outstanding question is whether there are fine-scale differences in the genetic mechanisms operating at different levels of complexity across the spectrum of sociality – from the simplest to most complex societies.
A key step in the evolution of sociality is the emergence of a reproductive division of labour, where some individuals commit to reproductive or non-reproductive roles, known as queens and workers respectively in the case of insect societies. An overarching mechanistic hypothesis for social evolution is that the repertoire of behaviours typically exhibited in the life cycle of the solitary ancestor of social species were uncoupled to produce a division of labour among group members with individuals specialising in either the reproductive (‘queen’) or provisioning (‘worker’) phases of the solitary ancestor9. Such phenotypic decoupling implies that there will be a conserved mechanistic toolkit that regulates queen and worker phenotypes in species representing different levels of social complexity across the spectrum of the major transition (reviewed in10). An alternative to the shared toolkit hypothesis is that the molecular processes regulating social behaviours in non-superorganismal societies (where caste remains flexible, and selection acts primarily on individuals) differ fundamentally from those processes that regulate social behaviours in superorganismal societies11,12. Phenotypic innovations across the animal kingdom have been linked to genomic evolution: taxonomically-restricted genes13,14,15,16,17, rapid evolution of proteins18,19 and regulatory elements18,20 have been found in most lineages of social insects21. Indeed, some recent studies have suggested that the processes regulating different levels of social complexity may be different8,18,20,22. The innovations in social complexity and the shift in the unit of selection (from individual- to group-level23) that occur in a major transition may therefore be accompanied by shifts in genomic processes and evolution, throwing into question whether the concept of a universal conserved genomic toolkit that regulates social behaviours across the spectrum of the major transition may be too simplistic24,25. The roles of conserved and novel processes are not necessarily mutually exclusive; novel processes may coincide with phenotypic innovations, whilst conserved mechanisms may regulate core processes at all stages of social evolution.
Until recently, the data available to test these hypotheses were largely limited to species that represent either the most complex – superorganismal - forms of sociality (e.g. most ants, honeybees26), or the simplest forms of social complexity as non-superorganisms (e.g. Polistes wasps5,27,28,29 and incipiently social bees30,31,32,33), the latter of which may represent the first stages in the major transition. Recent studies have identified core gene sets underlying caste-differentiated brain gene expression across a range of ants6 and bees8; ants lack ancestrally non-superorganismal representatives and so may not be informative for studying simpler societies and, putatively, the process of social evolution34. Analyses of molecular evolution across two independently evolved lineages of sociality in bees showed increased levels of regulatory complexity with social complexity8. These insights highlight the need for a fine-scale dissection of the molecular processes regulating social behaviour for species representing different forms of social complexity8, but also the need to consider the influence of life-history traits on gene evolution, as a selective process that is independent of complexity per se.
A promising group for unpicking the molecular basis of social complexity are the vespid wasps35, which exhibit the full diversity of social complexity among some 1,100 species, as well as diversity in life-history traits such as mode of colony founding. Aculeate wasps are of paramount importance in studying the evolution of sociality in the Hymenoptera as they represent the evolutionary root to both bees and ants36. However, to date sociogenomic studies of caste evolution in wasps have been limited to Polistes5,14,28, thus not yet permitting a test of the toolkit hypothesis beyond this lineage5.
Here we generate brain transcriptomic data of caste-specific phenotypes for nine species of social wasps, representing diversity in social complexity and mode of colony founding, a life-history trait that is independent of social complexity (Fig. 1). Brain tissue is appropriate here, as it is the epicentre of behavioural regulation and is known to be highly dynamic and responsive to social interactions and social behaviour37; moreover, behaviour is one of the defining features of castes and brain-associated gene expression studies in social insects10. We employ a machine-learning algorithm - support vector machines (SVMs) – along-side more conventional gene expression analyses to conduct fine-scale analysis of the molecular processes associated with caste, to test the hypothesis that there is a conserved genetic toolkit for social behaviour in species displaying different forms of sociality among putative proxy representatives of non-superorganismal (simple) to superorganismal (complex) species in vespid wasps (Aim1; Hypothesis 1). In Aim 2 we further interrogate these data to explain shared and contrasting patterns of transcription among species. Specifically, we test the hypothesis that transcriptomic signatures of social behaviour may be influenced by level of social complexity (i.e. simpler versus the more complex societies) (Hypothesis 2;24); and further test the possible effects of lineage (vespines versus polistines) (Hypothesis 3) and life-history on gene expression, specifically with respect to the mode of colony foundation (i.e. independent-founding versus swarm-founding) (Hypothesis 4). Finally, we assess whether the levels of social complexity are associated with contrasting rates of gene evolution24 and if worker-biased genes are undergoing more rapid evolution, as reported in bees8,13,17,19,20 and ants6,7 (Hypothesis 5). Our results provide evidence of a conserved genetic toolkit across forms of social complexity in the spectrum of the major transition to sociality in wasps; they also reveal how there are fine-scale differences in the molecular patterns and processes between simple and complex societies24, and with a life-history trait. These results suggest the concept of a shared genetic toolkit across the spectrum of sociality and across lineages may be too simplistic, and that level of social complexity, life-history traits and lineage influence the molecular processes underpinning social behaviour.
Results
We chose one species from each of nine different genera of social wasps from among the two main subfamilies - Polistinae and Vespinae; collectively these species represent the full spectrum of social diversity (detail on species choice given in Fig. 1 and Methods). For each species, we sampled RNA from whole brains of adults for the two main social phenotypes – adult reproductives (defined as mated females with developed ovaries, henceforth referred to as ‘queens’ for simplicity; see Methods and Supplementary Data 1) and adult non-reproductives (defined as unmated females with no ovarian development, henceforth referred to as ‘workers’; see Methods). These were sequenced as individual pools to generate a worker sample and a queen sample (both made up of between 3 and 11 biological replicates per caste pool). We then constructed de novo brain transcriptomes and estimated gene expression among queens and workers for each species. Using these data we could reconstruct a phylogenetic tree of the Hymenoptera using single-copy orthologous genes (Orthofinder38), resulting in expected patterns of phylogenetic relationships (Supplementary Fig. 1). This dataset allows us to test the extent to which the same molecular processes underpin the evolution of social phenotypes of different forms of sociality, as extant proxies in the major transition to superorganismality in wasps (Aim 1).
Aim 1: Is there a shared genetic toolkit for caste among species across the major transition from non-superorganismality to superorganismality in Vespid wasps?
We found several lines of evidence for a shared genetic toolkit for caste across the wasp species using two different analytical approaches (Hypothesis 1).
Firstly, we found evidence that caste explains gene expression variation, after species-normalisation. The main factor explaining gene expression variation (using single copy orthogroups) was species identity, and to some extent subfamily, as all the Polistinae clustered tightly (Fig. 2a). However, since we are interested in determining whether there is a shared toolkit of caste-biased gene expression across species, we needed to control for the effect of species in our data. To do this, we performed a between-species normalisation on the transcript per million (TPM) score, scaling the variation of gene expression to a range of −1 to 1 (see Methods). After species-normalisation, the samples separate mostly into queen and worker phenotypes in the top two principal components (PC; Fig. 2b). This suggests that subsets of genes (a potential toolkit) are shared across these species and are representative of caste differences. However, there were outliers: Brachygastra did not cluster with any of the other samples (despite correct PC 1 queen direction); Agelaia showed little caste-specific separation and in the opposite direction to the other species (Fig. 2b). These two outlier species do not share the same caste-specific patterns as the other species. Neither sequence abnormalities nor contamination can explain why these species are outliers (see Supplementary Data 1).
Next, we used inferred lists of orthologs allowing some flexibility in numbers of isoforms (maximum of three isoforms, taking the most highly expressed) for each orthogroup and missing data (maximum of two species), allowing larger matrices of genes to be tested for differences between castes (Supplementary Data 2). Using this approach we detected 57 orthologous genes with four or more caste-biased species [queen or worker biased] (Fig. 3a; Supplementary Data 3) and 353 orthologous genes (Supplementary Data 3) with caste-biased expression in at least two of nine species in the same direction (either queen- or worker-biased only). There was overrepresentation of pheromone, chitin/odorant binding and muscle-related gene ontology (GO) terms using these two cut-offs (Fig. 3b, c; Supplementary Data 3). No ortholog showed consistent caste-biased differential expression across all nine wasp species (Fig. 3a; Supplementary Data 3; using unadjusted <0.05 p values). Despite this, notable signatures of caste regulation were apparent across the species, with the exception of Brachygastra. For example, orthogroup OG0001418 was upregulated in queens from eight of the nine species and is predicted to belong to the vitellogenin gene family (using the Metapolybia protein sequence to represent the orthogroup), a transcriptional target and mediator of the insect physiology-regulator juvenile hormone (JH). JH is known as a pleiotropic master regulator of social traits, such as aggression, foraging behaviour and reproduction; in both Vespinae and Polistinae JH has been shown experimentally to regulate reproduction and is thought to be an honest fertility signal39,40. A second gene of interest that was consistently queen-biased was oocyte zinc finger 22. Zinc finger proteins have diverse functions but broadly they regulate gene expression by binding to DNA or RNA and controlling transcription; they are caste-biased in a range of social insects and have also been identified as targets for positive selection in social evolution22 and so could be a key transcription factor driving wide expression patterns among castes across our species. Finally, we also could show that most pair-wise differential genes overlap significantly, except some comparisons to Agelaia (Supplementary Note 1, Supplementary Fig. 6).
Secondly, we found evidence that a toolkit of many genes with small effects predicts caste across different forms of sociality in wasps. Conventional differential expression analyses (e.g. edgeR) require a balance of P value cut-offs and fold change requirements to reduce false-positive and false-negative errors41. Therefore, consistent patterns of many genes with smaller effect sizes may be missed when applying strict statistical measures. Support vector machine (SVM) approaches use a supervised learning model capable of classifying samples based on the effects of multiple independent variables (in our case: genes) to known response variables (in our case: castes, queens/workers)42. SVM approaches can detect subtle but pervasive signals in differential expression between states/conditions (e.g. for classification of single cells43,44, cancer cells45 and in social insect castes46), and reduce this information down to a single dimension (from 0 to 1). We used this approach to train SVM models, coding caste for each species as either 1 for queen and 0 for worker, and then testing whether we can successfully classify caste identity for a species not used to train the model; accurate classification of samples as queens (1) or workers (0) based on their global transcription patterns would be evidence for a genetic toolkit underpinning social phenotypes.
To run the SVM model we additionally used ‘feature selection’, which is a commonly used method of reducing the number of genes used for the predictions. In our model, we used linear regression to sort the genes into those relating to caste differences (in Figs. 4 and 5, we plot this on the x axis, where the SVM runs using 99 to 1% of the data remaining, which shows the percentage of total genes used in each svm model after feature selection).
After testing the SVM classification error and parameter settings (Supplementary Data 2, Supplementary Fig. 2), we conducted a “leave-one-out” SVM approach to predict the caste in the species (queen) left out. The classifier estimation score ranges from 0 to 1, with an estimation closer to ‘0’ meaning the signal is more worker-like and ‘1’ for more queen-like (a score close to 0.5 means the SVM was unable to classify the sample). We applied three different iterations of the leave-one-out approach using different Orthofinder conversion tables (Supplementary Data 2). Our first approach used the “true-single-copy” orthologues that could be detected with sufficient expression (Fig. 4a- left; Supplementary Data 4) across all nine species (n = 1221 genes). After feature selection (based on linear regression, with more features removed from left to right; see Methods) the top 259 genes (<0.05 from linear regression representing around 20% of the genes after feature selection) could predict the queen caste correctly in seven of the nine species (Fig. 4a- left; with > = 0.6 classification estimate in the queen sample within the top 20% of genes); the two outlier species (Agelaia and Brachygastra) showed generally lower queen estimations (<0.5) and had previously been highlighted as outliers (Fig. 2 & 3). We explored two other orthology lists in order to explore whether, if the single-copy ortholog rule was relaxed and more orthogroups were included, caste estimations would remain accurate: in one model we allowed up to 3 isoforms per gene (Fig. 4a- middle: Supplementary Data 4; n = 1831 genes), and in the third we allowed up to two out of nine species to have a missing gene representative of the orthogroup, plus up to three isoforms per gene (Fig. 4a- right: Supplementary Data 4; n = 5536 genes). Even with these relaxed conditions, caste was classified accurately for all species except for the same aforementioned outliers. This suggests that large numbers of genes with caste-biased expression exist across social wasps.
We found some level of functional enrichment among the predictive genes that remained in the models after feature selection. There were consistent patterns of enrichment for GO terms in the two more relaxed models (Fig. 4b- middle & 4b- right), with genes enriched for mostly ionic transport and visual/sensory perception (Supplementary Data 4). Expression of the top 50 genes (from linear regression; chosen from Fig. 4a- left) allow us to identify some of the most important genes (Fig. 4c), some of which were previously been identified as associated with caste differentiation in social insects (e.g. vitellogenin; zinc finger (as mentioned earlier) and ubiquitin). Others have not been associated with caste previously but may have relevant functions in regulating caste; for example, striatin-4 (OG0005432) is involved in calmodulin binding and thus may play a role in activating (or inactivating) calcium-binding; adenosylhomocysteinase (OG0002120) is one of the most conserved proteins in living organisms and facilitates local transmethylation, thus it may be important in active transcription and epigenetic processes47. Interestingly, the vast majority of the putatively important genes are downregulated in queens, and upregulated in workers, suggesting that perhaps the transcriptomic demands of worker behaviour may be more diverse than those involved in being a queen, whilst queens express a more restricted molecular toolkit as expected if they are specialised in reproduction.
We compared the genes and GO terms obtained from the SVM and edgeR methods (Fig. 3c). There was little overlap in enrichment of GO terms between the two datasets. Moreover, there was less overlap than expected by chance between the 1420 SVM predictor genes and the 353 genes identified as differentially expressed (edgeR; <0.05 P value): in comparisons that included at least two species in the same direction, only 35 genes overlapped (Hypergeometric: 1.89e-14, under-enriched 2.59 fold; Supplementary Data 4). Of the genes that are present in both sets, some have previously been identified as having relevance to social evolution and caste differentiation; these include Vitellogenin (as mentioned earlier;48 two protein isoforms: OG0001119 and OG0001418), a zinc finger gene (as mentioned earlier; OG0005731) and a gonadotrophin-releasing hormone, which is related to the regulation of reproduction. ATP-synthase has caste-specific expression in the weaver ant49 (OG0006255 and OG0006612) and esterase E4-like (OG0000783) is upregulated in young honeybee queens compared to nurses at the proteomic level50. There are also other genes of interest, which to our knowledge have not previously associated with caste, including Toll-like receptor 8 (OG0001441) (see Supplementary Data 4). Finally, 40% of the overlapping genes (n = 14) are uncharacterised proteins, suggesting a role for potentially novel genes; novel (or taxon-restricted) genes have been previously highlighted for their potential role in social evolution across bees and wasps15.
Aim 2: How does level of social complexity, phylogeny and life-history influence the molecular basis of castes?
To explore whether there are any finer-scale differences among the different levels of social complexity (Hypothesis 2)24, we trained an SVM model using Mischocyttarus, Polistes, Angiopolybia and Metapolybia as representatives of the simpler societies in the major transition (see Fig. 1), and tested how well this gene set classified castes for the four species representing the more complex societies in the major transition (Polybia, Agelaia, Vespa and Vespula; see Fig. 1). Brachygastra was excluded due to its poor performance overall (see Fig. 4) and to balance sample sizes in training and test sets. If castes in the test species classify well, this would suggest that the processes regulating castes in the simpler societies are equally important in the more complex societies (i.e. there is no specific caste toolkit for social behaviour in simple societies, which is absent (putatively lost) in more complex societies). Conversely, if the test species do not classify well, this would suggest that there are distinct processes regulating caste in the simpler societies that are less important in more complex forms of sociality.
When training the model on the four species with simple societies, we found that both vespines (Vespa and Vespula) had good classification estimates at around 0.8 (Fig. 5a), comprising around 800 genes after feature selection (p values < 0.05 [vertical dotted line in Fig. 5a]). Similarly, Polybia also classified well, though with lower confidence (~0.78). Agelaia could not classify castes correctly (~0.55); however, this species was identified as an outlier in our first analyses and this may reflect some facet of their biology (e.g. their intermediate form of social complexity – see Fig. 1), or an anomaly with the data that we were unable to detect (see Supplementary Data 1). Considering these four tests together, a set of 277 gene orthologs were found (Supplementary Data 5; p value < 0.05 in all four species tests), that represent a core set of genes that classify caste correctly in complex societies. Based on these species, these results suggest that the genetic toolkit for simple societies is well conserved in the more complex societies that we sampled, although future work should confirm this by expanding the repertoire of species.
We next performed the reciprocal test by training the SVM using the four species with the more complex societies (Polybia, Agelaia, Vespa and Vespula) and tested it on the four species with simpler societies (Mischocyttarus, Polistes, Metapolybia and Angiopolybia). The predictive gene set for the more complex societies was able to classify castes for the simpler societies albeit with lower overall levels of success (Fig. 5b - Polistes ~0.65, Angiopolybia ~0.7, Metapolybia ~0.7, Mischocyttarus ~0.8), and with a significantly smaller gene set. After feature selection, only around 350 genes were found in each of the four tests (less than half that found in the first test: ~800), and 289 were found in all four tests, describing castes in these more complex societies (Supplementary Data 5). The lower overall success of the gene set trained on the more complex species in classifying castes in species from the simpler societies suggests there may be different (additional) processes regulating castes at the more complex levels of sociality.
To explore this idea further, we tested whether there was significant overlap among the three putative toolkits, by comparing the identities of genes predictive of ‘simpler societies’ (Fig. 5a; n = 277), ‘more complex societies’ (Fig. 5b; n = 289), and ‘full spectrum’ (Fig. 4a- Left; n = 259) toolkits. We found significant overlap between the combined genes in the simpler and the more complex ‘toolkits’ with the full spectrum set (Fig. 5c grey vs pink; blue vs pink), but not between the simpler and more complex societies (grey vs blue; see Fig. 5c for statistics). This suggests that there may be distinct differences in the genes regulating castes at different levels of social complexity. We found further suggestive evidence for this at the putative functional level: there were no consistent patterns of GO terms across the two toolkits, with only the complex society toolkit having significant levels of enrichment after correction (Fig. 5d- mostly cation/ion transport; Supplementary Data 5).
Next, we explored whether the genes regulating castes varied among subfamilies (Hypothesis 3). Using the same reciprocal SVM approach, we found little evidence that subfamily influences the molecular processes regulating caste. Using the seven polistines as the training set, queens and workers in the two vespines mostly classified with a confidence of 1 with less than ~35% of genes removed after feature selection, similar to our previous classifications (Supp. Figure 3a, Supplementary Data 6 [tab ‘Vespula_Polistinae‘ and ‘Vespa_Polistinae‘]). The reverse of this test could not be performed due to low sample sizes for a vespine training set. Despite this, we conducted further tests using five Polistines species (of the genera Metapolybia, Mischocyttarus, Polistes, Polybia and Angiopolybia; removing the weakly supporting species Agelaia) to see if training solely within their own subfamily would improve or worsen the classification scores. Predictions were generally similar or worse than when all remained species are used from training (except Metapolybia). This suggests that the signal of caste is not particularly strong in the Polistines and that this group does not have a specific toolkit isolated from the Vespines (that would be expected to improve classifications); however, more data would be needed to fully test this hypothesis. Thus, with the data currently available, these results suggest that the genes regulating castes are shared across these two subfamilies, with little evidence for subfamily-specific toolkit genes.
Vespid wasps share many life-history traits (e.g. diet), but are contrasting in others. One contrasting trait, which was not confounded by level of social complexity (see Fig. 1) is their mode of colony founding. Some species form new colonies alone (‘independent founders’) whilst others form new colonies as a swarm containing queens and workers (‘swarm founders’). Founding behaviour is independent of level of complexity: e.g. the species with the simplest (e.g. Polistes and Mischocyttarus) and the most complex (Vespa and Vespula) societies are all independent founders; equally the swarm-founders (Angiopolybia, Metapolybia, Agelaia, and Polybia) exhibit a spectrum of social complexity (see Fig. 1). It is possible, therefore, that the molecular basis of caste reflects this key life-history trait, and not just social complexity (Hypothesis 4). We found some evidence to support this. The gene set obtained from an SVM trained to classify castes in the swarm-founders was very successful in classifying castes for the independent founders, with classifications between 0.7–1 for all test species. Conversely, the reciprocal analysis performed poorly: the gene set obtained from an SVM trained on the independent-founders was unable to predict castes at >0.7 for three of the four species (Supplementary Fig. 4; Supplementary Data 6 [Swarm/Independent]); however, without greater replication, the contribution of life history traits to the signal of caste across the Hymenoptera remains unclear. In addition, we also found some evidence of elevated rates of protein evolution among swarm-founders specifically (see Supplementary Note 2), suggesting that life history could involve additional molecular innovations.
Further support for there being different molecular processes shaping caste transcription at different levels of social complexity was found in the patterns of gene evolution (Hypothesis 5). Previous studies found that rates of protein evolution are high in more complex societies and specifically among the caste-biased genes18,19. We tested both these predictions.
We found no support for the prediction that higher rates of evolution would be found in the more complex societies (Supplementary Fig. 5a, b). To the contrary, overall the highest rates of dN/dS were in the four species with simpler societies, with an average of 0.1639218 across all orthogroups, and significantly higher than the five species with more complex societies (average 0.1015024, Wilcoxon test W = 307318, p value < 2.2e-16; Supplementary Fig. 5c). We dissected this further within the Polistinae: species with the simpler societies (Mischocyttarus, Polistes) had higher and significantly different rates of evolution than those with more complex societies (Polybia, Brachygastra, Agelaia) (dNdS mean of orthogroups in foreground branch with simple species = 0.180918; with complex species = 0.1327845; Wilcoxon test W = 119615, p value = 2.824e-11). Six orthogroups showed positive selection in only the simpler Polistines (chi-square test p < 0.05, dN/dS >1): these included genes related to female-specific gene expression in ants51, ant venom52 and social behaviour in zebrafish53 (Supplementary Data 7, tab ST15). Four orthogroups showed positive selection in only the complex Polistines, none of which had been linked previously to social behaviour (Supplementary Data 7, tab ST16). Across both lineages (polistines and vespines), one orthogroup was under positive selection among the complex species (Supplementary Data 7, tab ST14), suggesting lineage effects and the need for wider taxonomic sampling of vespines.
We found little support for the prediction that caste-biased genes (specifically worker-expressed) would be rapidly evolving. Of the 11 significant orthogroups identified above, only one was differentially expressed with respect to caste in two species (OG0004867, uncharacterized protein LOC106789623), and four other orthogroups (OG0003362: UMP-CMP kinase isoform X1; OG0003491: uncharacterized protein LOC107067502; OG0003159: lysozyme c-1-like; OG0003184: doublesex isoform X1) were differentially expression in just one species (Supplementary Data 7, tab ST27).
Taken together, these results provide evidence that the molecular processes regulating caste differentiation vary depending on the level of social complexity. The finding of more rapid rates of protein evolution in the simpler societies (Supplementary Fig. 5c) was unexpected since studies of gene evolution in social bees have found the higher rates of evolution in the more complex societies6,7,8,13,17,19,20.
Discussion
Major transitions in evolution provide a conceptual framework for understanding the emergence of biological complexity. Discerning the processes by which such transitions arise provides us with critical insights into the origins and elaboration of such complexity. In this study, we explored the evidence for key hypotheses on the molecular bases of social evolution by analysing caste transcription in nine species of wasps. As predicted, we find evidence of a shared genetic toolkit across the spectrum of social complexity in wasps;25 importantly, using machine learning we reveal that this toolkit likely consists of many hundreds of genes of small effect (Fig. 4). However, in sub-setting the data by level of social complexity, lineage and a key life-history trait (colony founding), several insights are revealed. Firstly, there appears to be a putative toolkit for castes in the simpler societies that largely persists across the major transition, through to superorganismality. Secondly, different (additional) processes appear to become important at more complex levels of sociality24. Finally, we discuss apparent differences among lineages, highlighting the importance of wider taxonomic consideration and replication in the quest to understand the molecular basis of sociality and the nature of the major transition. Taken together, we suggest that the concept of a shared molecular toolkit for sociality may be too simplistic and that future studies should consider the evolutionary impact of other traits on molecular processes, specifically life-history and ecology, alongside castes.
The discovery of a substantial set of genes that consistently classify caste across most of the species, irrespective of the level of social complexity was a key finding. The taxonomic range of samples used meant we were able to confirm that specific genes are consistently differentially expressed, with respect to caste, across the species. These patterns would be difficult to detect if only looking at a few species within a lineage or among species representing only a limited selection of social complexities. In addition to typical caste-biased molecular processes, we also identified that genes related to synaptic vesicles are different between castes; this is interesting as the regulation of synaptic vesicles affects learning and memory in insects54. To our knowledge, this is the first evidence of what may be a conserved genetic toolkit for sociality, from the simplest stages of social living through to true superorganismality.
The underlying assumption, based on the conserved toolkit hypothesis, has been that whatever processes regulate castes in complex societies must also regulate castes in simpler societies7,25,55. Alternative hypotheses posit that different molecular processes underpinning castes may differ at different levels of social complexity24. We found evidence supporting this latter idea. There may be fundamental differences discriminating superorganismal societies from non-superorganismal societies24. Intriguingly, the two species which classified least well (Agelaia and Brachygastra) exhibit intermediate states of social complexity between superorganismal and non-superorganismal, sharing traits of both (see Fig. 1). Further analyses from these kinds of societies are required to explore whether these patterns reflect a form of sociality complexity where the conserved molecular toolkit is not important (or is different); or perhaps it may reflect a pivotal stage in the major transition, involving a possible upheaval of the molecular processes regulating castes, where pre-imaginal caste commitment is partially apparent. These findings highlight the importance of examining different stages in the major transition when attempting to elucidate its patterns and processes8,10,21,35.
Dissecting the molecular toolkits by lineage (Polistinae and Vespinae) and colony founding categories (swarm-founding and independent founding), showed that these factors also influence the molecular toolkit. The Vespines performed better when trained with the Polistines than the other way round, and there were some small differences between the swarm and independent founders, highlighting the importance of taking lineage and life-history traits into consideration.
Phenotypic evolution is often accompanied by increased rates of gene evolution. Indeed, high rates of protein evolution have been detected in worker-biased genes of more complex societies like the honeybee, and some ants13,18,19,20. This makes sense as the worker caste (with altruism and partial/complete sterility) is the dominant phenotypic innovation in social evolution and has led to the suggestion that rapid gene evolution is expected in the most complex forms of sociality, where phenotypic specialisations are most pronounced18,21. We were surprised to find, therefore, higher rates of gene evolution in wasp species with simpler societies compared to more complex societies; these results are in stark contrast with the findings of a recent brain/head transcriptome study on social phenotypes from a range of social complexity in bees8 where (in keeping with previous studies) rapid gene evolution was most apparent in complex societies. There are several interpretations of these contrasting results. First, the level of social complexity displayed by the simplest species in Shell et al. 20218 represents a much more rudimentary form of sociality compared to the simplest societies in our study, with many of their 12 species being only facultatively sociality (e.g. females of Ceratina australensis can nest either alone or in a small group) and some barely exhibiting any reproductive division of labour (e.g. Ceratina calcarata). Facultative sociality is rare in the vespid wasps, being largely limited to a few species of Stenogastrinae; the simplest Polistinae are represented in our sample and all are obligately social (meaning they always nest in a group). It is possible therefore, that the rapid gene evolution occurs only when a species is committed to group living, with a clear division of reproductive labour. An alternative explanation lies in ecology and life-history: bees and wasps differ fundamentally in how they provision brood, with wasps hunting prey56 and bees collecting pollen. These findings add to the complexities of explaining the molecular basis of social evolution, and highlight a greater need to emphasis and account for variation in natural history, ecology and life-history and social behaviour10,26,35,57.
Our study illustrates the power of SVMs in detecting large suites of genes with small effects, which largely differ from those identified from conventional differential expression analysis46. We advocate the use of the two methods in parallel: our conventional analyses suggested that metabolic genes appear to be responsible for the differences between castes, whereas the SVM genes were mostly enriched in neural vesicle transportation genes, which have not previously been connected with caste evolution. However, these models are only as good as the initial data used to train them. Our study suffers from a few limitations, which are important to expand upon. Firstly, the sample size (number of species) is good for a sociogenomics study, but relatively low for machine learning studies; SVMs are generally used on very large datasets such as clinical trials in the medical sciences58. Our models did perform well, as evidenced from our exploration of learning curves and predicted errors (see Fig. 4a, Methods & Supplementary Data 9) and our analysis examined gene expression data with thousands of features; however, future analyses would be more robust by using more species in the training datasets. Indeed, we observed reduced performance in our model predictions when fewer species were included in the training set. Secondly, by comparing across multiple species, we can only train our model on genes that have a single representative isoform per species in each separate test. This reduces the numbers of genes we can test in each SVM model, especially where more distantly related species are included. We overcame this limitation by merging gene isoforms within the same orthogroup (potential gene duplications); yet this comes with some additional costs as some genes are discarded in this process. Third, genomes are not available for most of the species we tested; our measurements are based on de novo sequenced transcriptomes, which potentially contain misassembled transcripts, which could reduce the ability to find single-copy orthologs across species. For these reasons, the numbers of genes detected in our putative toolkit for sociality is likely to be conservative and modest (potentially by several fold). Fourth, although we sampled as widely as we could from different colonies within each species, there may be inherent differences associated with the biology of a particular species that may not be entirely accounted for due to the difficulty of getting hold of little studied, hard-to-find insects as used in our study. A key example is stage in the colony cycle which was accounted for in some species by sampling across multiple colonies (e.g. Metapolybia; Polistes) but not in others (e.g. we were only able to obtain one colony of Agelaia). Fifth, we lacked true biological replicates of the majority of species, which prevents us from concluding with confidence the patterns in individual species. This could also mean that an individual with highly biased gene expression could distort the expression profile of the group it represents (queen or worker), and that by pooling several indviduals into a single replicate, we lose that information and thus cannot test for individual-level bias. Finally, our study focused on brain tissue only; although gene expression in the brain is dynamic and responsive to the social environment37, brain tissue tends to have a lower number of highly expressed genes relative to other tissues and slower rates of gene evolution17. Future studies might consider a wider range of tissue types (e.g33.) with higher levels of replication within and among species. These limitations apply to many studies to date, due to the difficulty and expense of obtaining high-quality genomic data for specific phenotypes for non-model organisms.
In conclusion, our analyses of brain transcriptomes for castes of social wasps suggest that the molecular processes underpinning sociality are conserved throughout the major transition to superorganismality. However, different (putatively additional) processes may come into play in more complex societies. There may be fundamental differences in the molecular machinery that discriminates key points of innovation in the major transition; for example, the evolution of irreversible caste commitment (in superorganisms) may require a fundamental shift in the underlying regulatory molecular machinery6,24. Such shifts may be apparent in the evolution of sociality at other levels of biological organisation, such as the evolution of multicellularity, taking us a step closer to determining whether there is a unified process underpinning the major transitions in evolution.
Methods
Study species
Nine species of vespid wasps were chosen to represent different levels of social complexity across the major transition (Fig. 1). The simplest societies in our study are represented by Mischocyttarus basimacula basimacula (Cameron) and Polistes canadensis (Linnaeus); wasps in these two genera are all independent nest founders and lack morphological castes (defined as allometric differences in body shape, rather than overall size) or any documented form of life-time caste-role commitment59,60,61,62. They live in small family groups of reproductively totipotent females, one of whom usually dominates reproduction (the queen); if the queen dies she is succeeded by a previously-working individual22. As such, these societies represent some of the simplest forms of sociality, where caste roles are least well defined, and where individual-level plasticity is advantageous for maximising inclusive fitness. These simple forms of group living may represent the early stages in the major evolutionary transition to sociality25,35.
The Neotropical swarm-founding wasps (Hymenoptera: Vespidae; Epiponini) include over 19 genera with at least 246 species63, exhibiting a range of social complexity measures, from complete absence of morphological caste (preimaginal) determination to colony-stage specific morphological differentiation, through to permanent morphological queen-worker differentiation64. As examples of species for which there is little or no evidence of developmental (morphological) caste determination, we chose Angiopolybia pallens (Lepeletier) which is phylogenetically basal in the Epiponines65,66 and Metapolybia cingulata (Fabricius)65,66. We confirmed the lack of clear caste allometric differences in Metapolybia cingulata as data were lacking (see Morphometrics methods (below) and Supplementary Data 8).
As examples of species showing subtle, colony-stage-specific caste allometry, we chose a species of Polybia. The social organisation of Polybia spp is highly variable, ranging from complete absence of morphological queen-worker differentiation67. Polybia quadricincta (Saussure) is a relatively rare (and little studied) epiponine wasp, which can be found across Bolivia, Brazil, Columbia, French Guiana, Guyana, Peru, Suriname and Trinidad68. Our morphometric analyses found some evidence of subtle allometric morphological differentiation in this species, but with variation through the colony cycle (Supplementary Data 8); this suggest it is a representative species for the evolution of the first signs of pre-imaginal caste differentiation.
Many species of the genera Agelaia and Brachygastra appear to show pre-imaginal caste determination with allometric morphological differences between adult queens and workers65. We chose one species from each of these genera as representatives of the most socially complex Polistine wasps. Although no morphological data were available for Agelaia cajennensis (Fabricius) all species of Agelaia studied show some level of preimaginal caste determination65,69. Brachygastra exhibit a diversity of caste differentiation;65,70 our morphological analysis of caste differentiation B. mellifica (Say) confirms that this species is highly socially complex, with large colony sizes65 and pre-imaginal caste determination resulting in allometric caste differences (Supplementary Data 8).
All species of Vespines are independent nest founders and superorganisms, with a single mated queen establishing a new colony alone and with morphological castes that are determined during development. However, some species exhibit derived superorganismal traits, such as multiple mating71, which have likely evolved under different selection pressures to the major transition itself72. The European hornet, Vespa crabro (Linnaeus), exhibits the hallmarks of superorganismality (see Fig. 1) but little evidence of more derived superorganismal traits, such as high levels of multiple mating. Conversely, multiple mating is common in Vespula species, including V. vulgaris (Linnaeus) with larger colony sizes than Vespa71, suggesting a more complex level of social organisation.
Sample collection
All colonies used in this study were post-emergence, meaning they were well established, with brood of all life stages (eggs, larvae and pupae) and were actively producing adults. Where possible, we sampled from colonies representing different stages in the colony cycle, as caste differentiation can vary as the colony matures in some species (Supplementary Data 1). All species were collected in the same way, as whole colonies collected in situ in the wild at a time of day when foraging was actively taking place. Metapolybia cingulata (6 colonies), Polistes canadensis (3 colonies), Agelaia cajennensis (1 colony) and Mischocyttarus basimacula basimacula (3 colonies) were collected from wild populations in Panama in June 2013. Brachygastra mellifica (4 colonies) were collected from populations in Texas, USA in June 2013. Angiopolybia pallens (2 colonies) and Polybia quadricincta (2 colonies) were collected from Arima Valley, Trinidad in July 2015. Vespa crabro (4 colonies) and Vespula vulgaris (4 colonies) were collected from various locations in South-East England, UK in 2017. All colonies were collected in a similar way, with wasps picked from the nest and placed immediately onto dry ice or directly into RNAlater (Ambion, Invitrogen) and stored at −20 °C until further use. Samples were ultimately pooled within castes for all analyses, such that each pool consisted of 3–6 individual brains from wasps sampled across 2–4 colonies to capture individual-level and colony-level variation in gene expression (see Supplementary Data 1). Samples of M. cingulata, A. cajennensis, M. basimacula and B. mellifica were sent to James Carpenter at the American Natural History Museum for species verification. A. pallens and P. quadricincta were identified by Christopher K. Starr, at University of West Indies, Trinidad and Tobago.
Identification of queens and workers
Queens and workers were identified through examination of their reproductive tracts as this shown to be a reliable indicator of caste in social wasps. Abdomens were removed from all wasps in each colony and all females were dissected to determine reproductive status. Ovary development was scored according to35,57 and the presence/absence of sperm in the spermathecae was identified to determine insemination. Inseminated females with developed ovaries were scored as ‘queens’; non-inseminated females with no sign of any ovary development were scored as workers. Uninseminated wasps with developed ovaries are sometimes found in some of these species, especially the epiponines where they may be laying unfertilised (male) eggs (known as ‘intermediates’); no wasps in this category were used in this study as we were specifically interested in comparing clear reproductive queens and non-reproductive workers across species. Callows (newly emerged wasps) were also excluded from analysis, recognised by their colour (dull cuticle, eye colour), lack of wing wear and/or their internal anatomy (callows typically have a chalky mass inside their abdomen).
Morphometrics
Data on morphological differentiation among colony members (and thus information on whether pre-imaginal (developmental) caste determination was present) was lacking for M. cingulata, P. quadricinta and B. mellifica; therefore, we conducted morphometric analyses on these three species in order to ascertain the level of social complexity. Morphometric analyses were carried out using GXCAM-1.3 and GXCapture V8.0 (GT Vision) to provide images for assessing morphology. We measured 7 morphological characters using ImageJ v1.49 for queens and workers for each species. The body parts measured were: head length (HL), head width (HW), minimum interorbital distance (MID), mesoscutum length (MSL), mesoscutum width (MSW), mesosoma height (MSH) and alitrunk length (AL) (for measurement details, see73). Abdominal measurements were not recorded as ovary development could alter the size of abdominal measurements, therefore biasing the results. The morphological data were analysed to determine whether the phenotypic classification, as determined from reproductive status, could be explained by morphological differences. ANOVA was used to determine size differences between castes for each morphological characteristic. A linear discriminant analysis was also employed to see if combinations of characters were helpful in discriminating between castes. The significance of Wilks’ lambda values were tested to determine which morphological characters were the most important for caste prediction. All statistical analyses were carried out using SPSS v23.0 or Exlstat 2018. Data and analyses given in Supplementary Data 8.
RNA extractions
Individual heads were stored in RNAlater for brain dissections. Brains were dissected from the head capsule directly into RNAlater; RNA was extracted from individual brains and then pooled after extraction into caste-specific pools; pooling after RNA extraction allowed for elimination of any samples with low quality RNA. Pooling individuals was generally necessary to ensure sufficient RNA for analyses given the small amount of brain tissue available for many species, as well as accounting for individual variation to ensure expression differences are due to caste or species, and not dependent on colony or random differences between individuals. One exception to this was the V. vulgaris samples which were sequenced as individual brains and pooled bioinformatically after sequencing. Individual sample sizes per species are given in Supplementary Data 1.
Total RNA was extracted using the RNeasy Universal Plus Mini kit (Qiagen, #73404), according to the manufacturer’s instructions, with an extra freeze-thawing step after homogenization to ensure complete lysis of tissue, as well as an additional elution step to increase RNA concentration. RNA yield was determined using a NanoDrop ND-8000 (Thermo Fisher Scientific). All samples showed A260/A280 values between 1.9 and 2.1. An Agilent 2100 Bioanalyser was used to determine RNA integrity. Samples of sufficient quality and concentration were pooled and sent for sequencing. Libraries were prepared using Illumina TruSeq RNA-seq sample prep kit at the University of Bristol Genomics Facility. Five samples were pooled per lane to give ~50 million reads per sample. Paired-end libraries were sequenced using an Illumina HiSeq 2000. Pooling of individuals into single representatives of caste are described in Supplementary Data 1.
Preparation of de novo transcriptomes
Transcriptomes of Agelaia, Angiopolybia, Metapolybia, Brachygastra, Polybia, Polistes and Mischocyttarus were assembled using the following steps. First, reads were filtered for rRNA contaminants using tools from the BBTools (version:BBMap_38) software suite (https://jgi.doe.gov/data-and-tools/bbtools/). We then used Trimmomatic v0.3974 to trim reads containing adapters and low-quality regions. Using these filtered RNA sequences, we could assemble a de novo transcriptome for each species (merging queen and worker samples) using Trinity v2.875. We then filtered protein-coding genes to retain a single transcript (most expressed) for each gene, which we use for the rest of the analyses.
For Vespula and Vespa, reads from both queen and worker samples were assembled into de novo transcriptomes using a Nextflow pipeline (https://github.com/biocorecrg/transcriptome_assembly). This involved read adapter trimming with Skewer v0.2.276, de-novo transcriptome assembly with Trinity v2.8.475 and use of TransDecoder v5.5.075 to identify likely protein-coding transcripts, and retain all translated transcripts. These were further filtered to retain the largest open-read frame-containing transcript, which we listed as the major isoform of each protein. Trinity assembly statistics are shown in Supplementary Data 2.
Identification of orthologs
To identify gene-level orthologs, we used Orthofinder v.2.2.738 with diamond blast v0.9.22.12377, with multiple sequence alignment using Muscle v3.8.3178 and tree inference using FastTree v2.1.1079, for our nine species (Supplementary Fig. 1). The largest spliced isoform per gene (from Trinity) was designated as the representative sequence for each gene. In addition, for specific iterations, we allowed the existence of multiple gene isoforms belonging to the same species in a single orthogroup (potential gene duplications); using up to 3 gene isoforms, only keeping the gene most highly expressed. This strategy allowed us to test a greater number of orthogroups, where a single duplication in one species would otherwise remove an entire orthogroup from the study. The drawback is that some gene isoforms are removed from the study that could have been informative. Similarly, we were able to include orthogroups that had missing gene information (NAs) for up to two species, filling in these missing genes with read counts of 10 for both queen and worker, thereby allowing us to test orthogroups where some species data are missing. Missing gene orthologs in a single species could be due to a true absence (likely gene loss) in a species, or due to assembly weaknesses, where the use of non-genome guided RNA-Seq assemblies from just brain tissue, could lead to missing orthologs. Scripts to perform these steps are included in our Github repository (https://github.com/Sumner-lab/Multispecies_paper_ML/tree/master/Scripts_to_improve_orthogroups).
Orthofinder (with optional settings listed at the start of this section) was also used to create the phylogenetic tree in Supplementary Fig. 1, using the nine species in this manuscript with the additional of Apis mellifera (GCF_000002195.4), Nomia melanderi (GCA_003710045.1), Dinoponera quadriceps (GCA_001313825.1) and Solenopsis invicta (GCF_016802725.1), using only single copy orthogroups.
Gene expression and differential expression
We calculated abundances of transcripts within queen and worker samples using “align_and_estimate_abundance.pl” within Trinity, using estimation method RSEM v1.3.180, “trinity_mode” and bowtie281 aligner. We then used edgeR v3.26.582 (R version 3.6.0) to compare gene expression between queens and workers. Given that we were comparing a single sequencing pool of several individuals per caste, we used a hard-coded dispersion of 0.1 and the robust parameter set to TRUE to account for sample size (n = 1). Raw P values for each gene were corrected for multiple testing using a false discovery rate (FDR) cut-off value of 0.05. We did not take advantage of genome data (where available), as only two of the species had published genomes at the time of analysis; using transcriptome-only analyses makes the analysis more consistent across species. Trinity assemblies and RSEM counts are available on Gene Expression Omnibus (GEO; GSE159973 [https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE159973]). To compare differential expression across the nine species (Fig. 3), we used the orthology list based on three splice isoforms represented as the most expressed and using only orthogroups with a single entry in all nine species after the merging of three isoforms. To ensure that the RNA-Seq reads for each species were of good quality we performed FASTQC analysis, this provides phred scores, duplicate read and GC content (see Supplementary Data 1), which showed that there were no major concerns. We also wrote a simple contamination pipeline using Nextflow76 (https://github.com/chriswyatt1/Protein_blast_and_taxonomy), which blasts (diamond blastp) a single protein per gene (longest), against the whole of the ‘nr’ (non-redundant) database from the National Centre for Biotechnology Information (NCBI; downloaded:1.12.2021), to give a score for each taxonomic level for the top hit of each protein. In this way, we could confirm that the majority of assembly transcripts belong to Hymenoptera (Supplementary Data 1; Tabs ‘Top_Genus‘/‘Top_Phylum‘). To test for significant overlap of differentially expressed genes (Fig. 3) across the nine species by chance, we performed a permutation test (n = 1000), taking all orthologous genes from Supplementary Data 3, and randomly selecting genes of the same number as were differentially expressed in each individual species, then checking how many genes overlapped between the 9 total species. We could then use a Fisher’s exact test (two-sided) for our comparions of observed against expected (code available: https://github.com/Sumner-lab/Multispecies_paper_ML/tree/Version_2.0/Script_DEG_permutation).
Building a normalised gene expression matrix
Focused on our set of one-to-one orthologs (merging 3 or less isoforms per species), we began by computing log transformed TPMs (transcripts per million reads) for each gene in each sample from the raw counts, followed by quantile normalisation. Next, we normalised for species, using an approach that is comparable to calculating a species-specific z-score for each sample. Specifically, we transformed the expression scores calculated above by subtracting the species mean and dividing by the species mean for each sample within a species. This calculation has two important effects. Firstly, subtracting the species mean from each sample within a species centres the mean expression of each species on zero, making the units of expression more comparable across species. Secondly, dividing by the species mean from each sample standardises the expression scores, producing a measure that is independent of the units of measurement, so that the magnitude of difference between queens and workers in each sample is no longer important. The transformed expression score thus allows us to focus on the relative expression in queens versus workers across species. Finally, we removed orthogroups where the counts per million were below 10 (with some deviations in specific iteration; listed with run plots) in both Queen and Worker samples of each species, to remove lowly expressed genes that may contribute noise to subsequent analyses. We then performed principal component analysis (PCA) in R on the raw TPM values and those with the normalisation steps outlines above (see: https://github.com/Sumner-lab/Multispecies_paper_ML/blob/master/Scripts_to_run_svm/template_scripts/getExpressionAllOrthofinder.noNameReplace.R for full R code of this section).
Machine learning (support vector machines)
Support vector machine (SVM) was used to classify caste across the species. We note that SVMs are more commonly used on larger datasets83, but is known to have reasonable success with small datasets84 where there are thousands of features (genes) can be used to classify smaller numbers of samples. In brief, this analysis involved taking species-scaled, logged and normalised gene expression data from the nine species (with one replicate for the queen and worker sample), filtering the lowly expressed genes, splitting into training and testing datasets (8 training, 1 testing), creating an SVM classifier that best separates caste in the training species (finding the best gamma and C tuning variables) and testing the one species left out, resulting in a caste classification. The code to run these steps is shown on github (https://github.com/Sumner-lab/Multispecies_paper_ML) and is executed in perl using subsidiary R scripts. The full details of these steps are outlined below, and in addition, a one liner Nextflow pipeline is also available (https://doi.org/10.5281/zenodo.7521827), using the same base code (detailed later).
The first step is to normalise the expression matrix, given the SVM classifier expects fully normalised and scaled data. This has been outlined in the previous section, and involves orthologous TPMs being logged, quantile and species-scaled; as well as filtering of lowly expressed genes. Next, data were split into test and train sets, so each species was addressed in turn, with queen and worker samples registered based on sample names (e.g. caste < - grepl(“Worker “, colnames(data.train))), and converted into a binary format (where 1 is queen and 0 is worker). Then, a SVM classifier could be tuned using the train data (8 of 9 species), using the R package e107185, with optional grid search ranges of gamma = 10^(−8:−3) and cost (C) = 2^(1:10). These settings allow the classifier to explore the best gamma and cost settings to use in the model.
Given the majority of genes are not likely to contribute to caste differentiation (and therefore not help the SVM classifier), we then performed feature selection, which is commonly used in machine learning to increase the power of the classifier86. For this we used linear regression of each gene on caste (lm(caste ~ expr, data)), using the training data only. This results in regression beta coefficients for each orthologous gene, which we could then rank by their statistical association with caste (Supplementary Data 4 using the absolute values of the regression coefficients). This enabled us to measure the classification estimation as we filtered out genes statistically un-associated with the reproductive division of labour (Fig. 4a).
SVMs use a variety of kernels, which are the underlying algorithms used to classify the data in a single plain, these include radial, polynomial, linear and sigmoidal. To explore which kernel was most appropriate, we ran our SVM pipeline using these kernels (Supplementary Fig. 2). Based on these predictions with the different kernels, we decided to continue with the radial kernel for the rest of our analysis, as it has decent prediction accuracy once the dataset is filtered, and has progressive improvement across the filtering spectrum (Supplementary Fig. 2; top left).
To further support our predictions, we plotted learning curves using the training sets (with 8 species; one species removed each time) at each percentage reduction in the feature selection step and calculated the cross-fold validation error (cross = 6) (Supplementary Data 9). When measuring the error across the whole dataset, we recorded an error of ~0.9 (for the nine leave-one-out replicates), yet once feature selection had been applied, the error was reduced to less than 0.05 with ~20 % of the features remaining in the majority of species. This suggests that the model is accurate when using the feature selection filter.
To help with interpreting the SVM plots, classification estimates of 0.5 indicate the SVM could not tell the difference between the two castes (maximal uncertainty), a classification certainty of 0 would indicate maximal certainty of a worker and 1 a maximal certainty of being a queen.
Finally, we also made a Nextflow v21.10.4.565676 pipeline of the entire SVM procedure (https://doi.org/10.5281/zenodo.7521827), where it is possible to try the same commands used to create SVM predictions in this paper. Running Nextflow in the way described, will download the Trinity assemblies and RSEM count data, and run the SVM in a container (using either singularity/docker) and produce the progressively filtered SVM plots shown in Fig. 4.
Rates of gene evolution - dNdS scores
Using the single-copy orthologous genes for the nine species, we aligned nucleotide sequences for each of the 1,971 orthogroups (single-copy allowing for 3 isoforms) that successfully went through PRANK (version v.15112087) (Supplementary Data 7, tab ST1). For each species and for each orthogroup, we then calculated the ratio of rates of non-synonymous substitutions (dN) and the rates of synonymous substitutions (dS) in branch models (Supplementary Data 7, tabs ST2-ST16, and Supplementary Fig. 5; null hypothesis model in PAML codeml (model = 0, NSSites = 0, tree file without foreground) and in an alternative hypothesis model (model = 2, NSSites = 2, tree file without some taxa as foreground)). We then estimated episodic events of positive evolution when dN/dS >1 on a given phylogenetic branch (foreground) compared to the other background branches, in several tests contrasting lineages and social complexity (ST17-ST26; null hypothesis model (omega fixed at 1, model = 2, NSSites = 2, tree file with one species branch as foreground) and in an alternative hypothesis model (omega not fixed, all other parameters set as the null model) (version v. 4.888)). We assessed log likelihoods using a chi-square test and reported the adjusted P values using R (version 3.6.3) and Benjamini and Hochberg adjustment89.
GO enrichment and BLAST
To perform gene ontology (GO) enrichment tests, we used the R package TopGO v2.42.090, using Bonferroni cut-off P values of < =0.05. To assign gene ontology terms to genes in our new species, we used our orthofinder homology table with annotations to Drosophila melanogaster (downloaded from Ensembl Biomart 1.10.2019). Within species, we calculated enrichment of each species’ gene to a background of all the genes expressed above a mean of 1 TPM. When comparing across the orthogroups (OG), we used Metapolybia GO annotations (derived from homology to Drosophila), with a background of those genes that have a mean >1 TPM in all species orthologues. GO comparisons were similar using other species as a database of gene to GO terms.
Blast2GO v 1.4.491 with default settings was used to annotate Metapolybia genes.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Data availability
The raw sequencing (RNA-Seq) data generated in this study as well as normalised Trinity count data have been deposited in the NCBI GEO (Gene Expression Omnibus) database under accession code GSE159973. The Supplementary Data provide the details of RNA-Seq sample (Supplementary Data 1), orthology (Supplementary Data 2), differentially expressed genes (Supplementary Data 3), SVM results (Supplementary Data 4–6), DnDs analysis (Supplementary Data 7), morphometrics data (Supplementary Data 8, including all measurements made and morphometric statistics) and learning curve error statistics (Supplementary Data 9).
Code availability
Custom Nextflow/perl/R code used to automate the support vector classification and feature selection is provided in a GitHub repository (https://doi.org/10.5281/zenodo.7521827) with instructions for use. Scripts to improve orthology are found on Github: https://github.com/Sumner-lab/Multispecies_paper_ML/tree/master/Scripts_to_improve_orthogroups. Code to automate blast hits is found here: https://zenodo.org/record/7521834.
References
Szathmáry, E. & Smith, J. M. The major evolutionary transitions. Nature 374, 227–232 (1995).
Kennedy, P. et al. Deconstructing superorganisms and societies to address big questions in biology. Trends Ecol. Evol. 32, 861–872 (2017).
Toth, A. L. & Robinson, G. E. Evo-devo and the evolution of social behavior. Trends Genet 23, 334–341 (2007).
Berens, A. J., Hunt, J. H. & Toth, A. L. Comparative transcriptomics of convergent evolution: different genes but conserved pathways underlie caste phenotypes across lineages of eusocial insects. Mol. Biol. Evol. 32, 690–703 (2014).
Patalano, S. et al. Molecular signatures of plastic phenotypes in two eusocial insect species with simple societies. Proc. Natl Acad. Sci. U. S. A. 112, 13970–13975 (2015).
Qiu, B. et al. Towards reconstructing the ancestral brain gene-network regulating caste differentiation in ants. Nat. Ecol. Evol. 2, 1782–1791 (2018).
Warner, M. R., Qiu, L., Holmes, M. J., Mikheyev, A. S. & Linksvayer, T. A. Convergent eusocial evolution is based on a shared reproductive groundplan plus lineage-specific plastic genes. Nat. Commun. 10, 1–11 (2019).
Shell, W. A. et al. Sociality sculpts similar patterns of molecular evolution in two independently evolved lineages of eusocial bees. Commun. Biol. 4, 1–9 (2021).
West-Eberhard, M. J. Wasp societies as microcosms for the study of development and evolution. in Natural History and Evolution of Paper - Wasps (eds. Turillazzi, S. & West-Eberhard, M. J.) 290–317 (Oxford University Press, 1996).
Toth, A. L. & Rehan, S. M. Molecular Evolution of Insect Sociality: An Eco-Evo-Devo Perspective. Annu. Rev. Entomol. 62, 419–442 (2017).
Boomsma, J. J. Lifetime monogamy and the evolution of eusociality. Philos. Trans. R. Soc. B Biol. Sci. 364, 3191–3207 (2009).
Boomsma, J. J. & Gawne, R. Superorganismality and caste differentiation as points of no return: how the major evolutionary transitions were lost in translation. Biol. Rev. Camb. Philos. Soc. 93, 28–54 (2017).
Johnson, B. R. & Tsutsui, N. D. Taxonomically restricted genes are associated with the evolution of sociality in the honey bee. BMC Genom. 12, 164 (2011).
Ferreira, P. G. et al. Transcriptome analyses of primitively eusocial wasps reveal novel insights into the evolution of sociality and the origin of alternative phenotypes. Genome Biol. 14, R20 (2013).
Sumner, S. The importance of genomic novelty in social evolution. Mol. Ecol. 23, 26–28 (2014).
Feldmeyer, B., Elsner, D. & Foitzik, S. Gene expression patterns associated with caste and reproductive status in ants: Worker-specific genes are more derived than queen-specific ones. Mol. Ecol. 23, 151–161 (2014).
Jasper, W. C. et al. Large-scale coding sequence change underlies the evolution of postdevelopmental novelty in honey bees. Mol. Biol. Evol. 32, 334–346 (2015).
Simola, D. F. et al. Social insect genomes exhibit dramatic evolution in gene composition and regulation while preserving regulatory features linked to sociality. Genome Res 23, 1235–1247 (2013).
Harpur, B. A. et al. Population genomics of the honey bee reveals strong signatures of positive selection on worker traits. Proc. Natl Acad. Sci. USA. 111, 2614–2619 (2014).
Rubin, B. E. R., Jones, B. M., Hunt, B. G. & Kocher, S. D. Rate variation in the evolution of non-coding DNA associated with social evolution in bees. Philos. Trans. R. Soc. B Biol. Sci. 374, 20180247 (2019).
Kapheim, K. M. Genomic sources of phenotypic novelty in the evolution of eusociality in insects. Curr. Opin. Insect Sci. 13, 24–32 (2016).
Dogantzis, K. A. et al. Insects with similar social complexity show convergent patterns of adaptive molecular evolution. Sci. Rep. 8, 10388 (2018).
Taylor, B. A., Reuter, M. & Sumner, S. Patterns of reproductive differentiation and reproductive plasticity in the major evolutionary transition to superorganismality. Curr. Opin. Insect Sci. 34, 40–47 (2019).
Johnson, B. R. & Linksvayer, T. A. Deconstructing the superorganism: Social physiology, groundplans, and sociogenomics. Q. Rev. Biol. 85, 57–79 (2010).
Rehan, S. M. & Toth, A. L. Climbing the social ladder: The molecular evolution of sociality. Trends Ecol. Evol. 30, 426–433 (2015).
Branstetter, M. G. et al. Genomes of the Hymenoptera. Curr. Opin. Insect Sci. 25, 65–75 (2018).
Toth, A. L. et al. Shared genes related to aggression, rather than chemical communication, are associated with reproductive dominance in paper wasps (Polistes metricus). BMC Genom. 15, 75 (2014).
Standage, D. S. et al. Genome, transcriptome and methylome sequencing of a primitively eusocial wasp reveal a greatly reduced DNA methylation system in a social insect. Mol. Ecol. 25, 1769–1784 (2016).
Bluher, S. E., Miller, S. E. & Sheehan, M. J. Fine-scale population structure but limited genetic differentiation in a cooperatively breeding paper wasp. Genome Biol. Evol. 12, 701–714 (2020).
Rehan, S. M. et al. Conserved genes underlie phenotypic plasticity in an incipiently social bee. Genome Biol. Evol. 10, 2749–2758 (2018).
Kocher, S. D. et al. The genetic basis of a social polymorphism in halictid bees. Nat. Commun. 9, 4338 (2018).
Shell, W. A. & Rehan, S. M. Social modularity: Conserved genes and regulatory elements underlie caste-antecedent behavioural states in an incipiently social bee. Proc. R. Soc. B Biol. Sci. 286, 20191815 (2019).
Kapheim, K. M. et al. Developmental plasticity shapes social traits and selection in a facultatively eusocial bee. Proc. Natl Acad. Sci. U. S. A. 117, 13615–13625 (2020).
Linksvayer, T. A. & Johnson, B. R. Re-thinking the social ladder approach for elucidating the evolution and molecular basis of insect societies. Curr. Opin. Insect Sci. 34, 123–129 (2019).
Taylor, D., Bentley, M. A. & Sumner, S. Social wasps as models to study the major evolutionary transition to superorganismality. Curr. Opin. Insect Sci. 28, 26–32 (2018).
Branstetter, M. G. et al. Phylogenomic insights into the evolution of stinging wasps and the origins of ants and bees. Curr. Biol. 27, 1019–1025 (2017).
Traniello, I. M. & Robinson, G. E. Neural and molecular mechanisms of biological embedding of social interactions. Annu. Rev. Neurosci. 44, 109–128 (2021).
Emms, D. M. & Kelly, S. OrthoFinder: solving fundamental biases in whole genome comparisons dramatically improves orthogroup inference accuracy. Genome Biol. 16, 157 (2015).
Oii, C. A. et al. Effects of juvenile hormone in fertility and fertility-signaling in workers of the common wasp Vespula vulgaris. PLoS One 16, 1–13 (2021).
Kelstrup, H. C., Hartfelder, K., Nascimento, F. S. & Riddiford, L. M. The role of juvenile hormone in dominance behavior, reproduction and cuticular pheromone signaling in the caste-flexible epiponine wasp, Synoeca surinama. Front. Zool. 11, 78 (2014).
De Smet, F. et al. Balancing false positives and false negatives for the detection of differential expression in malignancies. Br. J. Cancer 91, 1160–1165 (2004).
Noble, W. S. What is a support vector machine? Nat. Biotechnol. 24, 1565–1567 (2006).
Ilicic, T. et al. Classification of low quality cells from single-cell RNA-seq data. Genome Biol. 17, 29 (2016).
Alquicira-Hernandez, J., Sathe, A., Ji, H. P., Nguyen, Q. & Powell, J. E. ScPred: Accurate supervised method for cell-type classification from single-cell RNA-seq data. Genome Biol. 20, 264 (2019).
Furey, T. S. et al. Support vector machine classification and validation of cancer tissue samples using microarray expression data. Bioinformatics 16, 906–914 (2000).
Taylor, B. A., Cini, A., Wyatt, C. D. R., Reuter, M. & Sumner, S. The molecular basis of socially mediated phenotypic plasticity in a eusocial paper wasp. Nat. Commun. 12, 775 (2021).
Vizán, P., Di Croce, L. & Aranda, S. Functional and pathological roles of AHCY. Front. Cell Dev. Biol. 9, 654344 (2021).
Hoffmann, K., Gowin, J., Hartfelder, K. & Korb, J. The scent of royalty: A P450 gene signals reproductive status in a social insect. Mol. Biol. Evol. 31, 2689–2696 (2014).
Sheeja, C. C., Thushara, V. V. & Divya, L. Caste-specific expression of Na + /K + -ATPase in the asian weaver ant, Oecophylla smaragdina (Fabricius, 1775). Neotrop. Entomol. 47, 763–768 (2018).
Iovinella, I. et al. Antennal protein profile in honeybees: Caste and task matter more than age. Front. Physiol. 9, 748 (2018).
Sasa, C., Miyazaki, S., Higashi, S. & Miura, T. Gene expressions for the sexually-dimorphic antennae in a ponerine ant. [abstract]. in 17th Congress of the International Union for the Study of Social Insects (IUSSI), Cairns, Australia, 13 − 18 July 2014. (IUSSI, 2014).
Mariano, D. O. C. et al. Bottom-up proteomic analysis of polypeptide venom components of the giant ant Dinoponera quadriceps. Toxins (Basel) 11, 448 (2019).
Simões, J. M. The Social Brain: How social stimuli are translated into neuroendocrine signals? (University of Lisboa, 2014).
Yanay, C., Morpurgo, N. & Linial, M. Evolution of insect proteomes: Insights into synapse organization and synaptic vesicle life cycle. Genome Biol. 9, R27 (2008).
Rehan, S. M., Berens, A. J. & Toth, A. L. At the brink of eusociality: Transcriptomic correlates of worker behaviour in a small carpenter bee. BMC Evol. Biol. 14, 260 (2014).
Brock, R. E., Cini, A. & Sumner, S. Ecosystem services provided by aculeate wasps. Biol. Rev. 96, 1645–1675 (2021).
Kronauer, D. J. & Libbrecht, R. Back to the roots: the importance of using simple insect societies to understand the molecular basis of complex social life. Curr. Opin. Insect Sci. 28, 33–39 (2018).
Kohannim, O. et al. Boosting power for clinical trials using classifiers based on multiple biomarkers. Neurobiol. Aging 31, 1429–1442 (2010).
Montagna, T. S. & Antonialli, W. F. Morphological differences between reproductive and non-reproductive females in the social wasp Mischocyttarus consimilis Zikán (Hymenoptera: Vespidae). Sociobiology 63, 693–698 (2016).
Jeanne, R. L. Social biology of the neotropical wasp Mischocyttarus drewseni. Bull. Mus. Comp. Zool. 144, 63–150 (1972).
Murakami, A. S. N., Shima, S. N. & Desuó, I. C. More than one inseminated female in colonies of the independent-founding wasp Mischocyttarus cassununga von Ihering (Hymenoptera, Vespidae). Rev. Bras. Entomol. 53, 653–662 (2009).
Reeve, H. K., Matthews, R. Polistes. in The social biology of wasps (ed. Ross K. G., M. R.) p99–p148 (Cornell University Press, 1991).
Menezes, R. S. T., Lloyd, M. W. & Brady, S. G. Phylogenomics indicates Amazonia as the major source of Neotropical swarm-founding social wasp diversity. Proc. R. Soc. B Biol. Sci. 287, 20200480 (2020).
Noll, F. B. et al. Marimbondos: Systematics, Biogeography, and Evolution of Social Behaviour of Neotropical Swarm-Founding Wasps (Hymenoptera: Vespidae: Epiponini). Cladistics, 2020, 1–19 (2020).
Noll, F. B., Wenzel, J. W. & Zucchi, R. Evolution of caste in neotropical swarm-founding wasps (Hymenoptera: Vespidae; Epiponini). Am. Mus. Novit. 3467, 1 (2004).
Gelin, L. F. F. et al. Morphological caste studies in the neotropical swarm-founding polistinae wasp Angiopolybia pallens (Lepeletier) (hymenoptera: Vespidae). Neotrop. Entomol. 37, 691–701 (2008).
West-Eberhard, M. J. Temporary queens in Metapolybia wasps: Nonreproductive helpers without altruism? Sci.200, 441–443 (1978).
Richards, O. W. The social wasps of the Americas excluding the Vespinae. 30. (British Museum, Natural History, 1978).
Sakagami, S. F., Zucchi, R., Yamane, S., Noll, F. B. & Camargo, J. M. P. Morphological caste differences in Agelaia vicina, the neotropical swarm-founding polistine wasp with the largest colony size among social wasps (Hymenoptera: Vespidae). Sociobiology 28, 207–223 (1996).
Baio, M. V., Noll, F. B. & Zucchi, R. Morphological caste differences and non-sterility of workers in Brachygastra augusti (Hymenoptera, Vespidae, Epiponini), a neotropical swarm-founding wasp. J. N. Y. Entomol. Soc. 111, 242–252 (2003).
Loope, K. J., Chien, C. & Juhl, M. Colony size is linked to paternity frequency and paternity skew in yellowjacket wasps and hornets. BMC Evol. Biol. 14, 1–12 (2014).
Hastings, M. D., Queller, D. C., Eischen, F. & Strassmann, J. E. Kin selection, relatedness, and worker control of reproduction in a large-colony epiponine wasp, Brachygastra mellifica. Behav. Ecol. 9, 573–581 (1998).
Gobbi, N., Noll, F. B. & Penna, M. A. H. ‘Winter’ aggregations, colony cycle, and seasonal phenotypic change in the paper wasp Polistes versicolor in subtropical Brazil. Naturwissenschaften 93, 487–494 (2006).
Bolger, A. M., Lohse, M. & Usadel, B. Trimmomatic: A flexible trimmer for Illumina sequence data. Bioinformatics 30, 2114–2120 (2014).
Haas, B. J. et al. De novo transcript sequence reconstruction from RNA-seq using the Trinity platform for reference generation and analysis. Nat. Protoc. 8, 1494 (2013).
DI Tommaso, P. et al. Nextflow enables reproducible computational workflows. Nat. Biotechnol. 35, 316–319 (2017).
Buchfink, B., Reuter, K. & Drost, H. G. Sensitive protein alignments at tree-of-life scale using DIAMOND. Nat. Methods 18, 366–368 (2021).
Edgar, R. C. MUSCLE: A multiple sequence alignment method with reduced time and space complexity. BMC Bioinforma. 5, 113 (2004).
Price, M. N., Dehal, P. S. & Arkin, A. P. FastTree 2 - Approximately maximum-likelihood trees for large alignments. PLoS One 5, e9490 (2010).
Buchfink, B., Xie, C. & Huson, D. H. Fast and sensitive protein alignment using DIAMOND. Nat. Methods 12, 59–60 (2014).
Li, B. & Dewey, C. N. RSEM: Accurate transcript quantification from RNA-seq data with or without a reference genome. BMC Bioinformat. 12, 41–74 (2014).
Langmead, B. & Salzberg, S. L. Fast gapped-read alignment with Bowtie 2. Nat. Methods 9, 357–359 (2012).
Huynh, P. H., Nguyen, V. H. & Do, T. N. Novel hybrid dcnn–svm model for classifying rna-sequencing gene expression data. J. Inf. Telecommun. 3, 533–547 (2019).
Roh, H. J. et al. Dual-organ transcriptomic analysis of rainbow trout infected with Ichthyophthirius multifiliis through co-expression and machine learning. Front. Immunol. 12, 677730 (2021).
Dimitriadou, E., Hornik, K., Leisch, F., Meyer, D. & Weingessel, A. e1071: Misc Functions of the Department of Statistics (e1071), TU Wien. R package version 1.6-1. URL http://CRAN.R-project.org/package=e1071 (2012).
Yu, K., Wu, X., Ding, W. & Pei, J. Towards scalable and accurate online feature selection for big data. Proc. - IEEE Int. Conf. Data Min., ICDM 2015-Janua, 660–669 (2014).
Löytynoja, A. Phylogeny-aware alignment with PRANK. Methods Mol. Biol. 1079, 155–170 (2014).
Yang, Z. Paml: A program package for phylogenetic analysis by maximum likelihood. Bioinformat 13, 555–556 (1997).
Benjamini, Y. & Hochberg, Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. R. Stat. Soc. Ser. B 57, 289–300 (1995).
Alexa, A. & Rahnenführer, J. topGO: Enrichment analysis for gene ontology. R package version 2.50.0 (2022).
Götz, S. et al. High-throughput functional annotation and data mining with the Blast2GO suite. Nucleic Acids Res 36, 3420–3435 (2008).
Piekarski, P. K., Carpenter, J. M., Lemmon, A. R., Lemmon, E. M. & Sharanowski, B. J. Phylogenomic evidence overturns current conceptions of social evolution in wasps (vespidae). Mol. Biol. Evol. 35, 2097–2109 (2018).
O’Donnell, S. Reproductive caste determination in eusocial wasps (Hymenoptera: Vespidae). Annu. Rev. Entomol. 43, 323–346 (1998).
Gervet, J. Biology of the Vespine Wasps. Behavioural Processes 23, (Springer Verlag, 1991).
Acknowledgements
We would like to thank Laura Butters for her help with the morphometric analyses of Brachygastra, Robin Southon, Daniel Fabbro, Liam Crowley and Sam Morris for their assistance in the field, James Carpenter at the American Natural History Museum and Christopher K. Starr for confirming species identification, and the Bristol Genomics Facility for their assistance with library preparations and sequencing. This work was conducted under collection and export permits for Trinidad (Forestry Division Ministry of Agriculture: #001162) and Panama (Autoridad Nacional del Ambiente (ANAM) SE/A-55-13). It was funded by the Natural Environment Research Council (NE/M012913/2; NE/K011316/1) awarded to SS, and a NERC studentship and Smithsonian Tropical Research Institute pre-doctoral fellowship awarded to E.F.B.
Author information
Authors and Affiliations
Contributions
S.S. conceived the study and supervised the project; S.S., E.L., E.B. and B.T. collected the samples; D.T., E.B., B.T. and R.B. performed molecular lab work; D.T. & R.B. carried out the morphological work; E.F., M.B. & C.W. executed the bioinformatics pipelines, performed the statistical analyses; C.W. & S.S. drafted the manuscript, with input from all authors.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks the anonymous reviewers for their contribution to the peer review of this work. Peer reviewer reports are available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Wyatt, C.D.R., Bentley, M.A., Taylor, D. et al. Social complexity, life-history and lineage influence the molecular basis of castes in vespid wasps. Nat Commun 14, 1046 (2023). https://doi.org/10.1038/s41467-023-36456-6
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467-023-36456-6
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.