We have used diffusive mixing and dielectrophoretic trapping to lyse Escherichia coli cells in a microfabricated environment and trap the E. coli chromosome. We characterize the conditions needed for efficient lysis of the cells, and conditions needed for the dielectrophoretic trapping of the chromatin without the trapping of cytoplasmic proteins.