YEATS2 O-GlcNAcylation promotes chromatin association of the ATAC complex and lung cancer tumorigenesis. Here, YEATS2 is linked to lung cancer.