Activation of brain indoleamine 2,3-dioxygenase contributes to epilepsy-associated depressive-like behavior in rats with chronic temporal lobe epilepsy. Here, IDO2 is linked to epilepsy.