\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{idx} \PYG{o}{=} \PYG{n}{SearchIO}\PYG{o}{.}\PYG{n}{index}\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{k+kc}{True}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{sorted}\PYG{p}{(}\PYG{n}{idx}\PYG{o}{.}\PYG{n}{keys}\PYG{p}{())}
\PYG{g+go}{[\PYGZsq{}gi|11464971:4\PYGZhy{}101\PYGZsq{}, \PYGZsq{}gi|16080617|ref|NP\PYGZus{}391444.1|\PYGZsq{}, \PYGZsq{}random\PYGZus{}s00\PYGZsq{}]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{idx}\PYG{p}{[}\PYG{l+s+s2}{\PYGZdq{}gi|16080617|ref|NP\PYGZus{}391444.1|\PYGZdq{}}\PYG{p}{]}
\PYG{g+go}{QueryResult(id=\PYGZsq{}gi|16080617|ref|NP\PYGZus{}391444.1|\PYGZsq{}, 3 hits)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{idx}\PYG{o}{.}\PYG{n}{close}\PYG{p}{()}
\end{Verbatim}
