forked from PyMOL-Ross/Pymol-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTutorial-5-Building.txt
198 lines (152 loc) · 3.83 KB
/
Tutorial-5-Building.txt
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
########################################
# Building with pymol #
########################################
########################################
https://pymolwiki.org/index.php/Modeling_and_Editing_Structures
########################################
########################################
# Make Peptide in Pymol (helix, sheet)
refresh editing mode,
bond
unbond
2x peptides, fuse
[ALT] WELIKE etc
fab CHEMISTRY, ss=1
# sequence view
alter obj01, resi=str(int(resi)+6)
pick n and c termini
fuse
fab CHEMISTRY, name-helix, ss=1
fab CHEMISTRY, name-anti, ss=2
fab CHEMISTRY, name-para, ss=3
Building with pymol
The builder
[ALT]ACD etc
Joining structures
Fuse
# can use on whole proteins . . .
rein
fetch 3chb, type=pdb, async=0
remove hetatm
util.cbc
split_chains
disable 3chb_F
disable 3chb_G
disable 3chb_H
orient
select 3chb_D & i. 103
orient sele
show sticks, sele
util.cnc
remove 3chb_D & i. 103 & n. oxt
select 3chb_D & i. 103 & n. c
select c-term, 3chb_D & i. 103 & n. c
select 3chb_E & i. 1
orient sele
show sticks, sele
select n-term, 3chb_E & i. 1 and n. n
fuse c-term, n-term
# change phi and psi - NOT THE PEPTIDE BOND!!!
now click in space > editing mode > [CTR]-right click phi or psi > [CTR]-left click[HOLD] and drag to rotate component about bond
Clean up nomenclature i. c. s.
alter 3chb_E & c. E, resi=str(int(resi)+103)
alter 3chb_E & c. D, chain='E'
########################################
# Importing and Building Small Molecules
Having trouble? --> use openbabel
Builder widget
rein
Import Lewis-y from chemdraw
Clean > Scuplt
Make Lewix-y in Pymol
########################################
# Structural Transforations
rein
fetch 2chb, async=0
remove ! polymer
split_chains
orient
# axis
rotate x, 90, 2chb_D
# vector
rotate [1,1,1],45,2chb_E
translate [0,0,20], 2chb_D
# rotations and translations are based on the camera angle
orient
rotate x, 90, 2chb_F
turn y, 90
rotate x, 90, 2chb_F
# make a dimer
orient
create obj01, 2chb, 1, 0
rotate x, 180, obj01
translate [0,0,32], obj01
color cyan, obj01
as sticks
util.cbc
util.cnc
alter obj01, segi='nseg'
extract dimer, obj01 + 2chb
delete 2chb* + obj01
sort dimer
sculpt_activate dimer,
sculpt_iterate all, cycles=1000
sculpt_deactivate dimer
flag free, all
########################################
rein
fetch 2chb, async=0
remove ! polymer
split_chains
orient
util.cbc
select interE, br. 2chb_E within 5 of 2chb_D
select interH, br. 2chb_H within 5 of 2chb_D
translate [-20,20,0], 2chb_D
show surface, interE
show surface, interH
color orange, inter* & r. ALA+CYS+PHE+ILE+LEU+MET+PRO+VAL+TRP & ! n. C+CA+N+O
util.cnc
color orange, inter* & r. ALA+CYS+PHE+ILE+LEU+MET+PRO+VAL+TRP & ! n. C+CA+N+O
########################################
# Single chained lumazine synthase
rein
fetch 1nqu, type=pdb, async=0
remove ! polymer
util.cbc
split_chains
show sticks, sele
color grey50
util.chainbow c. A
util.chainbow c. B
as sticks
util.cnc
# select ‘N’ of i. 1 use [ALT]G, [ALT]S to make chain
or fab GSGSGSGSGSGSGSG
# use auto-sculpting
# editing [CTL] drag
flag free, all
flag fix, all and not sele
set auto_sculpt, on
set sculpting, off
set auto_sculpt, off
flag free, all
sort newmol
select ligand, c. A
flag fix, ligand
sculpt_activate newmol
sculpt_iterate all, cycles=1000
sculpt_deactivate newmol
flag free, all
create obj02, obj01, 0, 1
create obj03, obj01, 0, 1
create obj04, obj01, 0, 1
create obj05, obj01, 0, 1
align obj02 & c. A, 1nqu_B
align obj03 & c. A, 1nqu_C
align obj04 & c. A, 1nqu_D
align obj05 & c. A, 1nqu_E
alter obj02, resi=str(int(resi)+200)
alter obj03, resi=str(int(resi)+400)
alter obj04, resi=str(int(resi)+600)
alter obj05, resi=str(int(resi)+800)