HMBS and metabolic disease: Acute intermittent porphyria (AIP) is a rare inherited metabolic disorder caused by decreased activity of the enzyme porphobilinogen deaminase in the heme synthesis pathway.