Proteins often contain multiple domains that can exert different cellular functions. Gene knock-outs (KO) do not consider this functional diversity. Here, we report a recombination-mediated cassette exchange (RMCE)-based structure-function approach in KO embryonic stem cells that allows for the molecular dissection of various functional domains or variants of a protein.