Scientists in the U.S. and Mexico have mapped the DNA of several varieties, work that could help the fruit survive the effects of climate change.