Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2026 Feb 25;16:9624. doi: 10.1038/s41598-025-34231-9

Vertically transmitted bacterivorous nematodes are consistent nest inhabitants in the Azteca-Cecropia ant-plant mutualism

Veronica Barrajon-Santos 1,2,3,, Maximilian Nepel 1,4, Walter Sudhaus 5, Bela Hausmann 6,7, Dagmar Woebken 2, Veronika E Mayer 1,
PMCID: PMC13009263  PMID: 41741506

Abstract

Nematodes play key roles in natural and agricultural ecosystems. They contribute to organic matter transformation and the stability of soil food webs. Beyond their free-living forms, many nematode lineages have evolved in close associations with insects, ranging from mutualistic and commensal to parasitic interactions. Recent studies have revealed that nematodes are common in tropical ant–plant mutualisms and are particularly relevant in ant-made organic matter piles, or “patches”, within ant nests. To investigate nematode community dynamics during ant colony growth and their consistency across closely related ant species, we analysed patches from 65 ant colonies of the Azteca-Cecropia ant-plant mutualism using 18S rRNA metabarcoding combined with morphology-based quantification methods. Bacterivorous nematodes from the order Rhabditida were present in all samples, regardless of the ant or plant species and the colony developmental stage. Members of Tylenchida and Dorylaimida were also detected, though sporadically. Our results support the previously proposed vertical transmission of bacterivorous nematodes from mother to daughter colonies as well as horizontal transmission among patches within the same ant colony. Moreover, nematode community composition remained stable throughout colony development but varied between ant species. These findings demonstrate that nematodes constitute a persistent and functionally important component of this ant–plant mutualism.

Supplementary Information

The online version contains supplementary material available at 10.1038/s41598-025-34231-9.

Keywords: 18S rRNA gene-based metabarcoding, Ant-plant mutualisms, Azteca-Cecropia, Insect-nematode associations, Nematode community dynamics, Tropical ecology

Subject terms: Ecology, Ecology, Zoology

Introduction

Nematodes are the most abundant and ubiquitous metazoans on Earth1. They are distributed across all trophic levels, and thus, they are usually classified based on their feeding strategy (i.e., herbivores, bacterivores, fungivores and omnivores)2. Due to their high adaptability and their notable phenotypic plasticity, many species are involved in complex ecological networks that often include symbiotic associations with bacteria, plants and other animals3,4.

It is estimated that nematodes are associated with 40,000-500,000 species of arthropods worldwide, many of which display a social behaviour, such as bees, termites, and ants5. Entomophilic non-parasitic nematodes are often characterized as bacteria-feeding opportunists2. These bacterivorous nematodes have repeatedly evolved the ability to use insects as bio-vehicles to access bacteria-rich environments68. This dispersal strategy, known as phoresy, is characterized by the development of a highly resilient ‘dauerlarva’, a resistant, non-feeding third-stage juvenile (L3)6. Dauerlarvae exhibit a behaviour (standing on the tail and waving) as a “sit-and-wait” host-tracking and dispersal strategy9 facilitated by a specialized cuticle-attachment mechanism6,10.

While the association is clearly beneficial for the nematodes, the effects recorded so far on the fitness and development of their insect partners range from mutually beneficial to detrimental1113. For example, in dung beetles (Coleoptera, Scarabaeoidea), the presence of Diplogastrellus (Rhabditida, Diplogastridae) nematodes, which are transgenerationally inherited and sexually transmitted within the brood balls, promotes the growth of beetle offspring11. On the contrary, in burying beetles, the presence of phoretic nematodes in the bodies of mating females leads to a significant reduction in brood size, juvenile survival, and juvenile mass12. Furthermore, recent research on fungus-growing termites (Blattodea, Isoptera) indicates a commensal relationship with nematodes7,14. Their presence in the termite nest appears to be harmless to the termites. However, nematodes are rare in chambers with brood or are even suppressed by the termites’ grooming activity14.

Ants have been associated with nematodes for at least 20–30 million years15. As in other insects, most ant-associated nematodes are non-parasitic, saprobiontic bacterivores, primarily belonging to the families Rhabditidae, Diplogastridae and Panagrolaimidae of the order Rhabditida8. Ant-nematode interactions are particularly frequent in tropical ant-plant mutualisms worldwide8,16,17. In these mutualistic relationships, ants protect their host plant from herbivores, pathogens, and overgrowing vegetation in exchange for nesting space within hollow plant structures (domatia) and access to nutritional resources, such as extrafloral nectar or food bodies1821. Within the domatia, nematodes coexist with fungi and bacteria in organic matter piles built by ants and known as ‘patches’8,16,17,2225. Several studies have proposed that ant-associated nematodes may be transmitted vertically from mother to daughter colonies, as they are frequently detected in the infrabuccal pockets and attached to the bodies of alate queens16,17,26.

The dynamics and composition of the patch communities with respect to fungi and bacteria have been extensively studied22,23,27,28, but no research has been conducted on the occurrence and composition of the nematode communities. To address this gap, we investigated the diversity of nematodes inhabiting ant-made patches in one of the most prominent and abundant ant-plant mutualisms in the tropical America, the Azteca-Cecropia complex, by comparing: (i) ant colonies at different developmental stages , and (ii) different species of the respective ant and plant partners. By combining amplicon sequencing of the partial 18S rRNA gene with morphological identification methods, we analysed patches from 65 colonies of three Azteca species (Formicidae, Dolichoderinae) inhabiting Cecropia spp. (Urticaceae) from which fungal and bacterial communities had already been examined22,23. We hypothesize that (i) nematodes are consistently present in patches during early colony foundation, supporting vertical transmission from mother to daughter colonies; (ii) nematodes are present in all patches as the ant colony expands within the Cecropia, supporting horizontal transmission among patches within the same ant colony; and (iii) nematode community composition is influenced by the ant species rather than the plant species. Our study of the nematode community composition in an ant–plant mutualism provides an important foundation for understanding the ecological roles of nematodes within this complex ecosystem, as well as their potential effect on the fitness and development of both the ant colony and the host plant.

