Cerius2 Modeling Environment |
If you've never used Cerius2 before, please go through this section first! The idea is just to get you familiar with using basic controls in the interface, then you can find details on how to use these and other controls for your own scientific problems in other sections.
This section includes instructions for:
Prerequisites
In general, activities that you must perform if you want this tutorial to work as designed are contained in boxes like this. |
Optional activities are in plain text (not in boxes).
If you want to perform only some of the optional activities or are interrupted and need to redo some of the initial activities, you need read only the boxed information. |
Detailed information on how to carry out the activities introduced in this section (as well as other activities) is contained in the other sections of this documentation set.
1. Preparing a work area
Starting Cerius2
> cd > mkdir CeriusIntro > cd CeriusIntro |
Enter at your system prompt:
> cerius2 |
Cerius2 is a large program, and it takes a few moments for it to load and appear on your screen. Additional information on starting Cerius2 can be found under Starting Cerius2.
3. Getting acquainted with the interface (optional)
Please feel free to take some time to explore the Cerius2 interface on your own. You can't break anything!
If you do anything in this optional step, you should clean up the interface so that you can make a fresh start when you begin building your first model, as follows: |
Use the mouse to move the cursor over the File menu at the top left corner of the main control panel. Click with the left mouse button and drag the cursor down to New Session. Release the mouse button. When a small window labelled Re-initialize All... appears, click its Confirm button with the left mouse button.
4. Locating the basic building tool
Building a model--caffeine
The top of the Visualizer main panel contains a menu bar (a row of menus) that looks like this:
Use the mouse to move the cursor over Build in the menu bar. Press and hold down the left mouse button. |
A list of menu items, or pulldown menu, appears:
Continue to hold the left mouse button down, use the mouse to drag the cursor downwards, and release the mouse button over the 3D-Sketcher... item in the list. |
Select the Build/3D-Sketcher... menu item. |
A window labeled Sketcher appears. This control panel contains basic model-building tools.
Locate the template tool in the Sketcher control panel. It is labeled phenyl, since a phenyl ring is the default template. |
Use the mouse to move the cursor over the template tool and click once with the left mouse button. |
Click the template tool. (Always use the left mouse button to click items, unless otherwise indicated.) |
Move the cursor into the large window labelled Cerius2 Models. |
This is called the model window.
Click once near the center of the model window. |
A benzene fragment appears, but it is not oriented conveniently.
The model should now look something like this:
Click the Sketch with tool. |
The Sketch with tool looks like:
The control panel indicates that you will sketch with C, whereas the ring you want to add contains 2 N's and only one C. So it might be more efficient to sketch with N instead of C:
Locate the popup control to the right of the Sketch with C entry box. |
Click the popup control, then, while continuing to hold the left mouse button down, drag the cursor down and then release it over the N. |
Choose N from the Sketch with popup. |
In the rest of this step, you will try to make your model look something like this:
In the model window, click the carbon at the top end of the double bond on the right side of the model. |
You will hear a beep to confirm that you succeeded in hitting the atom.
Move the cursor up and towards the right. |
Click in three places to the right of that double bond, then click the carbon atom at the bottom end of that double bond, forming a 5-membered ring that's fused with the 6-membered ring. |
The Sketcher control panel contains an UNDO button. It is active only when the previous Sketcher activity can be reversed. |
If you really make a mess of your model, you can select the Edit/Select All menu item and then the Edit/Delete menu item to erase the entire model. Then start again at the beginning of Step 5.
6. Adding R groups to the basic ring structure
Click in the Sketch with text entry box. |
The N becomes highlighted. Anything you type in the box will now replace the N.
Type a C in the Sketch with text entry box and either press <Enter> on your keyboard or click anywhere else on the control panel. |
Enter C in the Sketch with text entry box. |
Click the bottom carbon in the 6-membered ring, then click below that carbon. |
This adds a carbon, which will become a methyl group when you correct the hydrogens later.
Click the Templates... button in the Sketcher control panel. |
The Templates... button looks like:
Clicking the Templates... button causes the Sketcher Template control panel to appear. This control panel contains a file browser that allows you to navigate among directories and load selected files.
In the Sketcher Template control panel, double-click organic/. |
Now scroll down the items in the list of filenames by clicking below the slider on the scroll bar to the right of the list box.
Stop when you see the filename methyl. |
That is, click here:
Click methyl and then click the LOAD pushbutton. |
In the model window, click the hydrogen atom that's attached to the carbon atom in the upper left part of the 6-membered ring. Next, click the uppermost N in the 5-membered ring. |
Your model should now look approximately like this:
In the Sketcher control panel, find and click the Edit Element tool. |
The Edit Element tool looks like:
Click the middle N in the chain of N's in the 5-membered ring. |
Change the Edit Element type to O, by choosing O from the associated popup or by entering O in the Edit Element text entry box. Click the top H on the 6-membered ring. |
(Remember, the methyl group at the bottom of the 6-membered ring does not yet look like a methyl group.)
In the Sketcher control panel, find and click the Edit Bond tool. |
The Edit Bond tool looks like:
The Edit Bond popup is already set to SINGLE.
Click one of the nitrogens in the 6-membered ring. Next click the carbon at the other end of the double bond that emanates from that nitrogen. |
The double bond becomes a single bond.
Your model should now look approximately like this:
In the Sketcher control panel, click the H ADJUST button. |
Now, except perhaps for some strange bond lengths or angles, your caffeine model is nearly finished.
Still in the Sketcher control panel, click and hold the CLEAN button until the model stops moving. |
Now your model should be finished and look like:
Click the selection tool (the arrow icon in the upper left of the Sketcher control panel) to return the cursor to its selection function. |
Alternatively, you can simply close the Sketcher control panel, since you don't need it for a while. The cursor should now be a plain arrow when it's in the model window.
11. Saving your caffeine model
Saving a model
Now that you've built a model, you can save it:
Select the File/Save Model... menu item. |
The Save Model control panel appears. If you named your working directory CeriusIntro as suggested in Step 1 and did not save any other files in this directory, the Save Model control panel should look like this:
Click in the text entry box next to the SAVE button. Change *.msi to caffeine.msi and click the SAVE button. |
If you neglect to type the ".msi", Cerius2 adds it automatically. The ".msi" helps you remember that the file is in Cerius2's standard format.
By now, you have several control panels scattered about your screen. You can close one control panel:
Click the close button in the top right corner of any control panel.
Click the clear panels tool on the toolbar of the Visualizer main panel. |
The toolbar is just below the menu bar and looks like:
If you need to quit your Cerius2 session for any reason, you may do so now without losing any of your work.
To reload your caffeine model, select the File/Load Model... menu item. In the Load Model control panel's file browser, double-click (left mouse button) the name of the file that you saved in Step 11 (which should be caffeine.msi).
Close the Load Model control panel if you don't want it cluttering up your screen.
If you've interrupted your tutorial, please see Step 13 before starting this section.
What you can do with a model display
This section shows you various ways of modifying the display of a model. None of its activities are required if you're mainly interested in features introduced in later sections of this tutorial. |
Find the label popup on the toolbar. |
Set the label popup to ELEMENTS. |
That is, click the label popup, drag down the list that appears, and choose ELEMENTS.
With the cursor near the middle of the model window, hold down the right mouse button and move the cursor vertically and then horizontally. |
The model is rotated around the x- and y-axes, respectively.
Now place the cursor close to an edge of the model window and move it parallel to that edge. |
The model is rotated around the z-axis.
Hold down the middle mouse button and move the cursor around in the model window. |
The model is translated in the x,y-plane.
You can control the magnification of the view of your model:
If you have an extended keyboard, pressing the + and - keys on the keypad increases and decreases the magnification.
Click the reset tool on the toolbar to reset your model to its initial position. |
The reset tool looks like:
<Home> on an extended keyboard also resets the view.
Click any atom to select it. |
A beep confirms that you've succeeded, and the atom is highlighted to indicate that it is selected.
Or you can select several atoms at once:
You can select or deselect all atoms at once:
Click the selection tool to select all atoms. Click the deselection tool to deselect all atoms. Click empty space to deselect all atoms. |
19. Measuring components of the model's geometry
Select the Geometry/Measurements... menu item. |
The Measurements control panel appears.
Click the Distance tool in the Measurements control panel. |
Click any two atoms. |
A dashed line and a distance (in angstroms) are displayed on the model.
Click the DELETE Measurements action button. |
Even though this button is small, it is an action button, as indicated by its blue color.
To obtain help about any control in the Cerius2 interface:
Move the cursor to a control about which you want information and click the right mouse button. |
A help panel appears in the center of your screen.
If you click a control while the help window is open, that control does perform its usual function. |
21. Changing the display style
Find the display style popup on the toolbar. |
The display style popup is this one:
Set the display style popup to BALL. |
Try setting the display style to BALL & STICK and CYLINDER. (ELLIPSOID, POLYHEDRA, and TRACE are irrelevant to your current caffeine model.)
Select the Build/Element Defaults menu item. |
The Edit Elements control panel appears.
Enter C in the Current Element text entry box. Change the Display Color popup to some color other than dark grey. |
You can change the default colors for other elements in a similar way,
Select the View/Colors... menu item. |
Click the Edit Mappings... pushbutton in the Color Selected Objects control panel to access the Edit Color Mappings control panel. |
The Edit Color Mappings control panel appears.
You can label atoms with their mass if you want. The atomic masses range from 1.01 (H) to 16.00 (O).
Check the Show Range check box. |
In the Edit Color Mappings control panel, click the Outliers... pushbutton next to the Max entry box to access the Maximum Outlier Handling control panel. Check the Pin to Maximum check box. |
Oxygen is colored according to the maximum color entry number, 15.
Check the Use Pen check box and choose a color from the Use Pen popup. |
Oxygen is colored with your chosen color.
Close the open control panels if you have too many cluttering up your screen.
If you've interrupted your tutorial, please see Step 13 before starting this section.
Building another model--ferrocene
To open an additional model space, click the + tool just above the model table (which is the bottom-left part of the Visualizer main panel). |
A new, empty model space becomes current, and the caffeine model is hidden.
Ferrocene can be built much faster than caffeine:
Use the Build/3D-Sketcher... menu item to open the Sketcher control panel. |
Iron isn't listed in the Sketch with popup; you can get it by using the periodic table.
Click the periodic table tool that's to the right of the Sketch with tool. |
Click Fe in the Periodic Table window. |
Click once somewhere near the center of the model window. |
The single Fe atom is represented as a cross.
Click the Templates... button in the Sketcher control panel. In the Sketcher Template control panel, double-click ligands/ and then double-click pentadienyl. |
(You may have to move up out of the organic directory, if you haven't restarted Cerius2 since the beginning of this tutorial.)
Click the Fe atom. |
Click the Fe atom again. Select the selection tool in the Sketcher control panel, and move the model so that the rings appear to be nearly superimposed. |
You'll notice that the ferrocene model is not symmetrical and that pressing the CLEAN button does not make it exactly symmetrical.
28. Reading in more models
Reading in additional models
Locate the model table in the lower left of the Visualizer main panel. In the list of model names, click Model2 and type ferrocene, then press <Enter>. |
You may save the ferrocene model if you want.
29. Finding the name of the model shown in the model window
Managing multiple models
Notice the column of diamonds in the model table. |
The diamond that is highlighted in red and looks 3-dimensional indicates the name of the current model. |
In the above example, glycine is the active model. It is both current (activities done in control panels or with the mouse affect it) and the only model visible in the model window.
Say you'd rather look at ferrocene than the currently active model:
Click the empty diamond next to the ferrocene model name. |
That diamond becomes highlighted and ferrocene replaces the other model in the model window.
Notice the column of squares in the model table. |
The square that is highlighted in cyan and looks somewhat 3-dimensional indicates the visible model. Click one of the empty squares. |
The model window becomes divided into one large square display area and a border of smaller square display areas. The current model (ferrocene, if you performed only the boxed instruction in Step 30) is in the largest square display area. The model you just specified is displayed in one of the smaller square display areas.
Click one or more additional empty squares in the model table. |
Each model is displayed in one of the smaller square display areas.
Click a square that's already highlighted in blue. |
That model now becomes hidden.
Notice the display mode tools. |
That is, these tools:
Select the grid mode tool (directly above the currently selected border mode tool). |
Select the overlay mode tool (the topmost one of these three tools). |
All visible models appear in the same display area.
Click the border mode tool again, so that the current model appears in a large square display area, with the others in smaller square display areas. |
32. Adding and deleting model spaces
You've already learned (in Step 25) how to add a new, empty model space by clicking the + tool. You can also clear an existing model space (i.e., remove the model, leaving its model space empty) or delete a model space (i.e., remove both the model and its space from the current Cerius2 session):
To delete a model space, click a diamond to make the desired model current, then click the - tool . Click OK in the confirmation window that appears. |
The number of models listed in the table decreases by one (the remaining models are not renumbered).
To clear a model space, click a diamond to make the desired model current, then click the clear tool . Click OK in the confirmation window that appears. |
The model space and the current display area are cleared, but the model name and number remain in the model table. You may sketch a new model in this display area (and model space). You may also copy one of the other models into the cleared space (if you, say, wanted to make an analog of caffeine):
Click and drag from a noncurrent to a current model space. |
The copied model now exists as two separate models in two separate model spaces.
Click in an empty part of one of the other display areas and drag the cursor into the current (occupied) display area. |
The models will be on top of one another, but you can move them apart as follows:
Close the open control panels if you have too many control panels cluttering up your screen.
If you've interrupted your tutorial, please see Step 13 before starting this section.
Printing a model
If you've deleted caffeine from your Cerius2 session, please reload it (see Step 13 if you need instructions). You may have to use the file browser in the Load Model control panel to navigate back up to the directory in which you stored caffeine.msi.
If several models are visible, make caffeine the only visible (and active) model by assuring that the visibility controls (square blue icons in the model table) are toggled off for all other models and on (highlighted) for caffeine.
Select the File/Print... menu item. In the Print control panel, change the Command to the statement that you usually use to specify printing to a postscript printer. |
Either select the PRINT button or change the settings of some of the other controls and then select the PRINT button. |
Please ask an experienced user at your site, or your system administrator, how to access your printer(s). |
35. Depth cueing
Controlling the 3D display
Select the View/Graphics menu item. |
When you drag the cursor down to the Graphics item, a pullright menu appears.
The Depth Cue Factor slider and entry box now look like:
Now set the Depth Cue Factor to some value less than 1.0. |
When the depth cue factor set to some value less than 1, you can use the Far Distance and Near Distance sliders to adjust the points at which depth cueing takes effect. The adjustments take effect immediately and are more easily seen at lower values of the depth cue factor. Since caffeine is a nearly planar model, you can see the effects of depth cueing more readily by turning it so that it is no longer parallel to the computer screen.
Lighting effects are more dramatic if you have a model with some solidity, so:
Change the display style to BALL. Select the View/Graphics/Lighting... menu item. |
The Lighting control panel appears. You can experiment with the controls on and accessible from this panel. Remember, you can click with the right mouse button to obtain help on any control.
If some of these controls appear to have no effect, you are probably not running Cerius2 in OpenGL mode. |
Or just set the Background popup to one of the predefined color choices.
38. Using the Help menu
Exploring Cerius2 on your own
Select the Help/Getting Started... menu item. |
You can use the buttons in the Getting Started control panel to find out more about:
Select the Help/Examples... menu item. |
Select the Help/About Cerius2... menu item. |
The About Cerius2 control panel contains information on contacting Molecular Simulations, Inc. It includes our website's URL and the email and other addresses for obtaining customer support.
Detailed information on all the functions of the Visualizer are found in the other sections of this documentation set.
Detailed information about modules other than the Visualizer are found in the documentation for the applications to which those modules belong.
Select the File/Exit menu option. Click Exit in the confirmation window that appears. |
Sections of this book where you can find additional information are listed in bold type in this list.
Summary--Some of what you've learned