Introduction

In the western Amazon Basin, “devil’s gardens” are orchard-like stands where only one or a few species of myrmecophytic plants grow. The ant Myrmelachista schumanni nests in the hollow, swollen stems (termed “domatia”) of these trees, and workers create devil’s gardens by poisoning non-myrmecophytes with formic acid, effectively weeding out other plant species (Frederickson et al. 2005). Devil’s gardens get their name from a local legend that tells that they are cultivated by a mischievous forest spirit, the Chullachaqui. They are a remarkable feature of western Amazonian rainforests, because they sometimes grow large, comprising hundreds of ant plants and spanning a thousand square meters or more (Frederickson and Gordon 2009).

Each garden is inhabited by a M. schumanni colony that can also grow to as many as 3 million workers and 15,000 queens (Frederickson et al. 2005). Little is known about how M. schumanni colonies reproduce—how males and gynes mate, disperse, and found new colonies. Other ant species in the genus Myrmelachista are also arboreal and restricted to the Neotropics, where they nest in dead twigs or, less frequently, live stems (Longino 2006). Myrmelachista nuptial flights have been documented only in the Antillean species Myrmelachista ramulorum, which mates year-round (Torres et al. 2001). Myrmelachista colonies can be polygynous or monogynous, and are often polydomous, spreading over multiple stems or plants (Kuhn 2014; Longino 2006). Previous work has shown that the devil’s garden ant, M. schumanni, nests in anywhere from just one to several hundred myrmecophytic trees (often Duroia hirsuta), and that ants move back and forth among trees in a garden, suggesting each garden is maintained by just one M. schumanni colony. A demographic study that repeatedly surveyed populations of two myrmecophytic tree species (D. hirsuta and C. nodosa) in the Peruvian Amazon found that M. schumanni colonized previously unoccupied, spatially isolated trees that were usually less than a year old and bore fewer than five domatia (Frederickson and Gordon 2009). Most small, spatially isolated trees contain just one dealate M. schumanni queen (Frederickson, unpublished data). Combined, these results suggest that a new colony of M. schumanni is founded by a single mated queen, who finds an unoccupied host plant, sheds her wings, and begins making workers. Subsequently, M. schumanni workers attack and kill vegetation growing near the base of the tree, creating a clearing in which other myrmecophytes can establish and grow free from competition with other plants. The M. schumanni colony then expands to occupy these nearby myrmecophytes, and the colony and garden grow in this manner over many years—potentially for centuries (Frederickson et al. 2005).

As a M. schumanni colony grows large, it adds more and more queens, but we do not know whether these queens are related (e.g., the initial queen’s daughters or granddaughters, etc.) or whether M. schumanni colonies adopt unrelated queens from other colonies that arrive on the wing. Similarly, we do not know whether all queens in a colony have mated, whether they mate with their brothers or other males within a garden, or whether virgin queens (gynes) and males disperse from their natal nest to mate. Moreover, little information exists on the seasonal timing of reproduction in M. schumanni; in aseasonal tropical forests, some arboreal ants produce alates almost continuously, but with a peak in production during the hottest and wettest months of year (Frederickson 2006). Here, we measured the number of males, gynes, and (dealate) queens in M. schumanni colonies every month for an entire year, and used microsatellite markers to infer the mating system of M. schumanni.

To do so, we sampled M. schumanni from sites across the Peruvian Amazon, which also allowed us to study how M. schumanni genotypes are distributed at a regional scale. Few studies have explored the phylogeography of Amazonian ants, but studies of other taxa suggest that tectonic movements, sea-level fluctuations, riverine barriers, forest refuges during dry periods, and competitive species interactions may all have contributed to current landscape genetic patterns in the Amazon Basin (Haffer 1997). The scarce literature on South American ants supports a historical role of arches (ancient geological barriers) in promoting allopatric differentiation and isolation by distance among populations (Ahrens et al. 2005; Cristiano et al. 2016; Solomon et al. 2008), but there is little information available for arboreal ants, and no previous research has characterized phylogeographic patterns in M. schumanni.