Materials and methods

Patch sample collection

Samples were collected in wet lowland forests and pastures in the conservation zone ACOSA (Área de Coservación Osa) in Puntarenas, Costa Rica in close vicinity to the Tropical Field Station La Gamba (08°42’03”N, 83°12’06”W, 70 m a.s.l.). All plant and ant samples collected in this study were obtained with permission from the “Sistema Nacional de Áreas de Conservación” of Costa Rica (permits SINAC INV‑ACOSA‑001–16,” and “SINAC INV‑ACOSA‑013–18). For this investigation, we sampled 55 Cecropia trees (C. peltata, C. obtusifolia and C. insignis) colonized by 68 Azteca colonies. The Cecropia species were determined based on the leaf characteristics when the leaves were properly developed29. Plants that were young and still lacked the distinctive characteristics required for precise identification were labelled as “Cecropia sp.“. These identifications were made by VEM and MN based on their extensive Cecropia spp. collections from the same area in 2013. Voucher specimens are deposited at the Herbarium of the University of Vienna (WU) under accession number 1971/5268.

After transversally opening colonized Cecropia stems, we collected ant-made patch samples from the nesting space of Azteca spp. colonies using a dental probe. Subsequently, the ant species (A. alfari, A. constructor and A. xanthochroa) were identified through the morphology of the ant queen following J. Longino’s Azteca species description30 and through the characteristics of the ant nest28.

Patch samples were classified in three categories depending on the developmental stage of the ant colony (Fig. 1). In the initial and young developmental stages, ant colonies are spatially limited to a single plant internode and usually maintain only one patch. These patches were analysed separately. In established ant colonies, in which ants maintain multiple patches throughout the nesting space, patches of a single ant colony were either combined in the field or separately sampled and sequenced by tree sections as described in Nepel et al. (2023)22 and then, bioinformatically pooled.

Fig. 1.

Fig. 1

Graphic illustration of the Azteca-Cecropia mutualism and the associated nematodes inhabiting ant-made patches. (A) Representation of the ant colony development and the patch formation, including the patch categories used in this study: initial patch (IP); young patch (YP); established patches (EP). (B) Stereomicroscope image showing numerous nematodes on the patch surface. (C) Scanning electron microscope (SEM) image of nematode eggs within the patch material. (DE) Microscopic images showing morphological features of a female Sclerorhabditis nematode.

In the area of sampling, the abundance of the different Azteca and Cecropia species was notably uneven: only one Cecropia specimen was identified as C. insignis; from A. xanthochroa, only founding queens with initial patches were found in the study area; and all young ant colonies were identified as A. alfari colonies. Consequently, we were unable to obtain an equal number of samples for each ant and plant species, and for each ant colony developmental stage (Supplementary Information S1).

Morphological identification and quantification of nematodes

Nematodes were morphologically identified and quantified from homogenized patch samples of four ant colonies (two established A. alfari and two established A. constructor colonies). First, alive nematodes were extracted from the patch matrix by centrifugation at 1800 g for 4 min using a highly dense non-ionic solution (Nycodenz 1.16 g/mL 1x PBS). Subsequently, the supernatant, where most of the nematodes were detected, was transferred to a new 2 mL tube. The nematodes were pelleted by centrifugation (18000 g for 3 min) and washed with 0.2 μm filtered H2O three times, each time followed by centrifugation. The pellet was stored in RNA-later. Finally, nematode suspensions were subsampled and specimens were manually classified, whenever possible, to their respective species based on species-specific morphological features31, and, manually quantified using a microscope (Zeiss Axioplan 100 x Plan-Neofluar).

Metabarcoding

For metabarcoding, patch samples from 68 ant colonies stored in RNAlater solution (1:4) were washed twice with a phosphate buffer by centrifugation at 14 000 rpm for 1 min. DNA extraction was performed following an adapted phenol-chloroform based extraction protocol32, using three rounds of mechanical lysis via bead beating (30 s at 6.5 m s-1)33. Amplicon libraries targeting the partial 18S rRNA gene were generated by a three-step PCR approach for highly multiplexed amplicon sequencing composed by: (a) a semi-nested PCR protocol using metazoan selective primers (NemF and 18Sr2b) first, followed by amplification with NF1 and 18Sr2b primers34,35; (b) a barcoding PCR step36. Detailed information about the primer sequences, PCR protocol and programs used in this study is provided in Supplementary Information S2. Library preparation and MiSeq Illumina sequencing (JMF-2010-2) was performed by the Joint Microbiome Facility (JMF, University of Vienna, Austria) using a 2 × 300 bp cycles paired-end mode and the MiSeq v3 Reagent kit (Illumina).

Sequence processing and analysis

Amplicon sequence data were processed as described in Pjevac et al. (2021)36 following the recent recommendations for metabarcoding studies of nematodes communities37. First, amplicon sequence variants (ASVs) were inferred using the DADA2 R package version 1.2.038 with R v4.1.139 by applying trimming at 220/230 nt with allowed expected errors of 2/4. Second, ASVs were taxonomically classified using RDP classifier40 and the SILVA v.138 SSU database41. Third, the taxonomic classification of the 50 most abundant ASVs was revised by BLASTN using the nucleotide collection (nt) database (updated on the 11th of October 2023). In the count and taxonomy tables, we performed a filtering process where we discarded: (i) singleton ASVs, (ii) ASVs not classified as phylum Nematoda, and then, (iii) samples with less than 2000 reads. As a result, 65 samples out of 68 were kept for downstream analyses (Supplementary Information S1).

