UCSF-Chimera/C2/Writing-Commands/English
|
|
---|---|
Slide Number 1
Title Slide |
Welcome to this tutorial on Writing Commands in Chimera. |
Slide Number 2
Learning Objectives |
In this tutorial, we will type commands to-
|
Slide Number 3
Learning Objectives |
|
Slide Number 4
Pre-requisites |
To follow this tutorial you should have knowledge of-
For relevant tutorials, please visit our website. |
Slide Number 5
System Requirement |
To record this tutorial, I am using
|
Click on the Chimera icon. | Double-click on the Chimera icon to open the Chimera window. |
Click on the lightning bolt icon. | Click on the lightning bolt icon to open the graphics window. |
Cursor on the panel.
|
In this tutorial, I will demonstrate how to use commands to manipulate the structure.
|
Point to the command
|
A command text box appears at the bottom of the Chimera window.
|
Slide Number 6
Chimera Commands |
About Chimera Commands.
|
Slide number 7
Chimera Commands |
Previous commands can be accessed from command History.
More information about commands is given at the link shown. http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/framecore.html |
Cursor on the command line. | Back to the Chimera window.
|
On the command line text box type open 1zik. | The command starts with a command word.
open space 1zik.
|
Press enter. | Press Enter to execute the command.
The structure appears on the screen. |
Type:
display Press enter. |
To change the ribbons display to atoms, in the command line text box type:
|
Cursor on the panel. | We now have the structure of the protein in atoms display.
The structure is partially represented as ribbons. |
Type:
~ ribbon
|
To hide the ribbons-
Here, tilda symbol followed by ribbon keyword hides the ribbons.
|
Cursor on the panel. | We can use color command to set colors to atoms, bonds, surfaces etc. |
Type:
|
For example, to change the color of all leucines, type:
For leucine, I will type leu.
|
Cursor on the command line. | If you do not specify a target, the entire structure will be colored in yellow.
Press Enter. Observe the panel. All the leucines are now colored yellow. |
Cursor on the command line.
Type color red :18.A Press enter |
We can specifically color an amino acid present at a particular location.
color space red space colon18.B Press Enter. |
Cursor on the panel. | Observe the panel.
histidine is now colored in red. |
Type
rep sphere Press enter |
To change the display of the entire structure to CPK spacefill, type rep
rep space sphere ; press Enter.
|
Type,
rep stick press enter. |
To bring back the structure to stick display, again type
rep space stick Press Enter |
Type
del solvent Press enter |
To hide the solvent molecules from the structure, type -
del (for delete) space solvent Press Enter. |
Type,
Select :18.A Press enter
select :28.B
|
To activate residues for selection, use select command word.
On the command line text box type, select space colon followed by the number and chain of the residue.
select space colon followed by 28 dot B Press Enter. |
Type
rlabel sel
|
Now to show the label for the residue selected, type
rlabel space sel Press Enter. |
Cursor on the panel. | Observe the panel.
|
press up arrow key to get the select command(select :28.B)
Type, ~select :28.B |
To de-select the residue which we have selected earlier, press up arrow key to get the select command.
Press Enter. |
Scroll down the commands index page. | A list of keywords and command index is available in the Help menu.
Click on the Help menu, scroll down and click on Commands index. A web-page opens with the list of keywords to write commands. |
Type:
background solid blue Press enter. |
Back to the Chimera window.
background space solid space blue Press Enter. |
Cursor on the panel. | The panel is now in blue color. |
Click on the black triangle present at the right side of the Command line. | To view the Command history, click on the black triangle present at the right side of the Command line. |
Cursor on the Command history.
|
The Command history lists previously used commands.
|
Click on Hide command line option. | To hide the command line, click on Hide command line option in the drop down. |
Click on File menu. Scroll down. | There are many options to save the structure you have created.
|
Scroll down the File menu. | You can:
|
Click on Save Image option. | For demonstration, let me save the image in JPEG format. |
Double click on “Desktop”.
File type as JPEG. |
Click on Save image option.
A Save image dialog box opens.
Choose the File type as JPEG. |
Type,
800 as image width and 600 as height.
|
Fix the image size according to your requirement.
The image is saved as 1zik.jpg on the Desktop. |
Cursor on the panel. | Let's summarize what we have learnt. |
Slide Number 8
Summary |
In this tutorial we typed commands to,
|
Slide Number 9
Summary |
|
Slide Number 10
Assignment |
Now for the Assignment
Type commands to,
Your completed assignment should look as follows. |
Slide Number 11
Acknowledgement |
The video at the following link summarizes the Spoken Tutorial project.
Please download and watch it. |
Slide Number 12 | The Spoken Tutorial Project Team conducts workshops and gives certificates for those who pass an online test.
For more details, please write to us. |
Slide number 13 | Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
More information on this Mission is available at the link shown. |
This is Snehalatha from IIT Bombay signing off. Thank you for joining. |