Utilization of ammonia for tryptophan synthesis