In ants as in other taxa, local patterns of dispersal and gene flow scale up to determine how genotypes are distributed at larger spatial scales. For example, if M. schumanni gynes mate with males in their natal nest and remain there to lay eggs, we would expect colonies separated by even small physical distances to be highly genetically differentiated and potentially inbred. At larger spatial scales, restricted gene flow should give rise to isolation by distance, and genetic structure may reflect geographic barriers to ant dispersal, or to the dispersal of their myrmecophytic host trees. However, outside of the range of M. schumanni’s main host plant, D. hirsuta, this ant species still finds suitable host plants by nesting in Cordia nodosa (especially in southern Peru) or melastomes such as Tococa spp. or Clidemia heterophylla (especially in the foothills of the Andes).

By sampling 43 M. schumanni devil’s gardens that were widely distributed across much of the Peruvian Amazon and genotyping their workers at 18 microsatellite markers, we characterized the reproductive system, population genetic structure, and phylogeography of the devil’s garden ant, Myrmelachista schumanni, exploring genetic variation at different spatial scales, ranging from very local (i.e., among trees in a single devil’s garden) to regional (i.e., across the Peruvian Amazon). We also present new data on the reproductive phenology and sex ratio of M. schumanni colonies. Thus, this study offers insights into the mating, dispersal, and population structure of M. schumanni in the western Amazon.

Materials and methods

Model system

Myrmelachista schumanni Emery (Formicinae) is an arboreal ant species, with workers that attack non-myrmecophytic plants surrounding their host plant (Frederickson et al. 2005). Depending on the geographic area, the devil’s gardens that result from this ant behavior can be comprised of nearly pure stands or mixtures of up to four myrmecophytic plant species: Clidemia heterophylla (Desr.) Gleason, Cordia nodosa Lam., Duroia hirsuta (Poepp.) K. Schum. and Tococa guianensis Aubl (Frederickson and Gordon 2007). Devil’s gardens have been described in the Western Amazon (mostly in Peru and Ecuador, but also in Brazil and Colombia), as well as in French Guiana (Salas-Lopez et al. 2016). They are all inhabited by Myrmelachista ants, and although it is unclear whether the resident ants are all M. schumanni or a complex of different species, M. schumanni appears to be the main devil’s garden ant species (Edwards et al. 2009).

Sampling and genotyping

In 2004–2005, we collected all domatia from 15 to 16 D. hirsuta trees every month (181 trees in total) at the Allpahuayo-Mishana National Reserve in Loreto, Peru. The plants came from at least eight distinct devil’s gardens each month; different trees were sometimes collected from the same garden in different months. For each D. hirsuta tree, we counted and opened all domatia, and counted all male and female reproductives, including pupae and eclosed adults. It is straightforward to tell which pupae will produce alates because of their size and developing wings, and their sex can also be determined from their size and shape, particularly of the head. We counted eclosed adults in three categories: alate males, alate females (gynes), and dealate queens. We did not count workers.

In 2013, we collected and successfully genotyped 50 queens and 597 workers from 43 gardens located in 12 different localities in Peru, using 18 ant-universal microsatellite markers (Butler et al. 2014). Distances between gardens varied from 13 m to 1108 km (see Table 1, Fig. 1). We counted the number of trees in each garden and recorded the dominant tree species (either D. hirsuta or C. nodosa). At least ten ant workers were collected from one domatium per garden to study the population genetic structure of M. schumanni at a country-wide spatial scale. We collected additional workers and queens from two large gardens located 3.46 km apart in Madre Selva and Nuevo Israel, respectively. We used these additional samples to study patterns of relatedness and genetic diversity within gardens. Several trees were sampled for each of these two gardens (see below). Ants were preserved in 96% ethanol. Each garden was geolocated using a GPSMAP® 64 s GPS receiver (Garmin Ltd.).

Table 1 Summary information for each sampled devil’s garden, including number and dominant species of trees per garden, number of ant workers successfully genotyped and used for population genetics (n), p value of the departure from Hardy–Weinberg equilibrium (HW), and FIS values calculated using FSTAT
Fig. 1
figure 1

Map of the sampling locations. Samples were collected from 43 devil’s gardens in 12 different localities in Peru. Each dot represents a locality (the two exhaustively sampled devil’s garden were located in the localities represented by triangles). The inset zooms in on the box on the main map

