A molecular subtyping associated with the cGAS-STING pathway provides novel perspectives on the treatment of ulcerative colitis. Here, CGAS is linked to ulcerative colitis.