Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > eede1088262777189a3d3f16cb3dc560 > files > 294

garlic-1.6-6.i586.rpm

<html>

<head>
<title>
Lesson 4
</title>
</head>

<h1 align=center>

Garlic Tutorial

</h1>

<h2 align=center>

Lesson 4 - Drawing Styles and Color Schemes

</h2>

<hr size="3">


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.
<br><br>

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.
<br><br>

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.
<br><br>



Step 1 - start garlic (if this wasn't done before):
<br><br>


<font color=RED>

garlic
<br><br>

</font>


Step 2 - load trypthophan and bring it closer to you:
<br><br>


<font color=RED>

loa trp.pdb
<br>
pos 0 0 -150
<br><br>

</font>


Step 3 - make bonds invisible (i.e. set bond thickness to zero):
<br><br>


<font color=RED>

bon 0
<br><br>

</font>


Step 4 - learn which drawing styles are available for atoms.
<br>
Hint: use the arrow key "UP" to call the previous command.
<br><br>


<font color=RED>

ato 1
<br>
ato 2
<br>
ato 3
<br>
ato 4
<br>
ato 5
<br>
ato 6
<br>
ato 7
<br>
ato bal
<br>
ato ba2
<br>
ato big
<br>
ato bi2
<br>
ato spa
<br>
ato sp2
<br><br>

</font>


Step 5 - hide atoms:
<br><br>


<font color=RED>

ato 0
<br><br>

</font>


Step 6 - learn which drawing styles are available for bonds.
<br>
Hint: use the arrow key "UP" to call the previous command.
<br><br>


<font color=RED>

bon 1
<br>
bon 2
<br>
bon 3
<br>
bon 4
<br>
bon 5
<br><br>

</font>


Step 7 - learn how to draw balls and sticks:
<br><br>


<font color=RED>

bon 4
<br>
ato bal
<br><br>

</font>


Step 8 - try some predefined color schemes.
<br>
Hint: use the arrow key "UP" to call the previous command.
<br>
Warning: Always use the full color scheme name (do not abbreviate)!
<br><br>


<font color=RED>

col red
<br>
col green
<br>
col blue
<br>
col yellow
<br>
col cyan
<br>
col magenta
<br>
col white
<br>
col yellow-green
<br>
col cyan-green
<br>
col cyan-blue
<br>
col magenta-blue
<br>
col magenta-red
<br>
col orange
<br>
col hot
<br>
col cold
<br>
col cpk
<br><br>

</font>


Step 9 - discard loaded structure:
<br><br>


<font color=RED>

dis all
<br><br>

</font>

<hr size="3">

</html>