Eric and Greg, Thanks for your comments and help. Eric, thanks especially for the concise script. Dealing with the variety of non-standard-format PDB files is truly maddening, and I appreciate the help. Josh