Canadian researchers have identified a gene associated with allergy to peanuts.