The ability to produce transgenes for Caenorhabditis elegans using genomic DNA carried by fosmids is particularly attractive as all of the native regulatory elements are retained. Described is a simple and robust procedure for the production of transgenes via recombineering with the galK selectable marker.