Researchers are adopting the tools of bioinformatics and pharmaceuticals to study and interpret the ever-growing body of data on the interplay between diet and genes.