Ketogenic and other low-carbohydrate diets increase ALAS1 activity, leading to accumulation of heme precursors and risk of acute porphyria attacks; high-carbohydrate diets and avoidance of fasting are recommended. The gene discussed is ALAS1; the disease is porphyria.