A detailed protocol for bacterial artificial chromosome recombineering to study essential genes in stem cells.