\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{SearchIO}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{qresults} \PYG{o}{=} \PYG{n}{SearchIO}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}tab\PYGZus{}2226\PYGZus{}tblastn\PYGZus{}001.txt\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}blast\PYGZhy{}tab\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{qresult} \PYG{o+ow}{in} \PYG{n}{qresults}\PYG{p}{:}
\PYG{g+gp}{... }    \PYG{k}{print}\PYG{p}{(}\PYG{n}{qresult}\PYG{o}{.}\PYG{n}{id}\PYG{p}{)}
\PYG{g+go}{gi|16080617|ref|NP\PYGZus{}391444.1|}
\PYG{g+go}{gi|11464971:4\PYGZhy{}101}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{qresults2} \PYG{o}{=} \PYG{n}{SearchIO}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}tab\PYGZus{}2226\PYGZus{}tblastn\PYGZus{}005.txt\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}blast\PYGZhy{}tab\PYGZdq{}}\PYG{p}{,} \PYG{n}{comments}\PYG{o}{=}\PYG{n+nb+bp}{True}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{qresult} \PYG{o+ow}{in} \PYG{n}{qresults2}\PYG{p}{:}
\PYG{g+gp}{... }    \PYG{k}{print}\PYG{p}{(}\PYG{n}{qresult}\PYG{o}{.}\PYG{n}{id}\PYG{p}{)}
\PYG{g+go}{random\PYGZus{}s00}
\PYG{g+go}{gi|16080617|ref|NP\PYGZus{}391444.1|}
\PYG{g+go}{gi|11464971:4\PYGZhy{}101}
\end{Verbatim}
