*FILENAME: rename-2pdb.str
*PURPOSE: rename atoms, residues to PDB standard usage
*AUTHOR: Lennart Nilsson, Karolinska Institutet, October 10, 2003
*
!ASSUMPTION:
! There is a PSF present
!NB: Bomlev is set to -1 to avoid stopping on empty selections
!USAGE:
! read rtf...
! read para...
! read psf...
! stream rename-2pbd.str
!...

bomlev -1
rename resnam his sele resn hsd end
rename resnam his sele resn hse end
rename resnam his sele resn hsp end
rename atom CD1 sele resn ile .and. type CD end
rename atom HG sele resn cys .and. type HG1 end
rename atom O sele type OT1 end
rename atom OXT sele type OT2 end

return
_________________________
Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden