IDO activity is regulated by Mycobacterium infection and host gene polymorphisms, especially in IDO1 and IDO2, and the balance of their expression in TB. Here, IDO1 is linked to tuberculosis.