IU MolViz User Guide

Insight II Notes: Viewer


The Insight II Window

All commands can be typed at the command prompt. However, it is much easier to select pull-down menus, click on icons and buttons, and fill in appropriate parameters is dialog boxes. The first row of pull-down menus contain the viewer pull-downs. The second row, which is empty when you first start the program, contains pull-down menus for other InsightII modules (i.e., biopolymer, homology, discover, etc.).

All menus are fairly straightforward, and the manuals provide a good description of these menus. BE CAREFUL to review ALL selections in the menu before executing your selections. Remember that this program is designed to analyze a wide variety of molecules, so defining specific commands for specific parts of molecules can be a detailed process.

The following is an example of how the menus can be used to execute commands:

Click the left mouse button on the Molecule pull-down. Click on Get Molecule. Click the button next to PDB. Click on User Directory. All files that end with the .pdb extension in the directory from which you started InsightII are shown. Click on the file that you want to read into the program. Notice the other choices that you can make in the Get Molecule menu. Click on execute, and the molecule is read into the program.

The screen has a variety of tools around the edges:

Some menus have boxes which have pre-defined sets of atoms and choices. Click around in these menus and windows to select these choices. For instance, click on molecule/color. Type in the molecule name in the Molecule Spec box. Click on the box under color. The color palette will appear. Move the slide bars to create a new color, or click on a colored square to select a predefined color. The click on execute and the backbone of your molecule will change color.

The Molecule Pick Level can be used to select all or parts of a molecule:


Specification of Molecules (also called the "Focus")

Parts of molecules can be specified by the following components:
(molecule name):(monomer/residue specification):(atom specification)
The molecule name should be composed of alphanumeric characters ONLY, although the '$' and '_' character can also be used (the '_' character CANNOT be the first character).

The monomer/residue specification can be:

