 
 
 
 
 
 
 
  
 Next: BPTI Example
 Up: Creating PSF Structure Files
 Previous: Ordinary Usage
     Contents 
- topology  file name file name  
 Purpose: Read in molecular topology definitions from file.
 Arguments: file name file name : CHARMM format topology file. : CHARMM format topology file.
 Context: Beginning of script, before segment.  May call multiple times.
 
- alias residue  alternate name alternate name   real name real name  
 Purpose: Provide translations from residues found in PDB files to proper
residue names read in from topology definition files.  Proper names
from topology files will be used in generated PSF and PDB files.
 Arguments: alternate name alternate name : Residue name found in PDB file. : Residue name found in PDB file.
  real name real name : Residue name found in topology file. : Residue name found in topology file.
 Context: Before reading sequence with pdb.  May call multiple times.
 
- segment  segment ID segment ID { { commands commands } }
 Purpose: Build a segment of the molecule.  A segment is typically a single
chain of protein or DNA, with default patches applied to the termini.
Segments may also contain pure solvent or lipid.
 Arguments: segment ID segment ID : Unique name for segment, 1-4 characters. : Unique name for segment, 1-4 characters.
  commands commands : Sequence of commands in Tcl syntax to build the primary
structure of the segment, including auto, first, last, residue, pdb, etc. : Sequence of commands in Tcl syntax to build the primary
structure of the segment, including auto, first, last, residue, pdb, etc.
 Context: After topology definitions and residue aliases.  May call multiple times.
Structure information is generated at the end of every segment command.
 
- auto  angles angles![$]$](img9.gif)   dihedrals dihedrals![$]$](img9.gif)   none none![$]$](img9.gif)  
 Purpose: Override default settings from topology file for automatic generation of
angles and dihedrals for the current segment.
 Arguments: angles: Enable generation of angles from bonds.
 dihedrals: Enable generation of dihedrals from angles.
 none: Disable generation of angles and dihedrals.
 Context: Anywhere within segment, does not affect later segments.
 
- first  patch name patch name  
 Purpose: Override default patch applied to first residue in segment.
Default is read from topology file and may be residue-specific.
 Arguments: patch name patch name : Single-target patch residue name or none. : Single-target patch residue name or none.
 Context: Anywhere within segment, does not affect later segments.
 
- last  patch name patch name  
 Purpose: Override default patch applied to last residue in segment.
Default is read from topology file and may be residue-specific.
 Arguments: patch name patch name : Single-target patch residue name or none. : Single-target patch residue name or none.
 Context: Anywhere within segment, does not affect later segments.
 
- residue  resid resid   resname resname  
 Purpose: Add a single residue to the end of the current segment.
 Arguments: resid resid : Unique name for residue, 1-5 characters, usually numeric. : Unique name for residue, 1-5 characters, usually numeric. resname resname : Residue type name from topology file. : Residue type name from topology file.
 Context: Anywhere within segment.
 
- pdb  file name file name  
 Purpose: Extract sequence information from PDB file when building segment.
Residue IDs will be preserved, residue names must match entries in
the topology file or should be aliased before pdb is called.
 Arguments: file name file name : PDB file containing known or aliased residues. : PDB file containing known or aliased residues.
 Context: Anywhere within segment.
 
- mutate  resid resid   resname resname  
 Purpose: Change the type of a single residue in the current segment.
 Arguments: resid resid : Unique name for residue, 1-5 characters, usually numeric. : Unique name for residue, 1-5 characters, usually numeric. resname resname : New residue type name from topology file. : New residue type name from topology file.
 Context: Within segment, after target residue has been created.
 
- patch  patch residue name patch residue name   segid:resid segid:resid   ... ...![$]$](img9.gif)  
 Purpose: Apply a patch to one or more residues.  Patches make small modifications to
the structure of residues such as converting one to a terminus, changing the
protonation state, or creating disulphide bonds between a pair of residues.
 Arguments: patch residue name patch residue name : Name of patch residue from topology definition file. : Name of patch residue from topology definition file.
  segid:resid segid:resid : List of segment and residue pairs to which patch should be applied. : List of segment and residue pairs to which patch should be applied.
 Context: After one or more segments have been built.
 
