\begin{Verbatim}[commandchars=\\\{\}]
\PYG{k+kn}{from} \PYG{n+nn}{Bio.Alphabet} \PYG{k+kn}{import} \PYG{n}{generic\PYGZus{}dna}
\PYG{k+kn}{from} \PYG{n+nn}{Bio.Seq} \PYG{k+kn}{import} \PYG{n}{Seq}
\PYG{k+kn}{from} \PYG{n+nn}{Bio.SeqRecord} \PYG{k+kn}{import} \PYG{n}{SeqRecord}
\PYG{k+kn}{from} \PYG{n+nn}{Bio.Align} \PYG{k+kn}{import} \PYG{n}{MultipleSeqAlignment}

\PYG{n}{align1} \PYG{o}{=} \PYG{n}{MultipleSeqAlignment}\PYG{p}{(}
    \PYG{p}{[}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACTGCTAGCTAG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Alpha\PYGZdq{}}\PYG{p}{),}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACT\PYGZhy{}CTAGCTAG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Beta\PYGZdq{}}\PYG{p}{),}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACTGCTAGDTAG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Gamma\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{]}
\PYG{p}{)}

\PYG{n}{align2} \PYG{o}{=} \PYG{n}{MultipleSeqAlignment}\PYG{p}{(}
    \PYG{p}{[}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}GTCAGC\PYGZhy{}AG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Delta\PYGZdq{}}\PYG{p}{),}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}GACAGCTAG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Epsilon\PYGZdq{}}\PYG{p}{),}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}GTCAGCTAG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Zeta\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{]}
\PYG{p}{)}

\PYG{n}{align3} \PYG{o}{=} \PYG{n}{MultipleSeqAlignment}\PYG{p}{(}
    \PYG{p}{[}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACTAGTACAGCTG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Eta\PYGZdq{}}\PYG{p}{),}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACTAGTACAGCT\PYGZhy{}\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Theta\PYGZdq{}}\PYG{p}{),}
        \PYG{n}{SeqRecord}\PYG{p}{(}\PYG{n}{Seq}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}\PYGZhy{}CTACTACAGGTG\PYGZdq{}}\PYG{p}{,} \PYG{n}{generic\PYGZus{}dna}\PYG{p}{),} \PYG{n+nb}{id}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Iota\PYGZdq{}}\PYG{p}{),}
    \PYG{p}{]}
\PYG{p}{)}

\PYG{n}{my\PYGZus{}alignments} \PYG{o}{=} \PYG{p}{[}\PYG{n}{align1}\PYG{p}{,} \PYG{n}{align2}\PYG{p}{,} \PYG{n}{align3}\PYG{p}{]}
\end{Verbatim}
