Representation for Discovery of Protein Motifs