Downstream analyses were performed in R v4.1.2 and RStudio 2021.09.142. When several patch samples were sequenced from the same established ant colony, their sequence data were merged by adding up read counts using the R packages ampvis2 v2.7.1143. The nematode alpha and beta-diversity metrics in individual ant colonies were analysed using the R packages ampvis2 v2.7.11 and vegan v2.6-444. For both diversity metrics, we first rarefied the read counts using the minimum read count per sample that was higher than 2000 reads. Alpha diversity was calculated using Shannon index and the differences between groups were statistically tested with p value of 0.05 by using: (i) Wilcoxon test when comparing two groups; and (ii) Kruskal-Wallis and post-hoc pairwise Wilcoxon test when comparing three groups. The beta diversity was visualized by PCoA using Bray-Curtis distances and categorical variables were statistically tested using PERMANOVA test (p < 0.05)45. Since the sample size design was notably unbalanced in most beta diversity comparisons, additional PERMDISP tests46 were performed to evaluate the heterogeneity of dispersions. Relative read abundances of ASVs belonging to frequent nematode groups were statistically compared between A. alfari and A. constructor colonies using Kruskal-Wallis and post-hoc Wilcoxon test (p < 0.05).

For analysing the nematode diversity and community composition among different tree sections of established ant colonies, we used the separately sequenced patch samples per colony. The alpha and beta diversity indexes were calculated and statistically tested as described above.

Results

Morphological identification reveals three Rhabditida species in the patches of established ant colonies

By microscopy and morphological identification methods, we identified three nematode species in the patch samples of established Azteca spp. colonies inhabiting Cecropia spp. plants. Due to suboptimal fixation, only the structure of the lip region and stoma could be used for species identification. The nematode specimens were almost exclusively female. As far as it could be seen, they were similar in body size and shape, amphidelphic gonads with a median vulva and conoid elongated tail. Sclerorhabditis is characterized by (in lateral view) a dorsal and a ventral thorn shaped sclerotization directed toward the mouth opening (Fig. 2A). The cylindrical stomatal tube is relatively short and wide. In contrast, Diploscapter has a long, narrow mouth tube and dorsally and ventrally an outward-facing, sclerotized hook-like appendage of the lips (Fig. 2B). Specimens of the third species could be distinguished by a cup-shaped stoma, in which – due to the poor state of preservation – more special structures could not be differentiated (Fig. 2C). Other features also remained unclear, especially the structure of the pharynx, and thus, it was not possible to determine on a morphological basis whether it belongs to the family Diplogastridae (Rhabditida).

Fig. 2.

Fig. 2

Comparison of the anterior ends of the three species of nematodes detected in the patches. (A) Sclerorhabditis cf. neotropicalis, (B) Diploscapter sp., (C) two sketches of a species of Rhabditida which could not be assigned to any genus, having a cup-shaped stoma.

While Sclerorhabditis specimens from the patches are likely belonging to the Sclerorhabditis cf. neotropicalis species25, slight morphological differences in the male posterior end of these individuals were detected (Supplementary Information S3).

Metabarcoding analysis detects Rhabditida, Tylenchida and Dorylaimida orders in patches across different ant colony developmental stages

Metabarcoding analysis of the partial 18S rRNA gene from 65 Azteca spp. ant colonies (Supplementary Information S1) resulted in 1.61 × 106 total reads and 200 ASVs. For downstream analysis, we used 108 ASVs (90% of total reads) which were assigned to the phylum Nematoda. The non-Nematoda ASVs were mostly assigned to the phylum Arthropoda (29 ASVs and 9% of total reads) or to other eukaryotic groups (61 ASVs and 1% of total reads).

The most prominent taxonomic order was Rhabditida with a mean relative read abundance of 93 ± 21% and 93 ± 15% in A. alfari and A. constructor colonies, respectively (Fig. 3A). ASVs from this order were found in every ant colony and mostly assigned to the genera Sclerorhabditis, Diploscapter and unclassified Rhabditida. The 11 most abundant unclassified Rhabditida ASVs were closely related (> 97.5% similarity, Supplementary Information S4) and are therefore likely to belong to the unidentifiable Rhabditida species detected by morphological analysis.

Fig. 3.

Fig. 3

Comparison of nematode communities inhabiting ant-made patches across different ant colony development stages. (A) Relative read abundances (%) of abundant genera (> 0.5%) per ant colony, grouped by Cecropia plant species (green), Azteca ant species (grey) and ant colony developmental stages (brown). Low abundant taxa (< 0.5%) are merged as “Rare”. (B) Alpha diversity (Shannon Index) and beta diversity (PCoA showing Bray-Curtis dissimilarity) metrics of each ant species. Statistical significance (p < 0.05) is calculated by Kruskal-Wallis or Wilcoxon test and by Permanova and Permdisp tests, respectively.

The metabarcoding data showed additional ASVs assigned to the order Tylenchida (genera Aphelenchoides and Anguina) were detected in: (i) 12 out of 36 A. alfari colonies with an average 7 ± 21% mean rel. read abundance, and, (ii) in 13 out of 23 A. constructor colonies with an average 2 ± 9% mean rel. read abundance (Fig. 3A). This order exhibited a sporadic dominance in certain initial and young patches, but was generally rare in established patches (0.5% mean relative abundance). Moreover, ASVs assigned to the taxonomic order Dorylaimida (mainly genus Mesodorylaimus) were detected only in A. constructor established colonies (6 out of 19) mostly nesting in C. obstusifolia trees (Fig. 3A). Dorylaimida accounted for 18 ± 18% rel. read abundance in these colonies.

Nematode diversity and community composition remain stable across ant colonies of different ages

The alpha diversity of the nematode communities (Fig. 3B) was stable across the different developmental stages of the ant colonies, both in A. alfari and A. constructor colonies (p = 0.18, x2 = 3.40; and p = 0.19, x2 = 1.68, respectively). Similarly, the nematode community composition (Fig. 3B) did not significantly correlate with the ant colony developmental stages in A. constructor patches (p = 0.36, F = 1.05), while it was slightly correlated in A. alfari colonies (p = 0.04, F = 1.86). Furthermore, no significant differences were detected in the alpha and beta diversity analyses when comparing tree sections of established patches (p = 0.19, x2 = 3.29; and p = 0.51, F = 0.91, respectively; Supplementary Information S5).