Total DNA was extracted from each ant worker. Each ant worker was incubated overnight at 55 °C in 10 µL of Proteinase K solution (Qiagen) and 150 µL of 10% Chelex solution (BioRad). We used 4 µL of the solution obtained to amplify 18 microsatellite markers multiplexed in four different PCR sets using forward primers fluorophore labeled on the 5′ end (Table 2). PCR amplifications were carried out in a 10 µL final volume containing 0.7X QIAGEN Multiplex Master Mix, 0.1–0.025 µM of each primer and 4 µL of genomic DNA. The thermal profile started with initial denaturation at 95 °C (15 min), was followed by 40 cycles of denaturation at 94 °C (30 s), annealing at 57 °C (1 min 30) and extension at 72 °C (1 min 30), and ended with final extension at 72 °C for 10 min. Loci were finally sized using an ABI 3730 sequencer (Applied Biosystems) at the Centre for Analysis of Genome Evolution and Function (CAGEF) with the 600 LIZ™ GeneScan™ size standard and GENEIOUS v9.1.6 software.

Table 2 Description of the microsatellite markers used. Locus names are based on Butler et al. (2014)

Assessment of the reproduction mode of M. schumanni

We used the data on the number of male and female M. schumanni reproductives in D. hirsuta trees from Allpahuayo-Mishana to examine reproductive phenology, sex ratio, and how fecundity scales with tree size. Using the lme4 package in R v 3.5.0, we fit a generalized linear mixed model (GLMM) using a Poisson error distribution with the total number of alates (summed for males and females) as a response variable and the number of domatia (log transformed) and month of the year (as an ordered categorical variable) as fixed effects. To account for sampling multiple D. hirsuta trees per garden, we included garden as a random effect in the model. We also fit a GLMM with the same fixed and random effects to the number of dealate queens. For both models, Type III Wald Chi square test statistics were calculated using the Anova function from the car package. We calculated sex ratio as the proportion of all alates that are female and as the proportion of all reproductives (including queens) that are female for each tree. We tested for split sex ratios using the diptest package in R that tests for unimodality versus multimodality. For five large devil’s gardens, we sampled at least ten different D. hirsuta trees over the course of the year, and thus could also calculate sex ratio at the garden level.

We inferred the reproduction mode of M. schumanni by comparing the genotypes of queens, of the males that inseminated them, and of workers from the same colonies. Two large gardens were sampled for queens and workers. One garden (Garden 30) was in Madre Selva. It comprised 56 D. hirsuta trees, and we collected and genotyped 24 queens and 66 workers from 5 of these trees. The other garden (Garden 45) was in Nuevo Israel. It comprised 270 D. hirsuta trees, and we collected and genotyped 26 queens and 87 workers from 8 of the trees. The two gardens were 3.46 km apart. Queens were dissected to collect their spermathecae. Maternal (queen), paternal (male) and worker DNA were extracted separately from heads, spermathecae, and whole bodies, respectively, and microsatellites were then amplified as described above.

We inferred the minimum number of mating events per queen by counting the maximum number of alleles observed for a given microsatellite marker in spermathecae. We then used the program Relatedness 5.0.8 (Queller and Goodnight 1989) run on the QEMU virtual machine emulator (Bellard 2005) to assess mate choice and sex-biased dispersal separately for each garden. Relatedness 5.0.8 accommodates haplodiploid genotype data to calculate relatedness statistics using the method of Queller and Goodnight (Queller and Goodnight 1989). Note that we used genetic information only from singly mated females and the content of their spermathecae, because we cannot infer individual genotypes of males from the pooled genotypic information of the spermatheca contents of multiply mated queens. To assess whether queens and males mate at random within a garden, i.e., irrespective of their relatedness, we determined for each singly mated female whether they were more or less closely related to their mates than to the overall pool of reproducing males in their garden, and whether males were more or less related to the female they inseminated than to the overall pool of singly mated females. To address sex-biased dispersal, we compared the relatedness between singly mated females and their mates to the relatedness among singly mated- females, the relatedness between males and the female they inseminated to the relatedness among males, and the relatedness between workers and males to the relatedness between workers and females. Background allele frequencies were estimated separately for each of these two devil’s gardens using data on other devil’s gardens at each site (i.e., Madre Selva and Nuevo Israel). We calculated allele frequencies within devil’s garden sampled for the large-scale population genetic study using Arlequin 3.5 (Excoffier et al. 2005), and averaged them over all the devil’s gardens sampled in Madre Selva and Nuevo Israel separately.

