Improved pest resistance and drought tolerance are among potential benefits of an international effort which has produced the clearest picture yet of the complex genomic history of the cultivated peanut.