in case of E.coli heat cold lysis can be use to degrade bacteria and this can be performed by taking a loop of culture in TE buffer and heating bacteria at 95 degree celcius in thermocycler for 20 min and colling it to 4 degree celcius for five min and then centrifuging to get dna in upper phase