Generalized electrostatic model of the wrapping of DNA around oppositely charged proteins.