Difference between revisions of "Pdb use ter records"

From PyMOLWiki
Jump to navigation Jump to search
(fix broken link to PDB page (ter format) and add this page to the settings page)
Line 1: Line 1:
When a molecule (e.g. a protein molecule) is saved in pdb format by PyMOL, a line of [http://www.wwpdb.org/documentation/format33/sect9.html#TER TER] record is inserted wherever the residue id is not sequential. To suppress this feature, set <tt>pdb_use_ter_records</tt> value to 0 before saving protein molecules.
+
When a molecule (e.g. a protein molecule) is saved in pdb format by PyMOL, a line of [http://www.wwpdb.org/documentation/file-format-content/format33/sect9.html#TER TER] record is inserted wherever the residue id is not sequential. To suppress this feature, set <tt>pdb_use_ter_records</tt> value to 0 before saving protein molecules.
  
 
=Example=  
 
=Example=  
Line 9: Line 9:
 
cmd.set(name='pdb_use_ter_records', value=0) # same effect
 
cmd.set(name='pdb_use_ter_records', value=0) # same effect
 
</source>
 
</source>
 +
 +
[[Category:Settings|Pdb_use_ter_records]]

Revision as of 19:03, 15 September 2015

When a molecule (e.g. a protein molecule) is saved in pdb format by PyMOL, a line of TER record is inserted wherever the residue id is not sequential. To suppress this feature, set pdb_use_ter_records value to 0 before saving protein molecules.

Example

get pdb_use_ter_records  # return current value of pdb_use_ter_records
set pdb_use_ter_records, 0

import cmd
cmd.set(name='pdb_use_ter_records', value=0) # same effect