In a recent study, researchers analyzed DNA to create genetic risk scores for type 2 diabetes in 35,759 nurses and health professionals, then calculated each person's diet score over time.