• Legumes represent an affordable high protein, nutrient dense food source. • Legume crops contain 7S globulin seed storage proteins that are known allergens. • Crystal structures of pea and lentil 7S globulins are reported for the first time. • 3D Ig epitope mapping revealed potential new and differential epitopes. • Prediction of seed storage Ig epitopes enables food security and human health.