\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio.Seq} \PYG{k+kn}{import} \PYG{n}{Seq}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio.SeqRecord} \PYG{k+kn}{import} \PYG{n}{SeqRecord}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{shuffled\PYGZus{}rec} \PYG{o}{=} \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}\PYGZdq{}}\PYG{o}{.}\PYG{n}{join}\PYG{p}{(}\PYG{n}{nuc\PYGZus{}list}\PYG{p}{),} \PYG{n}{original\PYGZus{}rec}\PYG{o}{.}\PYG{n}{seq}\PYG{o}{.}\PYG{n}{alphabet}\PYG{p}{),}
\PYG{g+gp}{... }                         \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Shuffled\PYGZdq{}}\PYG{p}{,} \PYG{n}{description}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Based on }\PYG{l+s+si}{\PYGZpc{}s}\PYG{l+s+s2}{\PYGZdq{}} \PYG{o}{\PYGZpc{}} \PYG{n}{original\PYGZus{}rec}\PYG{o}{.}\PYG{n}{id}\PYG{p}{)}
\PYG{g+gp}{...}
\end{Verbatim}
