 
 
 
 
 
   
Of the four files mentioned above, an initial pdb file will typically be obtained through the Protein Data Bank, and the parameter and topology files for a given class of molecule may be obtained via the Internet at
Notice that the latest release (c31b1) also contains the updated CMAP correction, used in this tutorial. The psf file must be created by the user from the initial pdb and topology files. The NAMD configuration file is also created by the user, with commands based on the specific requirements for the MD simulation.
![% latex2html id marker 3756
\framebox[\textwidth]{
\begin{minipage}{.2\textwid...
...certain model peptides. More in Appendix \ref{ap-paramfiles}.}
\end{minipage} }](img16.png) 
First, you will remove the water molecules from 1UBQ.pdb, and create a pdb file of the protein alone.
| namd-tutorial-files/1-1-build> vmd | 
 
 New Molecule... menu item in the VMD Main window.  In the Molecule File Browser use the Browse... button to find the file 1UBQ.pdb.  Load it by pressing the Load button.
 New Molecule... menu item in the VMD Main window.  In the Molecule File Browser use the Browse... button to find the file 1UBQ.pdb.  Load it by pressing the Load button. 
Note that the X-ray structure from the Protein Data Bank does not contain the hydrogen atoms of ubiquitin. This is because X-ray crystallography usually cannot resolve hydrogen atoms. The pdb file you will generate with psfgen along with the psf will contain guessed coordinates for hydrogen atoms of the structure. Later, energy minimization of the protein will ensure their positions are reasonable.
 
 Tk Console menu item and in
  the VMD TkCon window. Be sure you are in the 1-1-build directory. If you are not, navigate there using the ls command to list files and directories and the cd command to change directories. Then, type the following commands:
 Tk Console menu item and in
  the VMD TkCon window. Be sure you are in the 1-1-build directory. If you are not, navigate there using the ls command to list files and directories and the cd command to change directories. Then, type the following commands:
| set ubq [atomselect top protein] | |
| $ubq writepdb ubqp.pdb | 
In the previous step you have created the file ubqp.pdb, which contains the coordinates of the ubiquitin alone without hydrogens, in the 1-1-build directory.
 Quit.
 Quit.
 
 Modeling
 Modeling  Automatic PSF Builder.  We will create the psf file manually to teach you exactly how it is done.  The psfgen package of VMD is very useful in this regard.  In order to create a psf, you will first make a pgn file, which will be the target of psfgen.
 Automatic PSF Builder.  We will create the psf file manually to teach you exactly how it is done.  The psfgen package of VMD is very useful in this regard.  In order to create a psf, you will first make a pgn file, which will be the target of psfgen.
In a Terminal window type VMD text editor to open the text editor. Type in the following lines:
| package require psfgen | |
| topology top_all27_prot_lipid.inp | |
| pdbalias residue HIS HSE | |
| pdbalias atom ILE CD1 CD | |
| segment U {pdb ubqp.pdb} | |
| coordpdb ubqp.pdb U | |
| guesscoord | |
| writepdb ubq.pdb | |
| writepsf ubq.psf | 
 Save. Be sure that you are in the 1-1-build directory and enter the
file name as ubq.pgn.  Quit the text editor by clicking File
Save. Be sure that you are in the 1-1-build directory and enter the
file name as ubq.pgn.  Quit the text editor by clicking File  Exit.
 Exit. 
The file you just created contains the necessary commands to create the psf file of ubiquitin with hydrogen atoms and without water. Each command of the pgn file is explained:
 carbon) in isoleucine residues is renamed as ``CD", its proper name from the topology file.  Since isoleucine contains only one
 carbon) in isoleucine residues is renamed as ``CD", its proper name from the topology file.  Since isoleucine contains only one  carbon atom, the psf file does not use the number label after ``CD".
 carbon atom, the psf file does not use the number label after ``CD".
 
|  vmd -dispdev text -e ubq.pgn | 
 
In your screen you will see different messages. Warnings are related to the ends of your molecule and are normal. Your system should have 1231 atoms and 631 with guessed coordinates.
Having run psfgen, two new files will now appear in your 1-1-build directory: ubq.pdb and ubq.psf. Check this by typing ls in a Terminal. You have created the psf! You may want to inspect ubq.pdb using VMD text editor .
![\framebox[\textwidth]{
\begin{minipage}{.2\textwidth}
\includegraphics[width=2...
...\tt psfgen} package requires a {\tt pdb} file for each chain.}
\end{minipage} }](img23.png) 
 
 
 
 
