This sort of approach is known as Genome Wide Association study, finding the correlation of hundreds or thousands of genes that will predict a trait: https://en.wikipedia.org/wiki/Genome-wide_association_study
If you are interested in the topic, I recommend https://en.wikipedia.org/wiki/Blueprint_(book)