The serum levels of tryptophan (Trp) and its metabolites, IDO1 and IDO2 mRNA levels, and the relationship of IDO1 and IDO2 SNPs with the serum Kyn/Trp ratio in TB patients and healthy controls were examined by LC/ESI–MS/MS analysis. The gene discussed is IDO1; the disease is tuberculosis.