Assessment of fine-scale spatial genetic structure

We studied the spatial structure of genetic diversity at the scale of the two big gardens described above. First, we used Relatedness 5.0.8 to test whether the relatedness among workers, among queens, and among males is greater within gardens than between gardens. Second, we fit an analysis of molecular variance (AMOVA: Excoffier et al. 1992) using Arlequin 3.5 (Excoffier et al. 2005) to characterize the patterns of genetic divergence within gardens. For this analysis, we considered gardens as groups of populations and trees as populations, the underlying question being whether there was genetic substructure among trees within a garden or whether each garden is genetically homogeneous.

Assessment of large-scale spatial genetic structure

We also assessed genetic structure at a country-wide scale for M. schumanni. Departure from Hardy–Weinberg equilibrium and FIS inbreeding coefficients was calculated for each sampling location independently, using FSTAT v2.9.3.2 (Goudet 1995).

Isolation by distance (IBD) between gardens was assessed by computing pairwise FST indexes, and then calculating the significance of the regression of FST/(1 − FST) on the geographical distance between gardens using SPAGeDi 1.5a (Hardy and Vekemans 2002). We assessed the significance of pairwise FST through 2000 permutations of individuals among populations. Assessments were performed separately over a short distance (between 0 and 400 km), a long distance (over 400 km), and over the whole sampling range.

We analyzed phylogenetic relationships among gardens by constructing neighbor-joining trees with 500 bootstrap iterations using POPTREE (Takezaki et al. 2014) based on the pairwise FST indexes calculated previously. We used a discriminant analysis of principal components (DAPC) as a multivariate assessment of the differentiation among the 43 devil’s gardens. We also ran a separate DAPC on just the 18 devil’s gardens at Madre Selva. The two analyses were calculated with the dapc function in the adegenet package in R v2.14.2 software (Jombart 2008) with a total of 34 and 30 principal components, accounting for 89.9% and 92.7% of the total variance.

We also performed Bayesian clustering analyses to infer the spatial structure of the genetic data using STRUCTURE v2.3.4 (Pritchard et al. 2000). Each round of STRUCTURE consisted of ten runs for each of the K genetic groups tested, with K ranging from 1 to 44. All of the runs were conducted with the uncorrelated allele frequencies model, the LOCPRIOR model and the admixture model for 100,000 iterations after a burn-in period of 10,000 iterations. This burn-in period was previously proven to be sufficient for the likelihood of the runs to stabilize. The number of genetic groups was determined using the ∆K method developed by Evanno et al. (2005) which involves assessing the breakpoint in the slope of the distribution of lnP(D) as a function of K. This method was implemented using the online program STRUCTURE HARVESTER (Earl and von Holdt 2012). Then, 100 runs were performed as described above, but with K fixed to the previously determined value. To determine the final assignment of individuals to clusters, we summarized the data on the outcomes of these 100 replicates using the CLUMPP program with the greedy algorithm (Jakobsson and Rosenberg 2007).

Results

Assessment of the reproduction mode of M. schumanni

Myrmelachista schumanni colonies do not produce reproductives evenly throughout the year. Production of both male and female alates peaked in March–April (Fig. 2), which are also the rainiest months of the year. Overall, few alate pupae were encountered, but peak production of alate pupae preceded peak production of adult alates by about 2 months; more alate pupae were found in January (females) and February (males) than in other months (Fig. 2). Unexpectedly, the number of dealate queens also varied seasonally, reaching a peak in April (Fig. 2). Total production of adult alates (both males and females) was significantly explained by tree size (Wald Χ 21  = 2513.872, p value < 0.001) and month (Wald Χ 21  = 5379.01, p value < 0.001).

Fig. 2
figure 2

Seasonality of alate production. Count of alates produced by devil’s gardens every month over 1 year. Symbols are mean numbers of queens (red squares), gynes (yellow triangles), gyne pupae (blue diamonds), males (green circles), and male pupae (pink upside-down triangles). Whiskers are standard errors

