File: lesson5.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 (212 lines) | stat: -rw-r--r-- 2,544 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
<html>

<head>
<title>
Lesson 5
</title>
</head>

<h1 align=center>

Garlic Tutorial

</h1>

<h2 align=center>

Lesson 5 - How to Select Atoms

</h2>

<hr size="3">


In this lesson, you will learn how to select atoms. The command select (or
whatever command plays this role) is one of the most important commands in
every molecular visualization program.
<br><br>
For this lesson, you will need a true protein structure, not just a single
amino acid as in previous lessons.
<br><br>



Step 1 - obtain the protein structure:
<br><br>


<font color=RED>

Use you web browser to access
<a href="http://www.rcsb.org/pdb">
The Protein Data Bank (www.rcsb.org)
</a>
.
<br>
Type 1HUC into the small search field. Start the search and wait
for the answer.
<br>
Choose the option "Download/Display File".
<br>
Finally, choose file format "PDB", compression "none" in the section
"Download the Structure File" and wait.
<br><br>

</font>


Step 2 - start garlic (if necessary):
<br><br>


<font color=RED>

garlic
<br><br>

</font>


Step 3 - load the structure. You should have the file 1HUC.pdb somewhere
in the path searched by garlic (if you defined the environment variable
MOL_PATH), or in your current working directory.
<br><br>


<font color=RED>

loa 1HUC.pdb
<br><br>

</font>


Step 4 - draw backbone, to simplify the picture:
<br><br>


<font color=RED>

bac
<br><br>

</font>


Step 5 - use different colors for different chains:
<br><br>


<font color=RED>

col chain
<br><br>

</font>


Step 6 - select chain A, draw balls and sticks and change color scheme to CPK:
<br><br>


<font color=RED>

sel a/*/*/*
<br>
bac off
<br>
bon 4
<br>
ato bal
<br>
col cpk
<br><br>

</font>


Step 7 - redefine the internal system origin (the rotation center) and
move chain A to the screen center:
<br><br>


<font color=RED>

cen
<br>
pos 0 0 0
<br><br>

</font>


Step 8 - restrict the selection to aliphatic amino acids and change color
to yellow (chain A):
<br><br>


<font color=RED>

res ali
<br>
col yellow
<br><br>

</font>


Step 9 - select all, make it visible, show only backbone but reduce
the backbone thickness:
<br><br>


<font color=RED>

sel *
<br>
sho
<br>
bac 3
<br><br>

</font>


Step 10 - hide side chains:
<br><br>



Step 10 - select cysteine residues, but only for chains A and C;
make them visible, use spacefill style:
<br><br>


<font color=RED>

sel a,c/*/cys/*
<br>
show
<br>
ato spa
<br><br>

</font>


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


<font color=RED>

dis all
<br><br>

</font>

<hr size="3">

</html>