Ovipositor morphology and mechanosensory innovation traits favor niche width expansion in Drosophila

Curation statements for this article:
  • Curated by eLife

    eLife logo

    eLife Assessment

    This important paper combines Drosophila behavior, morphology, and ecology to show that mechanosensory and morphological adaptations in Drosophila species can facilitate ecological niche expansions. The authors provide compelling evidence, supported by comparative experiments across ten species and functional genetic analyses. This work emphasizes the nuances of physical perception in modulating reproductive behavior, and it will be of significant interest to scientists interested in adaptation to different ecological conditions. However, calling D. suzukii a niche specialist is only weakly supported at this stage.

This article has been Reviewed by the following groups

Read the full article

Abstract

Ecological niche breadth is key factor associated with adaptive radiation and speciation. For most Drosophila species, the firm surface of intact ripe fruit acts as a physical barrier to oviposition, effectively restricting them to the saprophagous resources. How species overcome such mechanical constraints at the behavioral and sensory levels, and whether doing so leads to niche breadth expansion or niche specialization, remain poorly understood. Here, using comparative behavioral assays across ten Drosophila species, we show that substrate physical hardness is a critical barrier preventing most species from exploiting ripe fruit. Among species capable of puncture oviposition, there are two distinct evolutionary strategies among Drosophila species. With its serrated ovipositor and strong preference for fresh fruit, D. suzukii represents a case of ripe-fruit specialization. In contrast, D. immigrans with the needle-like ovipositor, gains access to fresh fruit while retaining the ability to exploit decaying substrates, thereby expanding its resource niche. Thus, D. suzukii considered as the typical evolutionary niche specialization, while D. immigrans represents niche expansion. Furthermore, using the genetic toolkit of D. melanogaster, we further identify the Inactive (IAV) mechanosensory channel as important regulator of stiffness-dependent oviposition inhibition. Loss of iav reduced inhibition on firm substrates, while cross-species rescue experiments showed that IAV orthologs differed in their ability to restore this response in a common genetic background. Puncture oviposition was also associated with successful offspring development on firm fruit and with the use of firm-surfaced hosts under natural conditions. Together, these findings identified a novel niche expansion of D. immigrans among the saprophagous Drosophila.

