Reversible regulation of the supramolecular chirality of a cyanine dye by using the G-quadruplex structure as a template.