The nematode community composition is ant species specific

In order to evaluate whether the diversity or community composition of nematodes inhabiting the patches exhibits a significant correlation with the ant or plant species, we conducted alpha and beta diversity analyses across colonies. The Shannon Index showed that the nematode communities in A. alfari colonies exhibited a significantly higher diversity than those in A. constructor colonies in both, the initial (p = 0.037, x2 = 4.36) and the established (p = 0.005, x2 = 8.06) patches (Fig. 4A). Furthermore, the Bray-Curtis dissimilarity and the Permanova test revealed statistically significant differences in the nematode communities between A. alfari and A. constructor in both, the initial (p = 0.006, F = 4.65) and the established (p = 0.001, F = 12.71) patches (Fig. 4A).

Fig. 4.

Fig. 4

Comparison of nematode communities inhabiting ant-made patches between the different ant and plant species. (A) Alpha diversity (Shannon Index) and beta diversity (PCoA showing Bray-Curtis dissimilarity) metrics of initial and established patches between ant species. (B) Alpha diversity (Shannon Index) and beta diversity (PCoA showing Bray-Curtis dissimilarity) metrics of established patches between plant species. Statistical significance (p < 0.05) is calculated by Wilcoxon test and by Permanova and Permdisp tests, respectively.

In contrast, the nematode alpha and beta diversity in established patches of each ant species did not vary between plant species (C. peltata and C. obstusifolia) (Fig. 4B). Given the unbalanced sample size between the tested groups (Supplementary Information S1), an additional PERMDISP test was performed in beta diversity analyses to ensure sufficient statistical robustness (Fig. 4).

Rhabditida species are shared between ant species but differ in relative abundance

To further evaluate the effect of the ant species on the nematode communities, we compared the relative abundances of the three most abundant nematode species (> 10% mean rel. abundance) in the established patches of each ant species based on metabarcoding analysis (Fig. 5A) and morphological identification methods (Fig. 5B).

Fig. 5.

Fig. 5

Relative abundance (%) of the most abundant nematode groups from the order Rhabditida in established patch samples of A. alfari (ALF) and A. constructor (CON) colonies based on: (A) 18S rRNA sequence reads from amplicon sequencing; and (B) nematode specimen counts following morphological identification methods. Statistical significance (p < 0.05) is calculated by Wilcoxon test.

Both relative read abundance and morphological nematode counts indicated that the unclassified Rhabditida group was significantly less abundant in A. constructor colonies than in A. alfari colonies (p < 0.001) (Fig. 5). Instead, Diploscapter was significantly more abundant in the established patches of A. constructor colonies compared to A. alfari colonies (p < 0.001) (Fig. 5).

Discussion

The nematode inhabitants of the Azteca-Cecropia patches

Three distinct orders of nematodes (Rhabditida, Tylenchida and Dorylaimida) exhibiting diverse putative feeding strategies were identified through metabarcoding analysis of ant-made patches in the Azteca-Cecropia mutualism (Fig. 3A). As observed in other ant-plant mutualisms and social insect nests8,16,17, bacteria-grazing Rhabditida nematodes were by far the most abundant and frequent group across the 65 Azteca colonies investigated. Large masses of these nematodes were observed in-situ, actively moving on the patch surfaces of established colonies (Supplementary Information S6).

In addition to the dominant Rhabditida, nematodes from Tylenchida (e.g., Aphelenchoides) and Dorylaimida (e.g., Mesodorylaimus) appeared sporadically in the patches. Members of the genus Aphelenchoides species are known to feed on either fungi or plant tissue47, which likely explains their high relative abundance in initial and young patches, where plant material is the dominant substrate and fast-growing fungi are present23. Aphelenchoides species were also isolated from fungus-growing termite nests14 and the oviducts of carpenter bees48. Nematodes of the genus Mesodorylaimus are typically omnivorous49 and, in some cases, predators of other nematodes50. This feeding behaviour is consistent with their presence in patches of established A. constructor colonies, which often have a high biomass of bacterivorous rhabditids. Overall, these findings indicate that the ant-made patches offer previously unrecognized niche opportunities that facilitate the development of nematodes from multiple trophic levels.

Transmission and development of the patch nematode communities

The homogeneity of the nematode diversity and community composition between the initial and established patches shown in this study provides key information about the transmission and spatio-temporal dynamics of the nematode patch communities in relation to the ant colony development (Fig. 3B). Previous studies have shown that alate Azteca queens carry Rhabditida nematodes either externally attached to their bodies16 or internally within their infrabuccal pockets, where they store patch particles collected from their mother colonies26. After entering a hollow Cecropia stem, the founding queen creates a pile of parenchyma, which she likely inoculates with the nematodes, bacteria, and fungi she carries in her infrabuccal pocket26. As the colony grows, the worker ants expand the nest by colonizing additional internodes of the tree and building new patch structures23.

While we did not observe any alate queens leaving their mother colony for the nuptial flight, we managed to catch a few young queens that recently entered the Cecropia stem with rhabditid nematodes in their freshly made initial patch. The combination of evidence from previous studies that alate queens carry phoretic nematodes16,17,26, and our finding that Rhabditida nematodes are present in all patches from the earliest stages of colony foundation strongly suggests vertical transmission of these nematodes through the queen from mother to daughter colonies. Furthermore, the high similarity in nematode community composition between freshly made patches in recently grown plant internodes and the patches in older domatia (Supplementary Information S5) supports horizontal transmission of Rhabditida nematodes across internodes as the ant colony expands within the Cecropia tree.

