AVPR2 and infection: The objectives of this study were to conduct a comprehensive investigation of the DIR gene family in these two crops and explore the evolutionary relationship of the plant DIR gene family, and thereby, revealing the expression regulation patterns of DIR gene family members under pathogen infection.