Statistics for Some string problems in computational biology