\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{residue}\PYG{o}{.}\PYG{n}{get\PYGZus{}resname}\PYG{p}{()}    \PYG{c+c1}{\PYGZsh{} returns the residue name, e.g. \PYGZdq{}ASN\PYGZdq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{residue}\PYG{o}{.}\PYG{n}{is\PYGZus{}disordered}\PYG{p}{()}  \PYG{c+c1}{\PYGZsh{} returns 1 if the residue has disordered atoms}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{residue}\PYG{o}{.}\PYG{n}{get\PYGZus{}segid}\PYG{p}{()}      \PYG{c+c1}{\PYGZsh{} returns the SEGID, e.g. \PYGZdq{}CHN1\PYGZdq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{residue}\PYG{o}{.}\PYG{n}{has\PYGZus{}id}\PYG{p}{(}\PYG{n}{name}\PYG{p}{)}     \PYG{c+c1}{\PYGZsh{} test if a residue has a certain atom}
\end{Verbatim}
