\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{Align}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{aligner} \PYG{o}{=} \PYG{n}{Align}\PYG{o}{.}\PYG{n}{PairwiseAligner}\PYG{p}{()}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{aligner}\PYG{o}{.}\PYG{n}{match\PYGZus{}score}
\PYG{g+go}{1.0}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{aligner}\PYG{o}{.}\PYG{n}{mismatch\PYGZus{}score}
\PYG{g+go}{0.0}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{score} \PYG{o}{=} \PYG{n}{aligner}\PYG{o}{.}\PYG{n}{score}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACGT\PYGZdq{}}\PYG{p}{,}\PYG{l+s+s2}{\PYGZdq{}ACAT\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{print}\PYG{p}{(}\PYG{n}{score}\PYG{p}{)}
\PYG{g+go}{3.0}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{aligner}\PYG{o}{.}\PYG{n}{match\PYGZus{}score} \PYG{o}{=} \PYG{l+m+mf}{1.0}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{aligner}\PYG{o}{.}\PYG{n}{mismatch\PYGZus{}score} \PYG{o}{=} \PYG{o}{\PYGZhy{}}\PYG{l+m+mf}{2.0}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{aligner}\PYG{o}{.}\PYG{n}{gap\PYGZus{}score} \PYG{o}{=} \PYG{o}{\PYGZhy{}}\PYG{l+m+mf}{2.5}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{score} \PYG{o}{=} \PYG{n}{aligner}\PYG{o}{.}\PYG{n}{score}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ACGT\PYGZdq{}}\PYG{p}{,}\PYG{l+s+s2}{\PYGZdq{}ACAT\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{print}\PYG{p}{(}\PYG{n}{score}\PYG{p}{)}
\PYG{g+go}{1.0}
\end{Verbatim}
