Ancient populations in the Andes of Peru adapted to their high-altitude environment and the introduction of agriculture in ways distinct from other global populations that faced similar circumstances.