Statistics for 2-Aminopurine-modified DNA homopolymers for robust and sensitive detection of mercury and silver