The atom specification follows the same rules as for monomer/residue specification. See also the InsightII Forcefields page for a list of atom names. In addition, the wildcard '*' character can be used to specify atom types (e.g., c* specifies all carbons). For biomolecules, the program attempts to name atoms according to the standard convention (i.e., alpha carbons are 'ca', beta carbons are 'cb', amide hydrogens in the backbone are 'hn'). For non bio-molecules, atoms are named 'c1', 'c2', 'c3', etc. If you are not sure what an atom is named, cancel all menus, place your cursor cross-hairs over the atom (and make sure you are over only one atom! If the screen is crowded, expand the view (see moving objects), and click the left button.

If these three parts of the Focus are put together, parts of the molecule can be specifed.

Examples:

Crambin:1:ca
specifies the alpha carbon of residue 1 in Crambin
Crambin:1-10:c*
specifies all carbons in residues 1 to 10 in Crambin
*:2,10,33,35: c1,c3
specifies carbons 1 and 3 of specific residues in ALL molecules
Crambin:ARG:hn,n,ca,c,o
specifies all backbone atoms of all arginine residues in Crambin
Crambin:BEG-10;*
specifies all atoms from the first to the 10th residues in Crambin
Crambin:BEG-END:*
specifies all atoms in Crambin
Crambin:*:*
specifies all atoms in Crambin
Crambin::
specifies all atoms in Crambin
Crambin
specifies all atoms in Crambin
*
specifiels all atoms in all molecules

Moving Objects

When the program starts, the entire world (all objects) will move when actions described below are executed. To move just one object, click on connect object in the lower right corner, and then click on an atom to select one molecule (or click on a point of a non-molecular object). Only this one object will move when the actions described below are executed.

WARNING! Some molecules, such as the DNA double helix, are composed of TWO molecules that are NOT connected be a covalent bond. To move the two molecules together:

To move a connected object or world, hold down a combination of mouse buttons and move the mouse. The x-axis is horizontal and the y-axis is vertical in the plane of the screen. The z-axis comes straight out of the screen.

left button choose, select, or pick objects-does not move objects
center button XY translations
right button XY rotation
left & center Z translation
left & right Z rotation
center & right World scale
all buttons slab position or slabe thickness (toggle with <F12>)

In the lower left corner is a "dial slider" box. Position your mouse near the MIDDLE of the X rotate box and click and hold down the left button, and the molecule will rotate. Move the mouse SLOWLY to the left or right inside the X rotate box. As you move to the edges of the X rotate box, the rotation speed increases. The center of the box is "rotation speed=0". The slide boxes are sensitive and tricky, so be careful.

The function keys can also be used. You can also click on the buttons at the bottom of the screen, which act like on-screen function keys. Some function keys are not active unless you are running a specific application:

<F1> full screen toggle
<F2> stereo step
<F3> x rotate by 90 degrees
<F4> y rotate by 90 degrees
<F5> z rotate by 90 degrees
<F6> brings all InsightII windows to the front of the screen. If you pop out of InsightII to an active UNIX window, you MUST type exit to exit the UNIX window and return to the program
<F7> toggles the slider box between translate and torsion features when torsion angles are defined under translate
<F8> Animation Frame speed
<F9> Textport on/off
<F10> connect object
<F11> connect world
<F12> slab position/thickness toggle

Finally, molecules can be moved by using the Transform menus. These menus can accept values for exact placement or movement of a molecule. Other objects can be moved using other pulldown menus.


Miscellaneous Notes

Save your work often (every 15 minutes) or after accomplishing something significant! This is the biggest mistake the new user's make. If you do NOT save your work, there is NO way to recover your work if the program crashes of if you do something irrevocable by mistake.

Use file/Save Folder, which saves the position, color, labels, etc., of all objects that you specify. You should save all objects ('*'). Choose a new file name each time you save a folder; you can delete old, unnecessary folders in a UNIX shell after you are done. DO NOT use the replace option! This option replaces objects in a current folder if the object exists in the folder; if the object doesn't already exist in the folder, the object is NOT saved.

You can also use the Session/Autosave (which is turned off by default) or Session/Backup and Session/Recover options. Session/Autosave allows your session to be automatically saved at regular time intervals. The session is saved to a file called ".insight_session.psv".
SAFETY TIP: In a UNIX shell, you must type "ls -a" to list files that start with a period (".")

Commands are stored in a file named WBLOGFILE. When you gracefully exit the program using quit, WBLOGFILE is renamed insight.log. If the program crashes or you exit ungracefully by closing the window, WBLOGFILE is NOT renamed. If you restart InsightII and you have a file named WBLOGFILE, the program will rename WBLOGFILE to WBLOGFILE.save and will start to log new commands into a new WBLOGFILE. Thus, you can compare WBLOGFILE and WBLOGFILE.save to determine if your problems are indeed reproducible. If the program crashes, type cp WBLOGFILE new_file_name so that you have a more permanent record of your problem, so that you can more easily troubleshoot your problems.

You can also make your own log file (the file name must end with .log) in UNIX using your favorite editor (ie.g., nedit, jot, vi). See also the Example InsightII log file. In InsightII, click on File/Source File, select your log file, and InsightII will run these commands. This is a nice way to set up a demonstration of your work!

To execute commands each and every time you start InsightII, create a file in your home directory named .insightII.cshrc See the .insightII.cshrc example file. This is a great way to customize your InsightII environment; for example, you may wish to automatically set Molecule/Bond_order ON (the default is OFF) to display bond orders, create aliases for common commands, or set the default z-plane clipping.

You can modify InsightII's menus and icons in several ways:

The Session/Help feature is accurate, but often devoid of detail. Consult the manuals in A701 for more information. Although computer manuals are notoriously convoluted, Biosym manuals are extremely well-written.

When you use a pulldown menu, you select options that build a string of commands. When you click on execute, this command is sent to a module, and the module performs the operation. These commands are displayed in the Information Area. They can be accessed by typing the following 'history' keys:

History Features

!! Execute the last command again
!-n Execute the nth command counting back from the last command (last=0)
!string Execute the most recent command starting with string
&& Bring the last command line for editing
&-n Bring the nth command to the command line
&string Bring the most recent command starting with string to the command line
 
Back to  |  Insight II Notes  |  Application Guide  |  MolViz Home  |
Send comments to chemvis@indiana.edu
Last updated: 01/23/2001