Using Sampling Strategy to Assist Consensus Sequence Analysis