Identification of degenerate motifs using position restricted selection and hybrid ranking combination