Highly dynamic evolution of the chemosensory gene repertoire driven by gene gain and expansion across subterranean beetles

Chemical cues in subterranean habitats differ highly from those on the surface due to the contrasting environmental conditions, such as absolute darkness, high humidity or food scarcity. Subterranean animals underwent changes to their sensory systems to facilitate the perception of essential stimuli for underground lifestyles. Despite representing unique systems to understand biological adaptation, the genomic basis of chemosensation across cave-dwelling species remains unexplored from a macroevolutionary perspective. Here, we explore the evolution of chemoreception in three beetle tribes that underwent at least six independent transitions to the underground through a phylogenomics spyglass. Our findings suggest that the chemosensory gene repertoire varies dramatically between species. Overall, no parallel changes in the net rate of evolution of chemosensory gene families were detected prior, during, or after the habitat shift among subterranean lineages. Contrarily, we found evidence of lineage-specific changes within surface and subterranean lineages. Our results reveal key duplications and losses shared between some of the lineages transitioning to the underground, including the loss of sugar receptors and gene duplications of the highly conserved ionotropic receptors IR25a and IR8a, involved in thermal and humidity sensing among other olfactory roles in insects. These duplications were detected both in independent subterranean lineages and their surface relatives, suggesting parallel evolution of these genes across lineages giving rise to cave-dwelling species. Overall, our results shed light on the genomic basis of chemoreception in subterranean beetles and contribute to deepen our understanding of the genomic underpinnings of adaptation to the subterranean lifestyle at a macroevolutionary scale.