File: lesson4.html

package info (click to toggle)
garlic-doc 1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,196 kB
  • sloc: makefile: 2
file content (229 lines) | stat: -rw-r--r-- 2,710 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<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>