- multiply  factor factor   segid segid :resid :resid :atomname :atomname![$]$](img9.gif) ![$]$](img9.gif)    ... ...![$]$](img9.gif)  
 Purpose: Create multiple images of a set of atoms for use in locally enhanced sampling.  The beta column of the output pdb file is set to 1... factor factor for each image.  Multiple copies of bonds, angles, etc. are created.  Atom, residue or segment names are not altered; images are distinguished only by beta value.  This is not a normal molecular structure and may confuse other tools. for each image.  Multiple copies of bonds, angles, etc. are created.  Atom, residue or segment names are not altered; images are distinguished only by beta value.  This is not a normal molecular structure and may confuse other tools.
 Arguments: factor factor : :
  segid:resid:atomname segid:resid:atomname : segment, residue, or atom to be multiplied.  If :resid is omitted the entire segment is multiplied; if :atomname is omitted the entire residue is multiplied.  May be repeated as many times as necessary to include all atoms. : segment, residue, or atom to be multiplied.  If :resid is omitted the entire segment is multiplied; if :atomname is omitted the entire residue is multiplied.  May be repeated as many times as necessary to include all atoms.
 Context: After one or more segments have been built, all patches applied, and coordinates guessed.  The effects of this command may confuse other commands.
 
- delatom  segid segid   resid resid![$]$](img9.gif)   atom name atom name![$]$](img9.gif)  
 Purpose: Delete one or more atoms.  If only segid is specified, all atoms from
that segment will be removed from the structure.  If both segid and
resid are specified, all atoms from just that residue will be removed.
If segid, resid, and atom name are all specified, just a
single atom will be removed.
 Arguments: segid segid : Name of segment. : Name of segment.
  resid resid : Name of residue (optional). : Name of residue (optional).
  atom name atom name : Name of atom (optional). : Name of atom (optional).
 Context: After all segments have been built and patched.
 
- resetpsf 
 Purpose: Delete all segments in from the structure.  The topology definitions and 
aliases are left intact.
 Arguments:
 Context: After one or more segments have been built.
 
- writepsf  charmm charmm![$]$](img9.gif)   x-plor x-plor![$]$](img9.gif)   file name file name  
 Purpose: Write out structure information as PSF file.
 Arguments:  charmm: Use CHARMM format (numbers for atom types).
 x-plor: Use X-PLOR format (names for atom types), the default format required by NAMD.
  file name file name : PSF file to be generated. : PSF file to be generated.
 Context: After all segments have been built and patched.
 
- readpsf  file name file name  
 Purpose: Read in structure information from PSF file and adds it to the structure.
It is an error if any segments in the PSF file already exist.
 Arguments: file name file name : PSF file in X-PLOR format (names for atom types). : PSF file in X-PLOR format (names for atom types).
 Context: Anywhere but within segment.
 
- alias atom  residue name residue name   alternate name alternate name   real name real name  
 Purpose: Provide translations from atom names found in PDB files to proper
atom names read in from topology definition files.  Proper names
from topology files will be used in generated PSF and PDB files.
 Arguments: residue name residue name : Proper or aliased residue name. : Proper or aliased residue name.
  alternate name alternate name : Atom name found in PDB file. : Atom name found in PDB file.
  real name real name : Atom name found in topology file. : Atom name found in topology file.
 Context: Before reading coordinates with coordpdb.  May call multiple times.
 
- coord  segid segid   resid resid   atomname atomname   { x y z } { x y z }  
 Purpose: Set coordinates for a single atom.
 Arguments: segid segid : Segment ID of target atom. : Segment ID of target atom.
  resid resid : Residue ID of target atom. : Residue ID of target atom.
  atomname atomname : Name of target atom. : Name of target atom.
  { x y z } { x y z } : Coordinates to be assigned. : Coordinates to be assigned.
 Context: After structure has been generated.
 
- coordpdb  file name file name   segid segid![$]$](img9.gif)  
 Purpose: Read coordinates from PDB file, matching segment, residue and atom names.
 Arguments: file name file name : PDB file containing known or aliased residues and atoms. : PDB file containing known or aliased residues and atoms.
  segid segid : If specified override segment IDs in PDB file. : If specified override segment IDs in PDB file.
 Context: After segment has been generated and atom aliases defined.
 
- guesscoord 
 Purpose: Guesses coordinates of atoms for which they were not explicitly set.
Calculation is based on internal coordinate hints contained in toplogy
definition files.  When these are insufficient, wild guesses are attempted
based on bond lengths of 1 Å and angles of 109 . .
 Arguments: None.
 Context: After stucture has been generated and known coordinates read in.
 
- writepdb  file name file name  
 Purpose: Writes PDB file containing coordinates.  Atoms order is identical to
PSF file generated by writepsf (unless structure has been changed).
The O field is set to 1 for atoms with known coordinates, 0 for atoms
with guessed coordinates, and -1 for atoms with no coordinate data
available (coordinates are set to 0 for these atoms).
 Arguments: file name file name : PDB file to be written. : PDB file to be written.
 Context: After structure and coordinates are complete.
 
 
 
 
 
 
 
 
  
 Next: BPTI Example
 Up: Creating PSF Structure Files
 Previous: Ordinary Usage
     Contents 
namd@ks.uiuc.edu