The algorithm discovers novel functional linear motifs within sets of unaligned protein sequences using a greedy approach. It identifies overrepresented short sequences or "motifs" that may mediate protein-protein interactions. The algorithm is tested on known motifs from databases, showing it can correctly identify several known motifs. As a case study, the algorithm extracts a putative nucleolar localization motif present in nucleolar proteins including the N-terminus of protein MAGE-B2, explaining its nucleolar localization.