Apart from the protocol form Vinay Rao and the suggestion from Cosmic Sicora, you can use DNA extraction kits. In the case of mucilaginous freshwater cyanobacteria, I recommend you to use DNA Power Biofilm kit by MoBio, it is very easy to use. Good Luck