The findings come from a huge project to compare modern DNA with that culled from ancient humans’ teeth and bones.