Previous: Ligand Overlaying, Up: Coordinate-Related Features


4.23 Writing PDB files

As well as the GUI option File -> Save Coordinates... there is a scripting options available:

(write-pdb-file imol pdb-file-name)

which writes the imolth coordinates molecule to filename.

To write a specific residue range:

(write-residue-range-to-pdb-file imol chain-id start-resno endresno pdb-file-name)