Water treatment using a laboratory-grown biopolymer