\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio.Blast} \PYG{k+kn}{import} \PYG{n}{NCBIWWW}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{SeqIO}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record} \PYG{o}{=} \PYG{n}{SeqIO}\PYG{o}{.}\PYG{n}{read}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}m\PYGZus{}cold.fasta\PYGZdq{}}\PYG{p}{,} \PYG{n}{format}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}fasta\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{result\PYGZus{}handle} \PYG{o}{=} \PYG{n}{NCBIWWW}\PYG{o}{.}\PYG{n}{qblast}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}blastn\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}nt\PYGZdq{}}\PYG{p}{,} \PYG{n}{record}\PYG{o}{.}\PYG{n}{format}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}fasta\PYGZdq{}}\PYG{p}{))}
\end{Verbatim}