Unlike rhabditids, tylenchids and dorylaimids were not widespread among the different developmental stages of the ant colonies (Fig. 3A). The Mesodorylaimus ASVs (Dorylaimidae, Dorylaimida) were found to be dominant only in established patches from A. constructor colonies inhabiting Cecropia obtusifolia trees inhabited by large ant colonies with numerous individuals and thus, Mesodorylaimus might be rather transmitted via patrolling of ant workers or patch visitors like mites or flies. Like in human-made compost piles51,52, Mesodorylaimus appeared only after the fast-growing bacterivorous nematodes had reached dominance within the patches during the earlier phase of patch maturation. In contrast, the Aphelenchoides ASVs (Aphelenchoididae, Tylenchida) were relatively abundant in some initial and young patches of all three Azteca species but not in established ones. This suggests that they may have been introduced by the queen from the surrounding environment during the plant colonization. Their absence in established patches suggests that Aphelenchoides feeds on plant material, since the substrate of initial and young patches is predominantly plant-derived parenchyma, whereas in older patches it is ant-derived exoskeletons of dead nestmates.

Influence of the Azteca ant and Cecropia plant species on the nematode communities

The bacteria-grazing Rhabditida nematodes detected in the patches belong to the genera Diploscapter and Sclerorhabditis (both 0.5–1 mm long) and to an unclassified Rhabditida species characterised by a notably small body size. All three Rhabditida species were present together in 29 out of the 31 established colonies investigated. However, it appears that the patch of each ant species favours the development of different Rhabditida nematodes (Figs. 4A and 5), even though these ant species coexist in the same geographical area and environment. The differences in the relative abundance of Diploscapter and the unclassified Rhabditida group in A. alfari and A. constructor, characterized by differing nematode body sizes, may be due to the unique patch habitat that each ant species creates22 and which could influence whether the habitat is suitable for a particular nematode species53. Nematodes need water films for movement and feeding54,55. Furthermore, in soil, the distribution of nematode size has been shown to correlate with the distribution of aggregate and pore size, as larger nematodes require larger inter-aggregate spaces than smaller nematodes53,54. In the domatia, A. constructor forms relatively big, three dimensional and very moist patches, whereas A. alfari patches are thin, dry and sandy23. The low moisture level and physical structure in A. alfari patches may favour smaller nematodes as has been observed in soils under drought stress56. Overall, the ant species is a significant driver of the nematode diversity within these patches, as it has recently been shown for the fungal and bacterial communities in the patches of the Azteca-Cecropia association22,23,28.

Ant-plant-nematode associations: parasitism, commensalism or mutualism?

The first record of rhabditid nematodes associated with ants was a 20–30 million years old Dominican amber dauerlarvae of a diplogastrid nematode next to a fossil Azteca ant57. More recent fossil evidence indicates that nematodes and ants have coexisted for at least 40 million years15 and during which a multitude of symbiotic relationships have emerged.

Associations between nematodes and ants were traditionally classified as commensal or antagonistic, with the latter proposed to have evolved from commensal interactions which form the basis of most nematode–insect relationships58. The occurrence of nematode dauerlarvae in the postpharyngeal glands of ants has been documented since the 19th century59 and is now reported from numerous species of ants8. In their adult stages, these nematodes typically feed on free-living bacteria inhabiting the ant nest. When external conditions become unfavourable (e.g., low humidity or food scarcity), dauerlarvae enter the glands and use ants as vehicles for dispersal6,57. Since minor damage to postpharyngeal glands of alates had been documented, rhabditid nematodes were initially considered facultative parasites of ants57.

Although the interaction between nematodes and ant-plant mutualisms also includes phoresy, recent studies have proposed that ant-plant-nematode associations are rather commensal or even mutualistic8,16,17. Our results indicate that the association with Azteca ants is clearly advantageous for the nematodes. Ant-made patches provide a stable and protected microenvironment rich in bacteria which ensures a continuous nutrient supply. Moreover, alate queens facilitate nematode dispersal during colony founding as dauerlarvae attach to their bodies and are transported to new nesting sites16,26. These benefits are likely shared across other ant–plant mutualisms8,17, suggesting that such associations represent an effective and recurrent ecological strategy for the nematodes.

In contrast, the benefits for the ants, and for the Azteca–Cecropia complex, are less evident. Ants are known to maintain high nest hygiene to prevent infections60. Therefore, large nematode populations would likely not be tolerated if they posed a health risk for the ant colony. Although context-dependent fitness effects cannot be fully excluded, as observed in other systems61, we found no evidence of detrimental effects in the ant colonies which remained healthy, or, the host trees that showed no signs of stress. Instead, the consistent occurrence of abundant nematodes in all colonies, even in domatia with the greatest activity next to brood and queens, rather supports the hypothesis that nematodes play a functional role within this complex ecosystem.

Previous studies have suggested that nematodes may serve as a nutritional supplement for ant larvae during periods of food scarcity and that bacteria could be cultivated to nourish the nematodes, which would in turn provide food for the ants8,16,17. However, attempts to verify this in the Azteca–Cecropia association have been unsuccessful, as neither predation nor active feeding on nematodes has been observed8. Beyond potential trophic interactions, we propose that nematodes may contribute to the stability and functioning of microbial communities within the patches of the Azteca–Cecropia mutualism and other ant–plant associations.

As shown in forest soils, agricultural systems, and composts49,6265, bacterivorous nematodes could provide a wide range of beneficial ecosystem services within patches. First, they may facilitate organic matter decomposition and nutrient recycling. By feeding on bacterial biomass and excreting ammonia, these nematodes likely contribute to nitrogen mineralization in the patches66. Because certain bacterial taxa within the patches fix atmospheric nitrogen at high rates28, nematode grazing could further enhance nitrogen cycling. Second, bacterivorous nematodes could contribute to nest hygiene by reducing bacterial loads and potentially suppressing pathogenic strains. Third, their constant movement through the patch surface likely promotes aeration and mixing of organic material (Supplementary Information S6). Overall, these observations suggest that the phoretic association between Azteca ants and bacterivorous nematodes is not merely commensal but possibly mutualistic, with nematodes acting as micro-scale ecosystem engineers that help maintain the stability of the patch ecosystem.

Conclusions

