\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{model} \PYG{o}{=} \PYG{n}{structure}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{rd} \PYG{o}{=} \PYG{n}{ResidueDepth}\PYG{p}{(}\PYG{n}{model}\PYG{p}{,} \PYG{n}{pdb\PYGZus{}file}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{residue\PYGZus{}depth}\PYG{p}{,} \PYG{n}{ca\PYGZus{}depth}\PYG{o}{=}\PYG{n}{rd}\PYG{p}{[}\PYG{n}{some\PYGZus{}residue}\PYG{p}{]}
\end{Verbatim}
