mating type switching
The conversion of a single-cell organism from one mating type to another by the precise replacement of a DNA sequence at the expressed mating type locus with a copy of a sequence from a donor locus.
GO:0007533 · biological process
Also called: mating type switching and recombination