Lesson 4

# Garlic Tutorial

## Lesson 4 - Drawing Styles and Color Schemes

In this lesson, you will learn different drawing styles, used for atoms and bonds. Note that garlic uses separate styles for atoms and bonds. You will also try some predefined color schemes. Use the X server which offers 24 bits per pixel, if possible.
As you will often reuse some commands, just with a different argument, note that garlic has a history buffer, where commands which were previously used are stored. The arrow keys may be used to recall one of these commands.
Use the "UP" arrow to scan the history buffer backwards, "DOWN" arrow to scan it upwards, "LEFT" arrow to move the insertion mark left and "RIGHT" arrow to move the insertion mark to the right (if possible, of course). Backspace (or delete, if you have some unusual keyboard mapping) may be used to remove characters.
Step 1 - start garlic (if this wasn't done before):
garlic
Step 2 - load trypthophan and bring it closer to you:
loa trp.pdb
pos 0 0 -150
Step 3 - make bonds invisible (i.e. set bond thickness to zero):
bon 0
Step 4 - learn which drawing styles are available for atoms.
Hint: use the arrow key "UP" to call the previous command.
ato 1
ato 2
ato 3
ato 4
ato 5
ato 6
ato 7
ato bal
ato ba2
ato big
ato bi2
ato spa
ato sp2
Step 5 - hide atoms:
ato 0
Step 6 - learn which drawing styles are available for bonds.
Hint: use the arrow key "UP" to call the previous command.
bon 1
bon 2
bon 3
bon 4
bon 5
Step 7 - learn how to draw balls and sticks:
bon 4
ato bal
Step 8 - try some predefined color schemes.
Hint: use the arrow key "UP" to call the previous command.
Warning: Always use the full color scheme name (do not abbreviate)!
col red
col green
col blue
col yellow
col cyan
col magenta
col white
col yellow-green
col cyan-green
col cyan-blue
col magenta-blue
col magenta-red
col orange
col hot
col cold
col cpk
Step 9 - discard loaded structure:
dis all