Researchers developed an algorithm that maps human genetic diversity and ancestry to better understand population history.