Involved in mitotic nuclear envelope reassembly by promoting dephosphorylation of BAF/BANF1 during mitotic exit (PubMed:22770216). Coordinates the control of BAF/BANF1 dephosphorylation by inhibiting VRK1 kinase and promoting dephosphorylation of BAF/BANF1 by protein phosphatase 2A (PP2A), thereby facilitating nuclear envelope assembly (PubMed:22770216). May regulate nuclear localization of VRK1 in non-dividing cells (PubMed:31735666). It is unclear whether it acts as a real PP2A regulatory subunit or whether it is involved in recruitment of the PP2A complex (PubMed:22770216). Involved in brain development (PubMed:25259927). Interacts with BAF/BANF1. Interacts with protein phosphatase 2A (PP2A) components PPP2C (PPP2CA or PPP2CB) and PPP2R1A. (Microbial infection) May interact with non-structural protein 4A/NS4A from Zika virus strains Mr-766 or French Polynesia 10087PF/2013; the interaction may inhibit ANKLE2 function and contribute to defects in brain development, such as microcephaly. The disease is caused by variants affecting the gene represented in this entry. Belongs to the ANKLE2 family. Truncated N-terminus.