Cool that was kind of my gut feel. I work in the food industry and I know that certain foods increase allergenicity on cooking, some reduce so I didn't want to assume. Thank you for increasing my knowledge!
Basically how denaturing proteins work is they are complicated structures and it is the shape which will cause the allergenicity I think. Denaturing them breaks the weak bonds (hydrogen bonds and other types) and untangles them making the structure completely different. Yep that makes sense to me! I like to understand stuff!