From bugs to β cells