next up previous contents index
Next: selection.translate() translate Up: The selection class: handling Previous: selection.only_defined() select   Contents   Index

selection.write() -- write selection coordinates to a file

write(file, model_format='PDB', no_ter=False)
This command writes the coordinates of all atoms in the selection to a file in the selected format.

See model.write() for full details; note that only 'PDB' and 'MMCIF' outputs are supported with this command.

Automatic builds 2012-08-29