The function of UBAP2 (ubiquitin associated protein 2, Ensembl gene identifier ENSG00000137073) is as follows. Recruits the ubiquitination machinery to RNA polymerase II for polyubiquitination, removal and degradation, when the transcription-coupled nucleotide excision repair (TC-NER) machinery fails to resolve DNA damage (PubMed:35633597). May promote the degradation of ANXA2 (PubMed:27121050). {ECO:0000269|PubMed:27121050, ECO:0000269|PubMed:35633597}.