Constructing a Consensus Sequence from a Motif

Description

Various MEME Suite programs (including MEME) construct a consensus sequence to be used as a name for a motif. The consensus sequence provides a convenient way to refer to the motif, but is not intended to be used as a replacement for the motif for searching for matches in sequences or other purposes. You should use the actual motif (PSPM or PSSM representation contained in the MEME Motif Format) for those purposes.

Note: DREME motif names are regular expressions, not consensus sequences, and are not constructed in this way.

Algorithm