A procedure for the preparation of bacterial DNA that employs dimethyl sulfoxide to induce the lysis of cells.