Mutualism and asexual reproduction influence recognition genes in a fungal symbiont.