The molecular pathway for the allosteric regulation of tryptophan synthase