Article activity feed

  1. eLife Assessment

    This important paper combines Drosophila behavior, morphology, and ecology to show that mechanosensory and morphological adaptations in Drosophila species can facilitate ecological niche expansions. The authors provide compelling evidence, supported by comparative experiments across ten species and functional genetic analyses. This work emphasizes the nuances of physical perception in modulating reproductive behavior, and it will be of significant interest to scientists interested in adaptation to different ecological conditions. However, calling D. suzukii a niche specialist is only weakly supported at this stage.

  2. Reviewer #1 (Public review):

    Summary:

    This study investigates how behavioral, morphological, and mechanosensory traits contribute to the ability of Drosophila species to use firm, intact fruits as oviposition substrates. By comparing oviposition behavior across ten species, the authors confirmed D. suzukii and identified D. immigrans as two species that can overcome the mechanical barrier imposed by firm fruit surfaces despite belonging to distinct species groups and possessing markedly different ovipositor morphologies. The study further uses the genetic toolkit of D. melanogaster to identify iav as an important regulator of stiffness-dependent oviposition inhibition and examines functional differences among iav orthologs from D. melanogaster, D. suzukii, and D. immigrans. Finally, laboratory offspring-development assays and a field survey are used to relate these behavioral and mechanistic differences to fruit use in an ecological context.

    Strengths:

    A major strength of this study is its broad comparative framework. The authors examine oviposition behavior across ten Drosophila species and identify two distinct morphological strategies associated with the ability to use firm, intact fruits: the robust, serrated ovipositor of D. suzukii, which has been previously well-documented, and the elongated, needle-like ovipositor of D. immigrans, which was less studied. This provides an interesting example of distinct evolutionary solutions for overcoming a similar mechanical barrier.

    The functional genetic analysis in D. melanogaster is a strength. The identification of iav as a regulator of stiffness-dependent oviposition inhibition, together with loss-of-function, rescue, and neuronal-silencing experiments, provides a useful mechanistic link between mechanosensation and oviposition behavior. In particular, the cross-species rescue experiments using D. suzukii and D. immigrans iav orthologs in a common D. melanogaster mutant background provide an informative approach for testing functional differences among the orthologs while controlling for much of the broader species-specific genetic background.

    The study also makes a valuable effort to connect controlled laboratory observations to ecological patterns. The inclusion of offspring-development assays and field-collected substrates extends the study beyond laboratory oviposition assays and provides an interesting ecological context for the observed differences in fruit use.

    Weaknesses:

    It is inaccurate to characterize D. suzukii as a niche specialist. It is highly polyphagous, with hundreds of recorded hosts, and Figures 1, 2, and 6 indicate the most expanded, not narrowed, niche among the species examined. The only supporting result, in Figure S1, is aversion to rotten strawberry puree, which may have other explanations, such as bacterial effects. Without further evidence, the claim is unsupported.

    More broadly, "niche" should be defined more carefully. The experiments and results support differences in oviposition or breeding niche breadth but may not necessarily capture the broader ecological niche. Adult feeding-site preference, for example, represents another component of resource use and may not necessarily coincide with oviposition-site preference.

    The proposed distinction between relatively flexible chemical sensory tuning and a strict, non-substitutable mechanical barrier may also be more nuanced than currently presented.

    Interestingly, the iav results themselves show that loss of a single mechanosensory gene not only substantially reduces oviposition inhibition on stiff substrates but also enables puncture oviposition in D. melanogaster without a corresponding change in ovipositor morphology. Although specialized morphology likely improves penetration, this result shows that a simple genetic change can strongly alter the sensory or behavioral component of the mechanical barrier. This result somewhat complicates a strict distinction between flexible chemical tuning and mechanical constraint.

    The relationship between puncture oviposition and offspring success should be interpreted cautiously. Puncture oviposition likely facilitates access to fresh fruit, but species-specific larval traits may also affect development. Puncture-induced decay could facilitate later use by other saprophagous species while giving puncture-capable species an early advantage. Thus, the association does not establish puncture behavior as the primary determinant of larval success.

    The field survey supports the use of firm-surfaced fruits by D. suzukii and D. immigrans, but some ecological conclusions are stronger than the data support. Because local species composition and abundance are not reported, it is unclear whether their high recovery reflects preferential use of firm fruits or local abundance. The field observations are valuable, but the conclusion that mechanical capability directly produces niche partitioning in the wild requires more cautious interpretation.

  3. Reviewer #2 (Public review):

    Summary:

    This paper investigates how physical perception and morphology are integrated to determine what kinds of substrates different species of insects, here flies, prefer for laying their eggs. These questions have far-ranging implications, in particular because the authors include Drosophila suzukii, a lineage of Drosophila that has made the transition from rotting to fresh fruit and therefore functions as a significant agricultural pest. Through careful experimentation, the authors show that individual components of oviposition behavior, including chemosensory and physical perception of substrate stiffness, vary across ten species, creating unique responses in each. By integrating functional and fitness experiments, the authors provide evidence linking these differences to morphology, genetics, and the neural basis of behavior.

    Strengths:

    A significant strength of the paper is the elegant simplicity of the experiments. Even though many of these species have been studied for decades in the laboratory, there is still much to learn from straightforward observations of their behavior under different conditions. The authors show that there are species-specific responses to the physical perception of stiffness (something often overlooked in studies of oviposition preference), that these responses are associated with fruit ripeness, but that they can be successfully separated from chemosensory signals in the laboratory. They further show that the morphology of the egg-laying machinery, in particular the ovipositor, has implications for the success of these preferences, as it allows some species to successfully pierce the skin of ripe fruits, with the result that larvae are able to feed and develop into adult flies. Finally, they show that differences in behavior in response to stiffness are in part associated with apparent differences in the function of key genes (e.g., iav). When iav sequences from D. immigrans or D. suzukii are expressed in D. melanogaster, they do not fully rescue the stiffness-dependent oviposition phenotype.

    Weaknesses:

    The weaknesses of the paper are largely in the interpretation of these results. Cross-species studies such as these, especially in Drosophila, face challenges in interpreting the evolutionary and ecological basis of observed behaviors. This is in part because we often consider these species in isolation from their natural environments and phylogenetic context. The authors attempt to tackle this problem by examining adult emergence from substrates collected in the wild, and their results are broadly consistent with what is suggested by the laboratory assays.

    However, some of the most interesting and complex aspects of their results remain insufficiently explored. For example, across their assays of physical and chemical preferences for oviposition, they find that:

    (1) D. suzukii has a clear preference for ripe fruit and reduced avoidance of stiff substrates, representing a substantial shift in niche use.

    (2) D. immigrans is capable of using ripe fruit as a substrate but shows nearly no preference between ripe and rotten fruit or between stiff and soft substrates.

    (3) D. biarmipes shows a preference for ripe-fruit chemical cues and will lay eggs on ripe fruits, despite a strong aversion to stiff agarose substrates.

    (4) D. mercatorum will likewise lay eggs on ripe fruits and stiff substrates, predominantly on the surface, but has a clear preference for other options.

    (5) D. quadrilineata, like D. immigrans, has the ovipositor morphology required to successfully lay eggs in ripe and stiff substrates but shows a strong preference for rotten fruit and soft substrates.

    A major result communicated through these experiments is therefore that multiple inputs must be integrated to determine oviposition behavior, and that each species appears to weigh these inputs differently. The diversity of these responses is itself one of the most interesting findings of the study, but the authors' focus on a binary interpretation of niche specialization obscures this variation rather than embracing it.

    The field ecology data provide useful evidence of natural host associations, but the reported sampling information limits their interpretation. Without information on sampling effort, host availability, and fruit ripeness and damage at collection, it is difficult to establish differences in niche breadth or exclusion from particular hosts. Adult emergence also does not reveal whether females laid eggs through intact skin or used previously damaged or decaying fruit. These results are therefore consistent with the laboratory observations, but do not establish that mechanical access determines ecological partitioning or reduces competition in the wild.

    More generally, it is difficult in studies comparing species that have been maintained for generations under laboratory conditions to interpret variation in behaviors observed in the laboratory. We expect differences across species because they have distinct genomes, ecologies, and evolutionary histories. Moreover, some species may have spent many more generations under laboratory conditions than others, and standard laboratory conditions were largely designed around some species (particularly D. melanogaster) rather than others. This makes it difficult to establish the extent to which differences in oviposition reflect biologically meaningful differences in preference that might allow them to function within a specific niche. For example, it may not be helpful to compare absolute oviposition rates under the same experimental conditions given that species differ in the number of ovarioles in their ovaries, rates of oogenesis, metabolism, and other aspects of reproductive biology. Within-species choice assays partly account for differences in egg production, although relative preferences may still depend on multiple aspects of reproductive biology and the options provided. Even so, it is valuable to see how these species behave under the same experimental conditions, if only to establish a comparative baseline.

    One direction in which this work could point in the future is toward investigating the ecology of these flies under the conditions in which their traits were likely to have evolved. These traits presumably arose in ecosystems where competition and interactions with other species were important components of fitness, yet under laboratory conditions these factors are largely removed and therefore invisible. Some of the summary statements in the manuscript also reflect a tendency to interpret species in terms of niche specialization versus niche expansion ("generalism"), when in reality these species are responding to multiple stimuli, and their observed behavior reflects only one component of their potential niche use. Placing the diversity of behavioral responses documented here into a broader ecological and evolutionary context would therefore strengthen the interpretation of an already valuable comparative dataset.

  4. Reviewer #3 (Public review):

    Summary:

    This study examines how mechanosensory and morphological adaptations allow Drosophila species to overcome the mechanical barrier of intact ripe fruit and expand their ecological niches. The authors combine comparative behavior, morphology, genetics, and field surveys, and identify the mechanosensory channel IAV as a contributor to species differences in stiffness-dependent oviposition. The findings have broad implications for evolutionary ecology and agriculture. The data are compelling, and the evidence supporting the major conclusions is strong.

    Strengths:

    The morphological and behavioral comparisons across ten species and different food substrates are exceptionally comprehensive and provide a rich phylogenetic context. The experimental design is careful and rigorous; for example, the authors first measured the biologically relevant range of fruit stiffness and then used corresponding agarose concentrations to test stiffness-dependent oviposition. The screening of candidate mechanosensory receptors is comprehensive, and the iav loss-of-function and cross-species rescue experiments provide particularly strong evidence for functional divergence in mechanosensation. In addition to all these strengths, I was also impressed by the tour-de-force field survey. Demonstrating ecological relevance can be challenging and is frequently missing from mechanistic studies of behavioral evolution. Here, the field data directly connect laboratory phenotypes with natural resource use and substantially strengthen the ecological significance of the study.

    Weaknesses:

    I do not identify any major limitations, but the manuscript would benefit from a few methodological clarifications. The exact nature of the iav transgenic constructs should be clarified, as this affects the interpretation of the molecular mechanisms (e.g., coding versus non-coding). In addition, the field study would benefit from more complete documentation of the sampling sites and sample sizes.

  5. Author response:

    Public Reviews:

    Reviewer #1 (Public review):

    Summary:

    This study investigates how behavioral, morphological, and mechanosensory traits contribute to the ability of Drosophila species to use firm, intact fruits as oviposition substrates. By comparing oviposition behavior across ten species, the authors confirmed D. suzukii and identified D. immigrans as two species that can overcome the mechanical barrier imposed by firm fruit surfaces despite belonging to distinct species groups and possessing markedly different ovipositor morphologies. The study further uses the genetic toolkit of D. melanogaster to identify iav as an important regulator of stiffness-dependent oviposition inhibition and examines functional differences among iav orthologs from D. melanogaster, D. suzukii, and D. immigrans. Finally, laboratory offspring-development assays and a field survey are used to relate these behavioral and mechanistic differences to fruit use in an ecological context.

    Strengths:

    A major strength of this study is its broad comparative framework. The authors examine oviposition behavior across ten Drosophila species and identify two distinct morphological strategies associated with the ability to use firm, intact fruits: the robust, serrated ovipositor of D. suzukii, which has been previously well-documented, and the elongated, needle-like ovipositor of D. immigrans, which was less studied. This provides an interesting example of distinct evolutionary solutions for overcoming a similar mechanical barrier.

    The functional genetic analysis in D. melanogaster is a strength. The identification of iav as a regulator of stiffness-dependent oviposition inhibition, together with loss-of-function, rescue, and neuronal-silencing experiments, provides a useful mechanistic link between mechanosensation and oviposition behavior. In particular, the cross-species rescue experiments using D. suzukii and D. immigrans iav orthologs in a common D. melanogaster mutant background provide an informative approach for testing functional differences among the orthologs while controlling for much of the broader species-specific genetic background.

    The study also makes a valuable effort to connect controlled laboratory observations to ecological patterns. The inclusion of offspring-development assays and field-collected substrates extends the study beyond laboratory oviposition assays and provides an interesting ecological context for the observed differences in fruit use.

    Weaknesses:

    It is inaccurate to characterize D. suzukii as a niche specialist. It is highly polyphagous, with hundreds of recorded hosts, and Figures 1, 2, and 6 indicate the most expanded, not narrowed, niche among the species examined. The only supporting result, in Figure S1, is aversion to rotten strawberry puree, which may have other explanations, such as bacterial effects. Without further evidence, the claim is unsupported.

    More broadly, "niche" should be defined more carefully. The experiments and results support differences in oviposition or breeding niche breadth but may not necessarily capture the broader ecological niche. Adult feeding-site preference, for example, represents another component of resource use and may not necessarily coincide with oviposition-site preference.

    We thank the reviewer and agree that niche specialist requires a more precise definition. Our original intention was to distinguish specialization in host-plant species from differences in the stage of fruit development used for oviposition. Fruit ripening represents an ecological resource axis of oviposition site selection rather than a narrow ecological niche. Furthermore, aversion to rotten fruit may reflect microbial effects rather than standalone evidence of specialization. In the revised manuscript, we will: (1) explicitly define our scope as oviposition and breeding niche breadth; (2) reframe D. suzukii as exhibiting an oviposition preference shift along the ripening axis rather than general specialization; (3) calibrate broad niche terminology throughout the text.

    The proposed distinction between relatively flexible chemical sensory tuning and a strict, non-substitutable mechanical barrier may also be more nuanced than currently presented.

    Interestingly, the iav results themselves show that loss of a single mechanosensory gene not only substantially reduces oviposition inhibition on stiff substrates but also enables puncture oviposition in D. melanogaster without a corresponding change in ovipositor morphology. Although specialized morphology likely improves penetration, this result shows that a simple genetic change can strongly alter the sensory or behavioral component of the mechanical barrier. This result somewhat complicates a strict distinction between flexible chemical tuning and mechanical constraint.

    We thank the reviewer for this comment and agree that the distinction between chemical and mechanical constraints warrants a more nuanced presentation. As the reviewer points out, loss of inactive (iav) in D. melanogaster not only abolishes egg-laying aversion on stiff agarose, but permits puncture oviposition on intact fruit without morphological changes (Figure 4C–D). This proves that the physical barrier is actively gated by the mechanosensory nervous system. However, morphology remains critical for efficiency: iav mutants exhibit a modest puncture frequency (18–35%) compared to ~100% in D. suzukii (Figure 4C vs. 3B). Thus, sensory gating and morphological machinery operate in tandem. In the revised manuscript, we will clarify this distinction, preserving the ecological concept of non-substitutable mechanical constraints and further write discussion about this.

    The relationship between puncture oviposition and offspring success should be interpreted cautiously. Puncture oviposition likely facilitates access to fresh fruit, but species-specific larval traits may also affect development. Puncture-induced decay could facilitate later use by other saprophagous species while giving puncture-capable species an early advantage. Thus, the association does not establish puncture behavior as the primary determinant of larval success.

    We thank the reviewer for this point. While puncturing intact fruit skin facilitates physical entry and accelerates localized tissue softening, successful development to adulthood also depends on species-specific larval traits and temporal changes in fruit condition. Furthermore, as noted, puncture-induced decay can eventually open the substrate to secondary saprophagous species, indicating that puncture behavior primarily provides a temporal priority advantage on fresh fruit rather than serving as the sole driver of larval survival. In the revised manuscript, we will avoid framing puncture oviposition as the determinant of offspring success. We will revise the results and discussion part to present it as a mechanism that facilitates early access to intact fruit resources, and acknowledge how species-specific larval performance, successional decay dynamics, and interactions with subsequent colonizers jointly shape developmental outcomes.

    The field survey supports the use of firm-surfaced fruits by D. suzukii and D. immigrans, but some ecological conclusions are stronger than the data support. Because local species composition and abundance are not reported, it is unclear whether their high recovery reflects preferential use of firm fruits or local abundance. The field observations are valuable, but the conclusion that mechanical capability directly produces niche partitioning in the wild requires more cautious interpretation.

    We thank the reviewer for raising this point and agree that local species abundance is an important factor when interpreting field collection patterns. A high recovery of D. suzukii and D. immigrans from firm-surfaced fruits could reflect their overall local abundance rather than preferential use of these substrates. In addition, adult emergence records alone cannot establish that mechanical ability directly produces niche partitioning in the wild. To address this, we will present additional data on overall fly abundance and species composition to the revised field survey results. Comparing each species' total abundance with its recovery across fruits of different surface firmness will help assess whether the observed patterns reflect differences in local population size or align with distinct substrate use. We will also moderate our ecological conclusions to state that the field observations are consistent with our laboratory findings.

    Reviewer #2 (Public review):

    Summary:

    This paper investigates how physical perception and morphology are integrated to determine what kinds of substrates different species of insects, here flies, prefer for laying their eggs. These questions have far-ranging implications, in particular because the authors include Drosophila suzukii, a lineage of Drosophila that has made the transition from rotting to fresh fruit and therefore functions as a significant agricultural pest. Through careful experimentation, the authors show that individual components of oviposition behavior, including chemosensory and physical perception of substrate stiffness, vary across ten species, creating unique responses in each. By integrating functional and fitness experiments, the authors provide evidence linking these differences to morphology, genetics, and the neural basis of behavior.

    Strengths:

    A significant strength of the paper is the elegant simplicity of the experiments. Even though many of these species have been studied for decades in the laboratory, there is still much to learn from straightforward observations of their behavior under different conditions. The authors show that there are species-specific responses to the physical perception of stiffness (something often overlooked in studies of oviposition preference), that these responses are associated with fruit ripeness, but that they can be successfully separated from chemosensory signals in the laboratory. They further show that the morphology of the egg-laying machinery, in particular the ovipositor, has implications for the success of these preferences, as it allows some species to successfully pierce the skin of ripe fruits, with the result that larvae are able to feed and develop into adult flies. Finally, they show that differences in behavior in response to stiffness are in part associated with apparent differences in the function of key genes (e.g., iav). When iav sequences from D. immigrans or D. suzukii are expressed in D. melanogaster, they do not fully rescue the stiffness-dependent oviposition phenotype.

    Weaknesses:

    The weaknesses of the paper are largely in the interpretation of these results. Cross-species studies such as these, especially in Drosophila, face challenges in interpreting the evolutionary and ecological basis of observed behaviors. This is in part because we often consider these species in isolation from their natural environments and phylogenetic context. The authors attempt to tackle this problem by examining adult emergence from substrates collected in the wild, and their results are broadly consistent with what is suggested by the laboratory assays.

    However, some of the most interesting and complex aspects of their results remain insufficiently explored. For example, across their assays of physical and chemical preferences for oviposition, they find that:

    (1) D. suzukii has a clear preference for ripe fruit and reduced avoidance of stiff substrates, representing a substantial shift in niche use.

    (2) D. immigrans is capable of using ripe fruit as a substrate but shows nearly no preference between ripe and rotten fruit or between stiff and soft substrates.

    (3) D. biarmipes shows a preference for ripe-fruit chemical cues and will lay eggs on ripe fruits, despite a strong aversion to stiff agarose substrates.

    (4) D. mercatorum will likewise lay eggs on ripe fruits and stiff substrates, predominantly on the surface, but has a clear preference for other options.

    (5) D. quadrilineata, like D. immigrans, has the ovipositor morphology required to successfully lay eggs in ripe and stiff substrates but shows a strong preference for rotten fruit and soft substrates.

    A major result communicated through these experiments is therefore that multiple inputs must be integrated to determine oviposition behavior, and that each species appears to weigh these inputs differently. The diversity of these responses is itself one of the most interesting findings of the study, but the authors' focus on a binary interpretation of niche specialization obscures this variation rather than embracing it.

    We thank the reviewer for these thoughtful comments and detailed suggestions. We agree that the behavioral strategies exhibited by these five species are much more varied than a simple binary framework of niche specialization versus expansion can capture. As the reviewer noted, the distinct patterns across D. suzukii, D. immigrans, D. biarmipes, D. mercatorum, and D. quadrilineata highlight an important distinction between the capacity to use a resource and the behavioral preference for it. Having the morphological ability to pierce firm skin does not necessarily translate into a preference for ripe fruit, just as attraction to favorable chemical cues does not always overcome mechanical barriers. Instead, each species integrates and weighs these sensory and physical inputs differently during egg-laying decisions. In the revised manuscript, we will avoid categorizing species simply as specialists or generalists based on single assays. We will reorganize the Discussion around the integration of chemical cues, mechanosensory responses, and ovipositor morphology, emphasizing how their different weightings lead to diverse strategies for accessing and using breeding substrates.

    The field ecology data provide useful evidence of natural host associations, but the reported sampling information limits their interpretation. Without information on sampling effort, host availability, and fruit ripeness and damage at collection, it is difficult to establish differences in niche breadth or exclusion from particular hosts. Adult emergence also does not reveal whether females laid eggs through intact skin or used previously damaged or decaying fruit. These results are therefore consistent with the laboratory observations, but do not establish that mechanical access determines ecological partitioning or reduces competition in the wild.

    We thank the reviewer for noting that our field survey provides useful evidence of natural host associations, and we agree with the limitations raised regarding our sampling information. In the revised manuscript, we will moderate our conclusions to reflect these limits. We will state that our field data demonstrate natural host associations and successful development in the sampled substrates, rather than direct evidence of puncture oviposition or mechanically driven niche partitioning. We will also note in the Discussion that testing whether mechanical traits partition niches or reduce competition in the wild will require future studies.

    More generally, it is difficult in studies comparing species that have been maintained for generations under laboratory conditions to interpret variation in behaviors observed in the laboratory. We expect differences across species because they have distinct genomes, ecologies, and evolutionary histories. Moreover, some species may have spent many more generations under laboratory conditions than others, and standard laboratory conditions were largely designed around some species (particularly D. melanogaster) rather than others. This makes it difficult to establish the extent to which differences in oviposition reflect biologically meaningful differences in preference that might allow them to function within a specific niche. For example, it may not be helpful to compare absolute oviposition rates under the same experimental conditions given that species differ in the number of ovarioles in their ovaries, rates of oogenesis, metabolism, and other aspects of reproductive biology. Within-species choice assays partly account for differences in egg production, although relative preferences may still depend on multiple aspects of reproductive biology and the options provided. Even so, it is valuable to see how these species behave under the same experimental conditions, if only to establish a comparative baseline.

    We thank the reviewer for raising this point and agree that laboratory rearing history and species-specific reproductive physiology are important considerations in comparative behavioral studies. Drosophilid species differ in ovariole number, oogenesis rate, metabolism, and adaptation to lab culture, and standard laboratory conditions do not represent optimal environments for every species. We recognize that these baseline differences can affect absolute egg-laying rates and potentially influence behavioral responses. For this reason, we avoid using absolute egg counts to define reproductive capacity across species. Even so, testing all species under standardized conditions provides a useful comparative baseline for how they respond to identical chemical and mechanical cues, and within-species choice assays help assess relative egg allocation while partly accounting for differences in overall egg production. At the same time, we understand that relative preferences remain context-dependent and can be influenced by the specific options offered, physiological state, and mating experience. In the revised manuscript, we will explicitly discuss these methodological limitations and avoid equating laboratory egg-laying rates directly with reproductive performance or ecological preference in nature.

    One direction in which this work could point in the future is toward investigating the ecology of these flies under the conditions in which their traits were likely to have evolved. These traits presumably arose in ecosystems where competition and interactions with other species were important components of fitness, yet under laboratory conditions these factors are largely removed and therefore invisible. Some of the summary statements in the manuscript also reflect a tendency to interpret species in terms of niche specialization versus niche expansion ("generalism"), when in reality these species are responding to multiple stimuli, and their observed behavior reflects only one component of their potential niche use. Placing the diversity of behavioral responses documented here into a broader ecological and evolutionary context would therefore strengthen the interpretation of an already valuable comparative dataset.

    We thank the reviewer for this thoughtful perspective. In nature, the suitability of a breeding substrate depends not only on its physical and chemical properties, but also on its accessibility, nutrient content, microbial communities, and prior occupancy by conspecifics or other species. We also recognize that laboratory behavior reflects one component of how flies integrate multiple stimuli, and that mechanical access alone does not determine ecological differentiation. While the ability to puncture intact fruit skin provides an early opportunity to use fresh resources before saprophagous species colonize, whether this translates into reproductive success also depends on larval performance, resource competition, and the timing of fruit decay. Subsequent softening and decay after puncturing can open the substrate to later colonizers, further shaping final reproductive outcomes. In the revised manuscript, we will moderate summary statements that frame species strictly in terms of niche specialization versus expansion. Instead, we will expand the Discussion to place our findings within this broader ecological and evolutionary context, treating mechanical access as one component of breeding resource use and noting the importance of future studies examining oviposition behavior, competition, and offspring fitness under more natural conditions.

    Reviewer #3 (Public review):

    Summary:

    This study examines how mechanosensory and morphological adaptations allow Drosophila species to overcome the mechanical barrier of intact ripe fruit and expand their ecological niches. The authors combine comparative behavior, morphology, genetics, and field surveys, and identify the mechanosensory channel IAV as a contributor to species differences in stiffness-dependent oviposition. The findings have broad implications for evolutionary ecology and agriculture. The data are compelling, and the evidence supporting the major conclusions is strong.

    Strengths:

    The morphological and behavioral comparisons across ten species and different food substrates are exceptionally comprehensive and provide a rich phylogenetic context. The experimental design is careful and rigorous; for example, the authors first measured the biologically relevant range of fruit stiffness and then used corresponding agarose concentrations to test stiffness-dependent oviposition. The screening of candidate mechanosensory receptors is comprehensive, and the iav loss-of-function and cross-species rescue experiments provide particularly strong evidence for functional divergence in mechanosensation. In addition to all these strengths, I was also impressed by the tour-de-force field survey. Demonstrating ecological relevance can be challenging and is frequently missing from mechanistic studies of behavioral evolution. Here, the field data directly connect laboratory phenotypes with natural resource use and substantially strengthen the ecological significance of the study.

    Weaknesses:

    I do not identify any major limitations, but the manuscript would benefit from a few methodological clarifications. The exact nature of the iav transgenic constructs should be clarified, as this affects the interpretation of the molecular mechanisms (e.g., coding versus non-coding). In addition, the field study would benefit from more complete documentation of the sampling sites and sample sizes.

    We appreciate the reviewer’s suggestions, which will help improve the methodological clarity and reproducibility of our study. Regarding the iav transgenic constructs, we clarify that the constructs used in this study contain the coding sequence (CDS) of iav, rather than its non-coding regions. We will provide a clearer description of the construct design and the relevant molecular details in the revised manuscript to facilitate interpretation of the underlying molecular mechanisms.

    We also agree that more complete documentation of the field survey would improve the transparency and reproducibility of the study. We will therefore provide more detailed information on the sampling locations and sample sizes, including the relevant details in the Methods section and supplementary materials.