Atypical histone H2A which can replace conventional H2A in some nucleosomes and is associated with active transcription and mRNA processing. Nucleosomes wrap and compact DNA into chromatin, limiting DNA accessibility to the cellular machineries which require DNA as a template. Histones thereby play a central role in transcription regulation, DNA repair, DNA replication and chromosomal stability. Nucleosomes containing this histone are less rigid and organize less DNA than canonical nucleosomes in vivo. They are enriched in actively transcribed genes and associate with the elongating form of RNA polymerase. They associate with spliceosome components and are required for mRNA splicing. May participate in spermatogenesis. {ECO:0000269|PubMed:15257289, ECO:0000269|PubMed:16287874, ECO:0000269|PubMed:16957777, ECO:0000269|PubMed:17591702, ECO:0000269|PubMed:17726088, ECO:0000269|PubMed:18329190, ECO:0000269|PubMed:22795134}. This is the function of H2AB2 (H2A.B variant histone 2, Ensembl gene identifier ENSG00000277858).