The sex ratio of alates and alate pupae collected from D. hirsuta trees was heavily biased towards males (Fig. 3a). When all reproductives (including dealate queens) in a tree were considered, the sex ratio was still male biased, but less so (Fig. 3b). The distribution of sex ratios, measured as the proportion of reproductives that are female, was significantly bimodal when all reproductives were considered (Hartigan’s dip test: D = 0.051, p value = 0.039), but not when only alates and alate pupae were considered (Hartigan’s dip test: D = 0.023, p value = 0.980), probably because of the small number of trees containing only female alates (Fig. 3a). In other words, at the tree level, sex ratios are split, with some trees containing mostly males and some trees containing mostly females. Only five gardens (i.e., entire M. schumanni colonies) were sufficiently well sampled to calculate sex ratio at the colony level; all of these were large gardens comprising at least 20 D. hirsuta trees. At least several hundred dealate queens and male alates were found in each of these five gardens; three colonies also produced at least one hundred female alates, but we found only 12 and 23 female alates in the other two colonies (Table 3). Four gardens had sex ratios strongly biased towards males, and one garden had a more even ratio of females to males (Table 3).

Fig. 3
figure 3

Sex ratio. Number of devil’s garden trees as a function of the proportion of females among the alates and alate pupae produced (panel a). Panel b also includes dealate queens in the calculation of female proportion

Table 3 Number of dealate queens, female alates, and males, and sex ratio for five large devil’s gardens at the Allpahuayo-Mishana National Reserve (n = number of D. hirsuta trees sampled)

From the genetic data, the reproductive mode of M. schumanni was found to be facultative polyandry with random mating. All the 50 dissected spermathecae contained sperm; 23 spermathecae contained the sperm of one male, 23 contained the sperm of 2 males, and 4 contained the sperm of 3 males. The departure from a monogynous/monoandrous system was further confirmed by the fact that workers within gardens were less related on average than full siblings (r = 0.75) or even paternal half-siblings (r = 0.5), and so were queens (mean relatedness ± standard errors in Garden 30: workers: 0.437 ± 0.016, queens: 0.448 ± 0.024; and in Garden 45: workers: 0.425 ± 0.018, queens: 0.436 ± 0.036). They were, however, more related than maternal half-siblings (r = 0.25). Similarly, males were less related than full siblings (r = 0.5) but were still somewhat related (mean relatedness ± standard errors in Garden 30: 0.284 ± 0.075; and in Garden 45: 0.310 ± 0.032).

In both gardens, singly mated queens were found to be equally related to their mate as to the overall pool of reproducing males within the same garden (mean relatedness differences ± standard errors; Garden 30: − 0.027 ± 0.029, p value = 0.176; Garden 45: − 0.024 ± 0.037, p value = 0.263). Similarly, males were found to be equally related to the female they inseminated as to the overall pool of singly mated females within the same garden (mean relatedness differences ± standard errors; Garden 30: − 0.015 ± 0.020, p value = 0.123; Garden 45: − 0.004 ± 0.027, p value = 0.696).

We found evidence of male-biased dispersal in Garden 30: queens were less related to males than to other queens (mean relatedness differences ± standard errors; − 0.054 ± 0.034, p value = 0), males were as related to queens as to other males (mean relatedness differences ± standard errors; 0.014 ± 0.07, p value = 0.607), and workers were less related to males than to queens (mean relatedness differences ± standard errors; − 0.014 ± 0.013, p value = 0).

The pattern we observe in Garden 45 was less clear: queens were also less related to males than to other queens (mean relatedness differences ± standard errors; − 0.021 ± 0.032, p value = 0.013), but males were less related to queens than to other males (mean relatedness differences ± standard errors; − 0.049 ± 0.024, p value = 0), and workers were more related to males than to queens (mean relatedness differences ± standard errors; 0.024 ± 0.009, p value = 0; Fig. 4).

Fig. 4
figure 4

