A method of removing a part of a transgene after its integration into a genome comprising flanking the part of the transgene on each side with an attachment P region (attP) of bacteriophage lambda and inducing intrachromasomal homologous recombination between the flanking attP regions so that the part of the transgene sandwiched between the attP regions is removed.