The tryptophan synthase gene enables the bacteria to use indole as a substrate for tryptophan synthesis when the intracellular tryptophan is depleted by IDO induction during chlamydial infection. This evidence concerns the gene IDO1 and chlamydia trachomatis infectious disease.