Keywords: manual

Next: selection.translate() translate Up: The selection class: handling Previous: selection.only_het_residues() 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.