Populations in African countries have much more genetic variation than previously thought. We sequenced the DNA of 400 individuals and showed how people moved and interacted both with each other and with their environment in the past. Our findings, including both old and newly discovered gene variants, have deep implications for the future of genetics in medicine.