Rational design of a structure-switching DNA aptamer for potassium ions