Plays a key role in the replacement of histones to protamine in the elongating spermatids of mammals. In condensing spermatids, loaded onto the nucleosomes, where it promotes the recruitment and processing of protamines, which are responsible for histone eviction. . This is the function of ENSG00000118245 (TNP1, transition protein 1).