RASMOL Tutorial - Creating and Running Scripts

Created by: Angela M. Amoia 08/14/03
Adapted from a lesson by: William R. Montfort 09/12/00
Last Updated/Modified by: Angela M. Amoia 08/30/04
Lesson Date: 09/15/04 - W

 

A Bit About RASMOL Scripts

What is a script? A script is a text file that contains a number of RASMOL commands and allows a series of representations (views) to be predefined and executed sequentially by RASMOL. (To clarify, a text file is created using a text editor such as TextPad, wordpad or notepad, uses ascii format and has the file extension '.txt'.) A script is usually created to illustrate an interesting feature(s) of a protein. For our purposes, a script is highly annotated and should act as a stand-alone lesson. It is useful to describe each view you are showing (using the 'echo' command), just as a figure legend, so the viewer can understand what you are trying to point out. The script as a whole, should flow as if you are telling a story to your viewer. The user should be able to walk away having learned something about the protein without having the creator present to talk you through it.

Scripting Commands: We have seen several scripts in lecture and you will prepare scripts for your class presentations. Some scripting commands will be introduced through this tutorial however not all can be visited. For a complete list and description of commands please refer to the RasMol Manual (for version 2.6) http://www.umass.edu/microbio/rasmol/distrib/rasman.htm (Roger Sayle, Glaxo). A hard copy can be found in the computer lab in the class binder. Please DO NOT REMOVE this from the lab. I will NOT REPLACE IT!

Tips:

 


Tutorial Exercise

This exercise is designed to teach you how to create and run scripts using the molecular graphics program RASMOL. If you have any questions, please ask!

Tutorial Exercise Objectives:

Note: Next week in class (09/24/03) you will be asked to run your SHORT novel script. In two weeks (10/01/03) you will turn in the beginning of your RASMOL script for your project. In three weeks (10/08/03) you will turn in a printout of your RASMOL script that recreates one of the detailed figures in your cornerstone paper. For more details on these assignments, please see the computer section packet.

PART I. Run a pre-made script. In this part, you will run a pre-made script in RASMOL while having the script open in a text editor (or the printed version beside you) to follow the predefined views and annotations in order to begin learning how to make a script file. The protein to be used is myoglobin (1MBN.pdb) and the script is called 'ras_intro.txt'.The steps for this are:

 

PART II. Create and run a SHORT novel Script. In this part, we will create a short script together using the protein NP4 (1KOI.pdb). NP4 is a nitric oxide (NO) transport protein. It is similar to myoglobin in respect that it contains a heme cofactor that binds ligands. We will load the PDB file, highlight one interesting feature of the protein, vaguely annotate with "echo" comments, and use the "reset" and "pause" commands at least once.

I have created three versions of this script in advance. I strongly recommend you go back and practice at your own pace. You can find these on the course website under Computer Section /Computer Section Weekly Handouts:

Version 1: 'ras_introscripts_np4raw.txt '. This version contains the least amount of annotation and no side notes describing the commands used. Its purpose is to illustrate the bare bones of a script. Together we will recreate this script step-by-step from scratch. We will go as far as we can and then you can finish at your will.

Version 2: 'ras_introscripts_np4notes.txt'. This version contains fully annotated views (i.e. with detailed figure descriptions) and side notes describing the commands used. Its purpose is to familiarize you on how scripting commands relate to the display. This will be useful when going back on your own. Note: THIS SCRIPT WILL NOT EXECUTE IN RASMOL! IT IS A PAPER VERSION ONLY FOR LEARNING PURPOSES. YOU CAN EITHER PRINT IT OR HAVE IT OPEN IN A TEXT EDITOR.

Version 3: 'ras_introscripts_np4.txt'. This version contains fully annotated views (i.e. with detailed figure descriptions). Its purpose is to illustrate how a script should be highly descriptive and thus can act as a stand-alone lesson. The annotations (i.e. figure descriptions) are detailed and the script flows as if telling a story to the viewer. Please use this script as a "role model" for how your final project script should look.

 

OK lets start:

 

 


END OF TUTORIAL EXCERSIZE :)