Scientists have decoded the genome of black-eyed peas, offering hope for feeding Earth's expanding population, especially as the climate changes. Understanding the genes responsible for the peas' drought and heat tolerance eventually could help make other crops tougher too.