Unexpectedly, we also found that IDO1 was protective against type 2 diabetes. Here, IDO1 is linked to type 2 diabetes mellitus.