read coords pdb Zdom1.pdb all rmsd coords backb 1 1 71 ave rmsd_back.pdbstat rmsd coords heavy 1 1 71 ave rmsd_heavy.pdbstat order 0.9 rmsd best write best.pdb coords all all pdb quit