Relatedness between ants within two gardens. Relatedness between singly mated queens, the males that inseminated them and the workers as calculated with RELATEDNESS within Garden 030 (panel a) and Garden 045 (panel b). The x-axis represents the Px sets as defined by Queller and Goodnight (1989), i.e., the set of individuals the program summed over. Colors account for the Py sets, i.e., the “partners” of the Px individuals. Dots show mean relatedness and error bars show standard errors of mean relatedness

Assessment of fine-scale spatial genetic structure

The two well-sampled gardens were genetically distinct, since workers from one garden were more related to each other than to workers of the other garden (mean relatedness differences ± standard errors; 0.248 ± 0.014, p value = 0). The same result held true for queens and males (mean relatedness differences ± standard errors; queens: 0.106 ± 0.012, p value = 0; males: 0.116 ± 0.032, p value = 0).

AMOVA showed that most of the total genetic variation was distributed within individuals (74.34%) and that a lower percentage (26.95%) corresponded to variation between gardens (Table 4). No variation was significantly explained by the subdivision by trees, indicating the absence of spatial structuring among trees within gardens.

Table 4 AMOVA results (asterisks denote significance of fixation indices with p values < 0.001)

Assessment of large-scale spatial genetic structure

Gardens appeared well differentiated from each other as indicated by high and significant FST values (mean ± standard deviation; pairwise FST: 0.327 ± 0.076, see Table S1 for all pairwise FST values). Four gardens, all located in Panguana, showed a significant departure from Hardy–Weinberg equilibrium due to heterozygote excess, as indicated by negative FIS values (Table 1).

No significant IBD was detected, whatever the spatial scale (p values; from 0 to 400 km: 0.294; over 400 km: 0.997; the entire range: 0.743; Fig. 5). Similarly, the population tree reconstructed was very poorly supported (Fig. 6a). Discriminant analyses revealed a weak trend for differentiation among the 43 devil’s gardens depending on geography (Fig. 6b). Each devil’s garden occupied a small area in the overall space and there was very little overlap between the gardens from central (Neshuya, Quimpichiari, and Panguana) and southern (Las Piedras and Wasai) Peru. There was a much greater overlap with gardens from northern Peru (all other sites). Differentiation was much more pronounced at a small geographic scale, when focusing on the 18 devil’s gardens from Madre Selva (Fig. 7).

Fig. 5
figure 5

Isolation by distance. Pairwise FST between devil’s gardens as a function of geographic distance between devil’s gardens. The line is a simple linear regression with the 95% confidence interval shaded, for visualization purposes only

Fig. 6
figure 6

Country-wide genetic clustering. a Neighbor-joining tree based on pairwise FST indexes between devil’s gardens with 500 bootstrap iterations. Branch tips are labeled with devil’s garden codes followed by abbreviations of sampling site names between parentheses. Site names are abbreviated as follows: AM Allpahuayo-Mishana, GH Genaro Herrera, LP Las Piedras, MS Madre Selva, Ne Neshuya, NI Nuevo Israel, Pa Panguana, Qu Quimpichiari, Sa Sabalillo, SC Santa Cruz, SU Santa Ursula, Wa Wasai. See Table 1 for descriptive data on individual devil’s gardens at each location, and Table S1 for exact geographical distances between devil’s gardens. Black dots show branch support higher than 50. b Discriminant analysis of principal components (DAPC) showing the differentiation among the 43 devil’s gardens sampled across Peru. The DAPC was created with the adegenet package in R with a total of 34 principal components, accounting for 89.9% of the total variance. Horizontal and vertical axes represent the first and second discriminant functions, respectively, accounting for 19.6% of the variance explained by the full analysis. Each color represents a different location according to a gradient north–south, from blue to red

Fig. 7
figure 7

Madre Selva genetic clustering. a Map of the locations of the 18 devil’s gardens sampled at Madre Selva, with longitude (degrees W) on the x-axis and latitude (degrees S) on the y-axis. b Discriminant analysis of principal components showing the differentiation among the 18 devil’s gardens sample at Madre Selva. The DAPC was created with the adegenet package in R with a total of 30 principal components, accounting for 92.7% of the total variance. Horizontal and vertical axes represent the first and second discriminant functions, respectively, accounting for 32.9% of the variance explained by the full analysis. Each color is a different devil’s garden

