File: lesson10.html

package info (click to toggle)
garlic-doc 1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,216 kB
  • sloc: makefile: 5
file content (215 lines) | stat: -rw-r--r-- 2,639 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
<html>

<head>
<title>
Lesson 10
</title>
</head>

<h1 align=center>

Garlic Tutorial

</h1>

<h2 align=center>

Lesson 10 - The Semitransparent Plane

</h2>

<hr size="3">


This lesson explains how to control the plane associated with the
structure. More precisely, you will learn how to show, hide or move the
plane and how to change the plane properties. The plane may be used to
divide the structure in two parts, for selection and to model the cellular
membrane.
<br><br>

It might be good idea to read the text about the command
<a href="../commands/pla.html">
PLANE
</a>
 before you start with this lesson.
<br><br>



Step 1 - start garlic (if not started already):
<br><br>


<font color=RED>

garlic
<br><br>

</font>


Step 2 - load some the structure. In this lesson the papain structure
is used, but you can use any other structure.
<br><br>


<font color=RED>

load 9PAP.pdb
<br><br>

</font>


Step 3 - make the plane visible:
<br><br>


<font color=RED>

pla
<br><br>

</font>


Now you should see an ellipsa which represents the plane. If you have not
rotated the structure before making the plane visible, the ellipsa will be
blue. The near edge will be bright, while the far edge will be dark.
<br><br>



Step 4 - rotate both the structure and the plane about x axis:
<br><br>


<font color=RED>

Hold the [shift] key and press 8 on numeric keypad.
<br><br>

</font>


Note the change of the ellipsa color: now you see another face of the plane.
The blue face is treated as the upper side, while the orange-red face is
treated as bottom side.
<br><br>



Step 5 - change the plane radius.
<br><br>


<font color=RED>

pla rad 20
<br><br>

</font>


Step 6 - Change the plane transparency (make it opaque):
<br><br>


<font color=RED>

pla tra 0
<br><br>

</font>


Step 7 - select all atoms above the plane:
<br><br>


<font color=RED>

sel above
<br><br>

</font>


Step 8 - change color for the current selection:
<br><br>


<font color=RED>

color cold
<br><br>

</font>


Step 9 - attach movement controls to the plane:
<br><br>


<font color=RED>

mov pla
<br><br>

</font>


Step 10 - rotate the plane, leaving the structure in its current orientation:
<br><br>


<font color=RED>

Use numeric keypad (keys 2, 8, 4 and 6) and modifier keys (shift, alt, control)
to rotate the plane.
<br><br>

</font>


Step 11 - attach controls to both structure and plane:
<br><br>


<font color=RED>

mov all
<br><br>

</font>


Step 12 - hide the plane:
<br><br>


<font color=RED>

pla off
<br><br>

</font>


Step 13 - discard the structure:
<br><br>


<font color=RED>

dis all
<br><br>

</font>

<hr size="3">

</html>