PT - JOURNAL ARTICLE AU - Ashlyn G. Anderson AU - Louis T. Bubrig AU - Janna L. Fierst TI - Environmental stress maintains trioecy in nematode worms AID - 10.1101/862664 DP - 2019 Jan 01 TA - bioRxiv PG - 862664 4099 - http://biorxiv.org/content/early/2019/12/03/862664.short 4100 - http://biorxiv.org/content/early/2019/12/03/862664.full AB - Sex is determined by chromosomes in mammals but it can be influenced by the environment in many worms, crustaceans and vertebrates. Despite this, there is little understanding of the relationship between ecology and the evolution of sexual systems. The nematode Auanema freiburgensis has a unique sex determination system in which individuals carrying one X chromosome develop into males while XX individuals develop into females in stress-free environments and self-fertile hermaphrodites in stressful environments. Theory predicts that trioecious populations with coexisting males, females and hermaphrodites should be unstable intermediates in evolutionary transitions between mating systems. In this article we study a mathematical model of reproductive evolution based on the unique life history and sex determination of A. freiburgensis. We develop the model in two scenarios, one where the relative production of hermaphrodites and females is entirely dependent on the environment and one based on empirical measurements of a population that displays incomplete, ‘leaky’ environmental dependence. In the first scenario environmental conditions can push the population along an evolutionary continuum and result in the stable maintenance of multiple reproductive systems. The second ‘leaky’ scenario results in the maintenance of three sexes for all environmental conditions. Theoretical investigations of reproductive system transitions have focused on the evolutionary costs and benefits of sex. Here, we show that the flexible sex determination system of A. freiburgensis may contribute to population-level resilience in the microscopic nematode’s patchy, ephemeral natural habitat. Our results demonstrate that life history, ecology and environment may play defining roles in the evolution of sexual systems.