Two clusters were identified by STRUCTURE as the most plausible population structure, although the Delta K value calculated using STRUCTURE HARVESTER was low. The population clustering did not reflect any obvious geographic structure (Fig. S2).

Discussion

Through a combination of field surveys and microsatellite genotyping, we described the colony structure and population genetics of the devil’s garden ant, M. schumanni. We found that M. schumanni reproduces seasonally, exhibits facultative polyandry without assortative mating within gardens, and has split sex ratios potentially leading to sex-biased dispersal. We also found that most genetic variation is distributed within colonies, with high differentiation among colonies that could explain the absence of genetic structure at larger spatial scales.

Like many other tropical ants (Torres et al. 2001), M. schumanni reproduction is weakly seasonal, with alates produced throughout the year but peaking in February–April. Seasonality in ant reproduction is thought to result from adaptation to abiotic or biotic constraints, often linked to nest site availability (Kaspari et al. 2001a, b; Rathcke and Lacey 1985). In some tropical ant plants, ant phenology matches the seasonal availability of unoccupied host plants (Frederickson 2006). The same ecological pressure for synchronizing alate release with young D. hirsuta emergence could explain the seasonality of M. schumanni reproduction, although it could also result from many other factors.

Seasonal change in queen number is a surprising result, as it has been previously documented only in temperate species such as Brachyponera chinensis, Linepithema humile and Myrmica limanica (Elmes and Petal 1990; Gotoh and Ito 2008; Keller et al. 1989). Although an increase in queen number might reflect an increased need for alates or workers to care for developing alates, this is unlikely because the peak in M. schumanni queen number occurred in April, after alate production had already peaked (Fig. 2). Alternatively, colonies might adaptively adjust queen numbers to meet a seasonally changing demand for workers to engage in tasks other than brood care; M. schumanni workers protect D. hirsuta and C. nodosa against insect herbivores (Frederickson 2005) and actively patrol the forest floor and attack non-myrmecophytic plants that attempt to establish in devil’s gardens (Frederickson et al. 2005); insect herbivore abundance, new leaf production, and seedling emergence can all fluctuate seasonally, even in tropical forests (Wolda 1978). Additionally, seasonality in queen number could also be a consequence of the arrival of young queens from elsewhere, or gynes staying in their natal nest following mating, such that the number of queens increases temporarily, but then diminishes over the following weeks as some queens die off.

Weak facultative polyandry instead of consistent multiple matings with numerous males is expected in such a highly polygynous species as M. schumanni because of a trade-off between polyandry and polygyny (Hughes et al. 2008). Reproduction in social Hymenoptera varies along a continuum from monogyny to high polygyny, and monoandry to high polyandry. Polygyny and polyandry are thought to have evolved mostly due to selection for genetic diversity, but they both involve costs for queens either in terms of lower relatedness to workers, energy expenditure, or predation exposure (Hughes et al. 2008). Assortative mating (positive or negative) can also influence colony genetic diversity through queen mating choices. However, to the best of our knowledge, it has not been described in hymenopterans.

Our results do not suggest assortative mating in M. schumanni within gardens, in the sense that queens and their mates were as related to each other as to the other reproductives in the same devil’s garden. Our sampling did not allow us to formally test for assortative mating at the population scale, since we only genotyped queens and males from the two exhaustively sampled gardens and they were in distinct locations. However, the mean relatedness within devil’s gardens was very high, even among reproductives, indicating common ancestry. These high values could result from very short dispersal distances and therefore queens mating with males from the same or a genetically (and possibly physically) close devil’s garden. Such behavior would result in colonies separated by even small physical distances being genetically differentiated, a hypothesis consistent with our large-scale population genetic results.

