A new multiple testing procedure with applications to quantitative biology and wavelet thresholding