 |
CCP4 Molecular Graphics Documentation |
 |
Coordinate Model Interface |
Loading model data
Coordinate data can be loaded from PDB or mmCIF files or it can be automatically downloaded from one of the deposition sites. As the data is loaded atom typing and secondary structure analysis are performed. The loaded model is shown in the Display Table with the interface described below.
Dot menu functionality
- Hide/Show
- Hide all display objects for this data object or show all the display objects that are not themselves hidden. Note that you can quickly toggle hide/show by clicking on the dot with the right mouse button.
- Centre on
- Put the currently displayed atoms in the centre of the screen and fill the screen with them.
- File Save/Restore ->Save data to file
- Saves the current coordinates to a PDB or mmCIF file - you are prompted for the file name. Any changes such as addition or deletion of atoms or structure transformation will be reflected in the saved file.
- File Save/Restore ->Restore data from file
- Reread the original data file - this effectively undoes any edit or transformation applied to the data.
- Add model display object
- Add a display object that can represent a selected set of atoms in any colour scheme and a variety of display styles (e.g. spheres, ribbons).
- Add display object
- Add a display object to represent Surface, Hydrogen bonds, Close contacts, Annotation (text labels on the model) or Temp factor spheroids.
- Display same as
- Set up one or more display objects to represent this model the same as either another loaded model or as a model in a status file. If you select a status file then you will be presented with a list of the models in that status file to choose one of them. Note that if, for example, the source data has particular ligand selected for one display object and this data does not contain an identically named ligand then nothing will be selected for the equivalent display object in this model. If you want to display many models in the same style the Picture Wizard and its user generated templates may be more useful.
- List data
- List either all atoms or just the currently visible atoms in either PDB or mmCIF format (set in the Preferences, General listing/analysis in the Model analysis folder). The coordinate data is prefaces by the file header information from the original data file and any editing or model transformation is reflected in the listing. The listing is in a window which has options to Save to file and Find in the text. Note that the combination of saving only visible atoms and saving to file can be used to write out a selected subset of atoms. Note also that clicking on an ATOM or HETATM line will cause the atom to be labelled in the main display, and double clicking will centre on the selected atom.
- Structure definition - Display load warnings
- By default less serious warning messages from data loading are not show (but see Preferences, General listing/analysis in the Model analysis folder). This will show the load warning - see atom typing for more background.
- Structure definition - Residue type assignment
- The information in the monomer library is used to categorise residue types (e.g. ALA is 'peptide', H2O is 'solvent') that is used in atom selection. This interface allows overriding the typing and providing a synonym if a monomer in your data has a different name to the definition in the monomer library. Note that a right mouse click on a line in the interface table will present a popup menu with additional table editing options.
- Structure definition - List secondary structure
- A new window is opened with a listing of the secondary structure assignment for the model. There is an option to save the data to a file.
- Structure definition - Edit secondary structure
- You may specify the secondary structure type for one residue or a range of residues to override the calculated secondary structure. Note:
This information is saved to the .ccp4mg file and will be reinstated on reloaded the same data file.
Right mouse clicking on a line in the interface table will present a popup menu with additional table editing options or to centre on a selected residue.
If you just want to customise colouring by secondary structure that can be achieved by using the Edit colour scheme.. option from the colour menu (see tutorial).
- Structure definition - (UN)Load DSSP secondary str.
- Load the secondary structure assignment output by the DSSP program (http://swift.cmbi.ru.nl/gv/dssp/). The DSSP filename will be remembered and loaded automatically if the program is closed and restarted. While DSSP data is loaded there is an option to unload it.
- Structure definition - Add/delete bonds
- The displayed bonds are usually derived from the monomer library and distance criteria - this interface will override the assigned bonds and the information is saved to the .ccp4mg file and will be reinstated on reloaded the same data file. . The interface is a table with the option to Add/Delete and then select two atoms. Note:
You can paste an atom name into the interface by left-mouse clicking on a displayed atom and them middle-mouse clicking in the atom name text widget.
A right mouse click on a line in the interface table will present a popup menu with additional table editing options.
You could represent unusual bonds (e.g. metal coordination) using vectors.
- Structure definition - List charge
- List the currently assigned charges for electrostatic calculations.
- Transform coordinates
- See here.
- Generate symmetry mates
- See here.
- Animation
- See here
- Clone
- Load the same coordinate data file again.
- Delete
- Delete the data object. Note that even if you have edited the structure you will not be prompted to save it.
Model Display Object
A new model display object is created by the Add model display object option on the model dot menu. The display object icon menu (click
) has options:
- Hide/Show
- Hide or show the display object. If the object is hidden the icon is greyed. Toggle hide/show by clicking on the icon with the right mouse button.
- Centre on
- Put the display object in the centre of the screen and fill the screen with it.
- Add colour legend
- Create a legend object with the a legend for the current colouring scheme. Note that the legend object can be moved or edited.
- Label atoms
- There are options to label no atoms, all atoms, or one atom per one, five or ten residues or SSE or chain termini. There is also a User defined.. option which gives access to the usual atom selection menu to make a customised selection of atoms to label. If the One atom per res option is on then only one atom in the customised selection of residues is labelled. The labelled atom is either a CA or the first atom in the residue. The default for this options set in the Preferences Atom labels in the Model display folder.
- Label text
- There is a list of items which may be included in the atom label. The default can be set in the Preferences window Atom labels in the Model display folder.
- Clone
- Create a new model display object with the same selection, colour and style as the current display object.
- List selected atoms
- List the atoms selected in the display object in PDB or mmCIF format (as chosen in the Preferences General listing/analysis in the Model analysis folder. From the listing window the data can be saved to file.
- Molecule drawing style
- By default the drawing parameters such as helix width or sphere radius are controlled by the Preferences Drawing style in the Model display folder. This opens a window with drawing style options to be customised for this display object only. See Drawing Styles for examples of different styles.
- Delete
- Delete this display object
Model Display Object Selection Menu
Clicking on the button in the Atom selection column gives the Atom Selection menu.
Colouring by Atom/Residue Property
The Colour Scheme menu has options for Atom properties and Residue properties including Temperature factor, Occupancy, Charge and Solvent Accessibility. There is a Colour legend option on the display object icon menu (the dot next to the model name) which displays a legend. The colour coding can be changed in the Preferences window, look in the Model colours folder. In this colour preferences window the defined parameters are
Below/Above normal range colour |
Colour for atoms with data values below or above the defined ranges |
Data value |
The lower range value |
Colour |
Colour for atoms with the data value Range value |
Add range/colour button |
Add an extra line to the table. |
Right mouse click on line in table |
Options to Delete range/colour or Insert above |
Interpolate |
Three modes for colouring (see below) |
direction (only for around colour wheel interpolation) |
direction round the colour wheel |
The colour wheel is shown left. By default colour interpolation is applied in around colour wheel mode. This means that an atom/residue with a data value between two of the range values in the table will be given a colour which is a mixture of the two appropriate colours with the path from one colour to the other following an arc around the colour wheel. The alternative interpolation mode is between RGB values which takes a straight line path across the colour wheel. This latter mode looks better for colour schemes include a white middle state e.g. red-white-blue.
If colour interpolation is switched off then all atoms/residues with data values between one range value and the next highest range value are given the same colour. In this mode the colour for Above normal range is not used - all atoms/residues with data values above the highest range value are given the colour for that range.
Model Display Object Colour Menu
Clicking on the button in the Colour scheme column gives the atom colouring menu.
- Atom type
- Colour according to the atom element type. The colour scheme is defined in Preferences Atom type in the Model colours folder.
- One colour
- A sub-menu lists possible colours and has a option New colour to open the interface to define a new colour to add to the list of options.
- By chain
- Colour each peptide or nucleic acid chain a different colour. Solvent, monomers etc. are coloured grey.
- Main/side chain
- Protein main chain and side chain are coloured differently. Non-protein is coloured grey.
- Secondary structure
- The types of secondary structure are coloured differently. The colour scheme is defined in Preferences Secondary structure in the Model colours folder.
- Blend thru model
- This opens a window with options to customise the colouring but just hitting the Apply button with give the default blend thru model colouring. You can choose whether to colour peptide, nucleic acid or both and whether to colour each residue or each SSE the same. The interface then consists of a table to select chains (or ranges of residues) and colours for the start and end of the chain (or range). Blending from start to end colour can go clockwise or anticlockwise around the colour wheel. The Add range button will add another row to the table and right-mouse clicking on any row in the table will give a menu with options to Delete range.
- Residue property - Residue type
- Colours protein and nucleic acid residues according to their type. The colour scheme is defined in Preferences Residue type in the Model colours folder.
- Residue property - Solvent accessibility
- >Colours according to the sum of the solvent accessibility over all non-hydrogen atoms in the residue. There is an option on the display icon menu to List solvent accessibility. The colour scheme is defined in Preferences Residue solvent accessibility in the Model colours folder.
- Residue property - Area buried by..
- On selecting this option another small window appears with a menu to select one other model display object; the surface area buried by contact with this object will be calculated and displayed using the colouring scheme defined in Preferences Residue buried area in the Model colours folder. There is an option on the display icon menu to List buried area.
- Atom property..
- There is a submenu with options Temperature factor, Occupancy,Alternate location, Charge and Solvent Accessibility and Buried area. The colour scheme for each of these is defined in Preferences in the Model colours folder. Note that atoms can also be labelled with temperature factor, occupancy and change.
- Non-carbon by atom type
- If this option is checked on then carbon atoms will be coloured by the scheme selected from the rest of the interface and the non-carbon atoms will be coloured by their atom type.
- Edit colour scheme
The rules for the current colour scheme are presented in a new window. If the current colour scheme is one of the colour by atom or residue property options or blend thru model then the rules can not be edited. The window (shown left) specifies a default colour and then a list of rules which are a selection criteria and a colour. The selection criteria button accesses the usual selection menu to change the selection. The colour menu has options to Edit colour or add a New colour which use the Colour Preferences interface. Clicking the Add selection/colour button will add a line to the bottom of the table; a right mouse click on a line in the table with give a popup menu with options to Delete selection/colour and Insert above. Note that the order of the rules may be significant as later rules override previous ones. The edited colour scheme can be saved by entering a name for the scheme and hitting the Save now button. Note that the scheme can be saved so that it is accessible for only the current model or for all models. The information is saved to the model definition file.
- Stick colour
- Choose the colour of the stick in ball-and-stick representation. The default is the Same as atom.
Model Display Object Style Menu
It is quicker to try the options than to read about them - so do that!
The final option Join display objects is on by default and means that when a model is split into more than one display object, such as a main chain ribbon and side chain cylinders, the bonds connecting the two objects will be drawn.
Temperature Factor Spheroids
The temperature factor spheroid icon menu includes the options:
- Scale
- Enter a number to scale the size of the spheroids.
The selection menu lists the model display objects; when one of these is selected temperature factor spheroids will be drawn over all of the atoms in that object.
The display style menu has options to draw the spheroids as Axes, Solid or Solid&Axes. The quality of the rendering in Solid mode is controlled by the Preference Render quality in the Display folder.