\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{motif} \PYG{o}{=} \PYG{n}{record}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{motif}\PYG{o}{.}\PYG{n}{degenerate\PYGZus{}consensus} \PYG{c+c1}{\PYGZsh{} Using the Bio.motifs.Motif property}
\PYG{g+go}{Seq(\PYGZsq{}SRACAGGTGKYG\PYGZsq{})}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{motif}\PYG{p}{[}\PYG{l+s+s2}{\PYGZdq{}ID\PYGZdq{}}\PYG{p}{]} \PYG{c+c1}{\PYGZsh{} Using motif as a dictionary}
\PYG{g+go}{\PYGZsq{}motif1\PYGZsq{}}
\end{Verbatim}