The large-scale 18S rRNA gene metabarcoding approach used in this study combined with morphological identification methods provided valuable semi-quantitative insights into the taxonomic diversity and community composition of nematodes inhabiting the ant-made patches of the Azteca–Cecropia mutualism. While bacterivorous nematodes from the order Rhabditida like Sclerorhabditis and Diploscapter were present in all samples, members of Tylenchida and Dorylaimida were only sporadically detected. Our findings support the previously hypothesized vertical transmission of nematodes from mother colonies to daughter colonies, and also suggest horizontal transmission between individual patches within the same ant colony. Moreover, each Azteca ant species appears to create and maintain a distinct microenvironment within its nest, favouring the development of specific Rhabditida nematodes in the patches.

Based on these results, we conclude that bacterivorous nematodes represent a permanent and functionally relevant component of this complex ant–plant ecosystem. Further research is needed to determine whether these nematodes contribute to the stability and functionality of the patches by, for example, selectively grazing on particular bacterial taxa, maintaining a balanced bacterial growth, or, contributing to organic matter degradation and nutrient recycling.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary Material 1 (607.5KB, pdf)

Acknowledgements

We thank the Costa Rican authorities for granting permission to conduct this research (R-046-2015-OT-CONAGEBIO, SINAC INV-ACOSA-001-16, and SINAC INV ACOSA-013-18), and the staff at the Estación Tropical La Gamba in Puntarenas, Costa Rica, for receiving us and providing excellent support during our sampling trips. We are grateful to Adrián Pinto-Tomás, Paola Pisa, Jessica Morera and Paul Hanson (University of Costa Rica) for their insightful feedback on this complex ant-plant mutualism. We further acknowledge the staff of the Joint Microbiome Facility and the Life Science Compute Cluster at the University of Vienna for their technical support. Finally, we thank the Austrian Science Fund (FWF) for funding this investigation through project grant P-31990-BIO to VEM.

Author contributions

V.E.M., M.N. and D.W. designed the research. V.B.S., V.E.M. and M.N. performed the research. V.E.M. and M.N. identified the plant and ant species. V.B.S., B.H. and W.S. contributed with analytical tools. V.B.S., B.H. and W.S. processed and analysed the data; V.B.S analysed and interpreted the results. V.E.M., W.S. and D.W. provided significant intellectual contribution. V.B.S wrote the original draft of the manuscript. All authors contributed to the final version of the manuscript and approved it for publication.

Funding

