Using Commands

  • Commands to Chime.
  • Commands to Protein Explorer.
  • Commands to Chime

    Commands sent to Chime control the image of the molecule. Protein Explorer's buttons and menus operate by generating sequences of commands and sending them to Chime. The commands are displayed in the message box as they are being executed. Thus, a good way to learn about Chime's command language is to watch the commands generated by Protein Explorer's menus and buttons.

    Commands may also be entered by hand, although one of the major benefits of using Protein Explorer is that you don't have to learn Chime's command language. To send a command to Chime, type it in the command input slot (the one initially labeled "#Enter commands here") and press Enter. For example, try entering these commands, pressing Enter after each line:

    Previously executed commands can be recalled with Commands: Back (near the command input slot). If you recall too many, use Fwd. After you recall a command, you can edit it (if desired), then press Enter to execute it. Command recall can also be done with shortcut commands to PE.

    Most commonly used commands have short aliases. These require less typing, and are liable to fewer typing errors. For example, the above three commands can be entered as:

    To see the list of aliases, and instructions on how to use them, click on Show aliases below the message box. You can change, add, or delete aliases simply by editing a text file.

    Chime's command language is a superset of RasMol's. An introduction to commands useful for selecting groups of atoms or portions of a molecule is in the document Select Commands in Chime and RasMol. Comprehensive reference manuals begin with the RasMol Reference Manual and continue with the command enhancements in Chime, documented at MDL's Chime Script Commands. The most complete collection of Chime documentation is at MolviZ.Org.

    Commands to Protein Explorer (PE)

    Commands to PE itself ("PE commands") are entered in the same slot as commands to Chime, but they are not sent to Chime and do not affect the molecular image. Instead, they affect the state of PE. PE commands are short (one or two characters) and use characters that are easy to type (not Shifted, for example).

    Because these commands act on PE but are not sent to Chime, they are distinct from command aliases, which can also be one or two characters long.

    PE commands are: