File: lesson3.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 (155 lines) | stat: -rw-r--r-- 1,841 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
<html>

<head>
<title>
Lesson 3
</title>
</head>

<h1 align=center>

Garlic Tutorial

</h1>

<h2 align=center>

Lesson 3 - Playing with Two Structures

</h2>

<hr size="3">


In this lesson, you will learn how to work with two or more structures.
The original source package contains two PDB files: trp.pdb and phe.pdb.
Each contains a single amino acid: trp.pdb = tryptophan,
phe.pdb = phenylalanine. In this lesson, tryptophan will be colored blue,
while phenylalanine will be colored red. Note the role of the command 
cat (catch).
<br><br>



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


<font color=RED>

garlic
<br><br>

</font>


Step 2 - load trypthophan:
<br><br>


<font color=RED>

loa trp.pdb
<br><br>

</font>


Step 3 - change TRP color to blue:
<br><br>


<font color=RED>

col blue
<br><br>

</font>


Step 4 - load phenylalanine:
<br><br>


<font color=RED>

loa phe.pdb
<br><br>

</font>


Step 5 - change PHE color to red:
<br><br>


<font color=RED>

col red
<br><br>

</font>


Two structures will be distinguished by color and by the identifier:
tryptophan is treated as structure number 1, and phenylalanine is treated
as structure number 2.  Two structures are now overlapping.
<br>
Step 6 - move tryptophan to the left:
<br><br>


<font color=RED>

cat 1
<br>
pos -5 0 0 
<br><br>

</font>


Step 7 - move phenylalanine to the right:
<br><br>


<font color=RED>

cat 2
<br>
pos 5 0 0
<br><br>

</font>


Step 8 etc. - use the command cat (catch) to rotate structures one by one:
<br><br>


<font color=RED>

Use cat 1 and cat 2 to catch and rotate structures, one by one.
<br>
Translate both structures to the position where they will be overlapped, but
do not use keyword pos!
<br><br>

</font>


When finished, discard loaded structures:
<br><br>


<font color=RED>

dis all

</font>

<hr size="3">

</html>