Nonetheless, we observed patterns of relatedness asymmetry between sexes within colonies. This can result from sex-biased dispersal, a well-documented phenomenon (Sündstrom et al. 2003). Surprisingly, these patterns were inconsistent between colonies: one garden showed signs of male-biased dispersal, while another showed an inconclusive pattern contradicting male-biased dispersal. Split sex ratios could potentially be one explanation for these patterns. Conflicts between queens and workers over optimal sex allocation are the main explanation for split sex ratios in ants (Kümmerli and Keller 2009). This conflict is highest with high relatedness asymmetry of workers towards females and males such as the one we uncovered in the present study (Fig. 4). This relatedness asymmetry varies depending on the number of queens per colony and the queen mating frequency. The observed split sex ratio is in line with theoretical predictions according to what we know about M. schumanni’s mode of reproduction (high polygyny with monogynous small colonies and facultative polyandry, see Frederickson and Gordon 2009 and this study). Relatedness asymmetry is highest in monogynous small colonies, resulting in incentives for workers to bias alate production towards females. However, in polygynous colonies, workers and queens have similar interests, and sex ratio is influenced by local resource competition between co-breeding queens. Colonies with a few queens produce more females to recruit new queens, whereas highly polygynous colonies specialize in male production. Consistent with these predictions, we found that M. schumanni population sex allocation is male biased (Fig. 3).

Most of the genetic variation in M. schumanni populations was distributed within individuals, and to a lesser extent among devil’s gardens. We found no evidence of spatial clustering of related individuals (for example, workers with the same mother or father) on trees within a garden, although our sampling did not allow us to partition genetic variance among domatia within trees, so we do not know whether a domatium usually contains related brood. Myrmelachista schumanni workers readily move between trees in a garden, either along branches that touch between trees or over the ground, leading to the spatial homogenisation of worker genotypes within devil’s gardens. Our genetic data support earlier assertions (e.g., Frederickson and Gordon 2009) that each devil’s garden is occupied by a single, large M. schumanni colony in which multiple, mated queens produce genetically diverse but related offspring that mix freely within a garden, much as in other supercolonial ant species (e.g., Formica aquilonia, Schultner et al. 2016).

We failed to uncover any clear geographic structure of genotypes at the country-wide scale. Genetic homogenization through high gene flow between populations cannot explain this pattern. The most distant devil’s gardens were over 1000 km apart, and alates flying over such large distances is unlikely. An alternative explanation is a mismatch between microsatellite mutation rate and the timing of differentiation between populations. A very low mutation rate should lead to a lack of differentiation at microsatellite loci despite differentiation in the rest of the genome. On the other hand, a very high mutation rate should lead to homoplasy between unrelated microsatellite markers, especially among populations that diverged a long time ago. Our results might show some sign of homoplasy between distant populations, since FST values tend to decrease (although not significantly) over 400 km. However, both explanations rely on apparent low divergence between populations, a pattern that does not apply to M. schumanni given the very high FST values observed between devil’s gardens (0.323 in average, and up to 0.52). We hypothesize that, on the contrary, the absence of geographical structure is due to a high differentiation rate with little gene flow between devil’s gardens. Each garden or small group of geographically close gardens would thus function as an almost isolated population. Discriminant analyses highlighted a few of such seemingly isolated gardens, and the long branches of the FST-based neighbor-joining consensus tree supports the hypothesis of an ancient differentiation event between gardens followed by a long period of independent evolution with modest gene flow.

Four gardens in Panguana showed a significant departure from Hardy–Weinberg equilibrium, due to strongly negative FIS values. Significant outbreeding could result from disassortative mating, with ant queens preferentially mating with genetically distant males. Interestingly, these four gardens are in Panguana, at the range limit of D. hirsuta, M. schumanni’s main host plant. If these gardens are at a contact zone between two genetically differentiated clusters, this could explain negative FIS values, especially given split sex ratios, if each cluster specializes in producing males or females. However, this hypothesis seems to be disproven by the absence of obvious spatial genetic structure in M. schumanni.

Although our results about M. schumanni reproduction are in line with current knowledge and theoretical predictions about ant mating systems, the observed absence of population genetic structure due to a very high level of differentiation is surprising. The unsuitability of microsatellites for measuring large-scale populational events has been suggested as a cause for inflated indices of differentiation due to high mutation rate, genotyping errors or ascertainment bias (Fischer et al. 2017; Hoffman and Amos 2005; Whitlock 2011). Conversely, the low number of markers used in microsatellite studies can result in low resolution, therefore in the overlooking of fine population structure (Bradbury et al. 2015; Jeffries et al. 2016). This study highlighted intriguing patterns, but these results need to be refined through the sampling of more populations in central Peru, as well as the use of other genetic markers such as RAD-Seq generated SNPs (Hodel et al. 2016).