next up previous contents index
Next: Controlling breakpoints and the Up: Miscellaneous rules and features Previous: MODELLER system   Contents   Index


Running MODELLER scripts

MODELLER is a command-line only tool, and as such should be run from a command-line environment, whether this be be a Unix console or xterm, the Mac Terminal application, or a Windows Command Prompt. The command to run MODELLER is

mod7v7 script_file_name

where script_file_name is the name of the script file with instructions for MODELLER. (If the name `-' is given, commands will be read instead from standard input.) This file contains commands in the TOP language. Each command line consist of the name of the command and optional variable assignments that control the action of the command. The scope of the variables is global; that is, once a variable is assigned on any command line, the assigned value remains in effect, in the main program and all subroutines, until explicitly changed by another assignment or, in a few cases, by MODELLER. All the commands and the default values of the variables are listed in Section 5.4. This Chapter describes the TOP commands that are used for dealing with proteins; the general TOP commands (e.g., assignment, flow control, arithmetic operations) are described in Chapter 4.

See directory examples for examples of the TOP scripts that use commands described in this Chapter. In particular, sub-directory examples/commands contains the examples used in this Chapter. Another set of TOP scripts that you could use as templates can be found in the bin directory.


next up previous contents index
Next: Controlling breakpoints and the Up: Miscellaneous rules and features Previous: MODELLER system   Contents   Index
Ben Webb 2004-10-04