This research was funded in whole, or in part, by the Austrian Science Fund (FWF) [https://doi.org/10.55776/P31990 to VEM]. For open access purposes, the author has applied a CC BY public copyright license to any author accepted manuscript version arising from this submission.

Data availability

All sequence data (raw sequence reads and metadata) are accessible on NCBI under the BioProject accession number PRJNA777006. The 18S rRNA amplicon sequencing dataset and the R script generated in this study are available in the Figshare public repository at https://doi.org/10.6084/m9.figshare.c.7499025.

Declarations

Competing interests

The authors declare no competing interests.

Ethics declaration

This research was conducted with authorization from the Costa Rican authorities who provided the following research permits “R‑046–2015‑OT‑CONAGE‑ BIO,” “SINAC INV‑ACOSA‑001–16,” and “SINAC INV‑ACOSA‑013–18.”. These permits allowed the collection of Cecropia plants colonized by Azteca ants. We would like to emphasize that Cecropia species are pioneer, fast-growing plants which are widely distributed throughout Costa Rica. They are particularly common in the area of sampling along roadsides, in domestic gardens, and in abandoned agricultural fields. Some samples were even collected from trees that had been felled by local residents due to interference with roadside power lines. Consequently, the sampled plants are not endangered, and their collection did not pose a conservation concern. In accordance to these research permits, we followed the national laws of Costa Rica “Ley de Conservación de la Vida Silvestre N° 7317,” “Ley de Biodiversidad N° 7788,” and “Ley Orgánica del Ambiente N° 7554” and applied the General Protocol “MINAE‑SINAC‑P‑001” for the use of the Protected Wildlife Areas of the National System of Conservation Areas. Benefits from this research accrue from sharing our data on public databases.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Veronica Barrajon-Santos, Email: veronica.barrajon@outlook.com.

Veronika E. Mayer, Email: veronika.mayer@univie.ac.at

References

  • 1.Yeates, G. W. Nematodes in ecological webs. In Encyclopedia of Life Sciences10.1002/9780470015902.a0021913 (2010).
  • 2.Bongers, T. & Bongers, M. Functional diversity of nematodes. Appl. Soil. Ecol.10, 239–251 (1998). [Google Scholar]
  • 3.Topalović, O. & Geisen, S. Nematodes as suppressors and facilitators of plant performance. New Phytol. 238, 2305–2312 (2023). [DOI] [PubMed] [Google Scholar]
  • 4.Tarasco, E. et al. Entomopathogenic nematodes and their symbiotic bacteria: from genes to field uses. Front. Insect Sci.3, 1–13 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Giblin-Davis, R. M., Kanzaki, N. & Davies, K. A. Nematodes that ride insects: unforeseen consequences of arriving species. Fla. Entomol.96, 770–780 (2013). [Google Scholar]
  • 6.Borges, R. M. Phoresy involving insects as riders or rides: life history, embarkation, and disembarkation. Ann. Entomol. Soc. Am.115, 219–231 (2022). [Google Scholar]
  • 7.Foley, J. R., Chouvenc, T., Giblin-davis, R. M., Su, N. & Kanzaki, N. Phoresy and within-colony transmission of nematodes associated with alates of subterranean termites (Isoptera: Rhinotermitidae). Environ. Entomol.47, 1107–1116 (2018). [DOI] [PubMed] [Google Scholar]
  • 8.Sudhaus, W. The guild of saprobiontic nematodes associated with ants (Formicoidea). Ecol. Montenegrina. 7, 600–613 (2016). [Google Scholar]
  • 9.Campbell, J. F. & Gaugler, R. Nictation behaviour and its ecological implications in the host search strategies of entomopathogenic nematodes. Behaviour126, 3–4 (1993). [Google Scholar]
  • 10.D Brown, F., D’Anna, I. & J Sommer, R. Host-finding behaviour in the nematode Pristionchus pacificus. Proc. R Soc. B 278, 3260–3269 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Ledón-Rettig, C. C., Moczek, A. P. & Ragsdale, E. J. Diplogastrellus nematodes are sexually transmitted mutualists that alter the bacterial and fungal communities of their beetle host. PNAS115, 10696–10701 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Wang, Y. & Rozen, D. E. Fitness costs of phoretic nematodes in the burying beetle Nicrophorus vespilloides. Ecol. Evol.9, 26–35 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Van Goor, J., Piatscheck, F., Houston, D. D. & Nason, J. D. Differential effects of nematode infection on pollinating and non-pollinating fig wasps: can shared antagonism provide net benefits to a mutualism? J. Anim. Ecol.90, 1764–1775 (2021). [DOI] [PubMed] [Google Scholar]
  • 14.Kanzaki, N. et al. Nematode-free agricultural system of a fungus-growing termite. Sci. Rep.9, 8917 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Poinar, G. The evolutionary history of nematodes: as revealed in stone, amber and mummies. In Nematology Monographs And Perspectives. Vol. 9 (Brill, 2011).
  • 16.Morera, J., Mora-Pineda, G., Esquivel, A. & Hanson, P. Pinto-Tomás, A. Detection, ultrastructure and phylogeny of Sclerorhabditis neotropicalis (Nematoda: Rhabditidae) nematodes associated with the Azteca ant-Cecropia tree symbiosis. Rev. Biol. Trop.66, 368–380 (2018). [Google Scholar]
  • 17.Maschwitz, U., Fiala, B., Dumpert, K., Hashim, R. & Sudhaus, W. Nematode associates and bacteria in ant-tree symbioses. Symbiosis69, 1–7 (2016).
  • 18.González-Teuber, M. & Heil, M. Comparative anatomy and physiology of myrmecophytes: ecological and evolutionary perspectives. Res. Rep. Biodivers. Stud.4, 21–32 (2015). [Google Scholar]
  • 19.Fischer, R. C., Richter, A., Wanek, W. & Mayer, V. Plants feed ants: food bodies of myrmecophytic Piper and their significance for the interaction with Pheidole bicornis ants. Oecologia133, 186–192 (2002). [DOI] [PubMed] [Google Scholar]
  • 20.Heil, M. et al. Food body production in Macaranga triloba (Euphorbiaceae): A plant investment in anti-herbivore defence via symbiotic ant partners. J. Ecol.85, 847–861 (1997). [Google Scholar]
  • 21.Michelangeli, F. A. Ant protection against herbivory in three species of Tococa (Melastomataceae) occupying different environments. Biotropica35, 181–188 (2003). [Google Scholar]
  • 22.Nepel, M., Mayer, V. E., Barrajon-Santos, V. & Woebken, D. Bacterial diversity in arboreal ant nesting spaces is linked to colony developmental stage. Commun. Biol.6, 1217 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Barrajon-Santos, V. et al. Dynamics and drivers of fungal communities in a multipartite ant-plant association. BMC Biol.22, 112 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Mayer, V. E., Voglmayr, H., Blatrix, R., Orivel, J. & Leroy, C. Fungi as mutualistic partners in ant-plant interactions. Front. Fun Biol.4, 1213997 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Esquivel, A., Abolafia, J., Hanson, P. & Pinto-Tomás, A. A new species of nematode, Sclerorhabditis neotropicalis sp.n. (Rhabditida), associated with Azteca ants in Cecropia obtusifolia. Nematropica42, 163–169 (2012). [Google Scholar]
  • 26.Mayer, V. E. et al. Transmission of fungal partners to incipient Cecropia-tree ant colonies. PLoS One. 13, e0192207 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Lucas, J., Bill, B., Stevenson, B. & Kaspari, M. The microbiome of the ant-built home: the microbial communities of a tropical arboreal ant and its nest. Ecosphere8, e01639 (2017). [Google Scholar]
  • 28.Nepel, M. et al. Nitrogen fixation by diverse diazotrophic communities can support population growth of arboreal ants. BMC Biol.20, 135 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Berg, C. C., Roselli, P. F. & Davidson, D. W. Cecropia. Fl. Neotrop. Monogr. 1–230 (2005).
  • 30.Longino, J. T. A taxonomic review of the genus Azteca (Hymenoptera: Formicidae) in Costa Rica and a global revision of the aurita group. Zootaxa1491, 1–63 (2007). [Google Scholar]
  • 31.Sudhaus, W. Order rhabditidina: ‘Rhabditidae’. in Volumen 2 Nematoda 537–556 (Berlin, Boston: De Gruyter, (2014). [Google Scholar]
  • 32.Griffiths, R. I., Whiteley, A. S., O’Donnell, A. G. & Bailey, M. J. Rapid method for coextraction of DNA and RNA from natural environments for analysis of ribosomal DNA- and rRNA-based microbial community composition. Appl. Environ. Microbiol.66, 5488–5491 (2000). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Angel, R., Claus, P. & Conrad, R. Methanogenic archaea are globally ubiquitous in aerated soils and become active under wet anoxic conditions. ISME J.6, 847–862 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Sapkota, R. & Nicolaisen, M. High-throughput sequencing of nematode communities from total soil DNA extractions. BMC Ecol.15, 1–8 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Ahmed, M. et al. Metabarcoding of soil nematodes: the importance of taxonomic coverage and availability of reference sequences in choosing suitable marker(s). Metabarcoding Metagenom. 3, 77–99 (2019). [Google Scholar]
  • 36.Pjevac, P. et al. An economical and flexible dual barcoding, two-step PCR approach for highly multiplexed amplicon sequencing. Front. Microbiol.12, 669776 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Macheriotou, L. et al. Metabarcoding free-living marine nematodes using curated 18S and CO1 reference sequence databases for species-level taxonomic assignments. Ecol. Evol.9, 1211–1226 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Callahan, B. J. et al. DADA2: High-resolution sample inference from illumina amplicon data. Nat. Methods. 13, 581–583 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.R Core Team. R: A Language and environment for statistical computing. http://www.r-project.org
  • 40.Wang, Q., Garrity, G. M., Tiedje, J. M. & Cole, J. R. Naïve bayesian classifier for rapid assignment of rRNA sequences into the new bacterial taxonomy. Appl. Environ. Microbiol.73, 5261–5267 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Quast, C. et al. The SILVA ribosomal RNA gene database project: improved data processing and web-based tools. Nucleic Acids Res.41, 590–596 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.RStudio Team. RStudio: Integrated Development Environment for R. http://www.rstudio.com/ (2022).
  • 43.Andersen, K. S., Kirkegaard, R. H., Karst, S. M. & Albertsen, M. ampvis2: an R package to analyse and visualise 16S rRNA amplicon data. BioRxiv29953710.1101/299537 (2018).
  • 44.Oksanen, J. Vegan: ecological diversity. R Package Version 2.4-4 vol. 1, 11 https://cran.r-project.org/package=vegan (2017).
  • 45.Anderson, M. J. A new method for non-parametric multivariate analysis of variance. Austral Ecol. 32–46. 10.1111/j.1442-9993.2001.01070.pp.x (2001).
  • 46.Anderson, M. J., Ellingsen, K. E. & McArdle, B. H. Multivariate dispersion as a measure of beta diversity. Ecol. Lett.9, 683–693 (2006). [DOI] [PubMed] [Google Scholar]
  • 47.Ruess, L., Garcia Zapata, E. J. & Dighton, J. Food preferences of a fungal-feeding Aphelenchoides species. Nematology2, 223–230 (2000). [Google Scholar]
  • 48.Kanzaki, N. Description of Aphelenchoides xylocopae n. sp. (Nematoda: Aphelenchoididae), the first observed association between nematodes and carpenter bees. Nematology8, 555–562 (2006). [Google Scholar]
  • 49.Yeates, G. W., Bongers, T., De Goede, R. G. M., Freckman, D. W. & Georgieva, S. S. Feeding habits in soil nematode families and genera - An outline for soil ecologists. J. Nematol. 25, 315–331 (1993). [PMC free article] [PubMed] [Google Scholar]
  • 50.Bilgrami, A. L. Biological control potentials of predatory nematodes. In Integrated Management and Biocontrol of Vegetable and Grain Crops Nematodes 3–28. 10.1007/978-1-4020-6063-2_1 (2008).
  • 51.Zapałowska, A., Skwiercz, A., Tereba, A., Puchalski, C. & Malewski, T. Next-generation sequencing for evaluating the soil nematode diversity and its role in composting processes. Int. J. Mol. Sci.24, (2023). [DOI] [PMC free article] [PubMed]
  • 52.Steel, H. et al. Factors influencing the nematode community during composting and nematode-based criteria for compost maturity. Ecol. Indic.85, 409–421 (2018). [Google Scholar]
  • 53.Bongers, T. The maturity index, the evolution of nematode life history traits, adaptive radiation and cp-scaling. Plant. Soil.212, 13–22 (1999). [Google Scholar]
  • 54.Neher, D. A. Ecology of plant and free-living nematodes in natural and agricultural soil. Annu. Rev. Phytopathol.48, 371–394 (2010). [DOI] [PubMed] [Google Scholar]
  • 55.Zheng, L. et al. Unraveling the interaction effects of soil temperature and moisture on soil nematode community: a laboratory study. Eur. J. Soil. Biol.118, 103537 (2023). [Google Scholar]
  • 56.Lu, L. et al. Drought shifts soil nematodes to smaller size across biological scales. Soil. Biol. Biochem.184, 109099 (2023). [Google Scholar]
  • 57.Poinar, G. Nematode parasites and associates of ants: Past and present. Psyche (London) (2012).
  • 58.Trejo-Meléndez, V. J., Ibarra-Rendón, J. & Contreras-Garduño, J. The evolution of entomopathogeny in nematodes. Ecol. Evol. vol. 14, e10966. 10.1002/ece3.10966 (2024). [DOI] [PMC free article] [PubMed]
  • 59.Janet, C. Sur les nématodes des glandes pharyngiennes des fourmis (Pelodera sp). C R Acad. Sci.117, 700–703 (1893). [Google Scholar]
  • 60.Pereira, H., Jossart, M. & Detrain, C. Waste management by ants: the enhancing role of larvae. Anim. Behav.168, 187–198 (2020). [Google Scholar]
  • 61.Bronstein, J. L. Conditional outcomes in mutualistic interactions. Tree10, 301–317 (1994). [DOI] [PubMed] [Google Scholar]
  • 62.Gebremikael, M. T., Steel, H., Buchan, D., Bert, W. & De Neve, S. Nematodes enhance plant growth and nutrient uptake under C and N-rich conditions. Sci. Rep.6, 32862 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Jiang, Y. et al. Nematode grazing promotes bacterial community dynamics in soil at the aggregate level. ISME J.11, 2705–2717 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Neher, D. A., Weicht, T. R. & Barbercheck, M. E. Linking invertebrate communities to decomposition rate and nitrogen availability in pine forest soils. Appl. Soil. Ecol.54, 14–23 (2012). [Google Scholar]
  • 65.Ferris, H. Contribution of nematodes to the structure and function of the soil food web. J. Nematol. 42, 63–67 (2010). [PMC free article] [PubMed] [Google Scholar]
  • 66.Ferris, H., Venette, R. C. & Scow, K. M. Soil management to enhance bacterivore and fungivore nematode populations and their nitrogen mineralisation function. Appl. Soil. Ecol.25, (2004).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Material 1 (607.5KB, pdf)

Data Availability Statement

All sequence data (raw sequence reads and metadata) are accessible on NCBI under the BioProject accession number PRJNA777006. The 18S rRNA amplicon sequencing dataset and the R script generated in this study are available in the Figshare public repository at https://doi.org/10.6084/m9.figshare.c.7499025.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES