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 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
|
PyMOL>load dat/pept.pdb
CmdLoad: "dat/pept.pdb" loaded as "pept".
PyMOL>cls
PyMOL>print cmd.count_states()
1
PyMOL>print cmd.count_states("pept")
1
PyMOL>cmd.do("print 'it be done'")
PyMOL>print 'it be done'
it be done
PyMOL>viewport 200,150
PyMOL>stereo on
PyMOL>turn x,90
PyMOL>origin
PyMOL>origin (i;11)
PyMOL>origin pept
PyMOL>zoom (i;11)
PyMOL>zoom pept
PyMOL>zoom
PyMOL>frame 1
PyMOL>frame 2
PyMOL>move x,2
PyMOL>clip near,2
PyMOL>clip far,2
PyMOL>refresh
PyMOL>reset
PyMOL>meter_reset
PyMOL>mclear
PyMOL>mset 1 x10
PyMOL>mdo 1:turn x,5
PyMOL>mdo 2:turn y,10
PyMOL>rock
PyMOL>rock
PyMOL>forward
PyMOL>backward
PyMOL>rewind
PyMOL>ending
PyMOL>middle
PyMOL>mplay
PyMOL>mstop
PyMOL>color red
Executive: Colored 107 atoms.
PyMOL>color blue,(name n)
Executive: Colored 13 atoms.
PyMOL>flag 3=(resn his)
Flag: flag 3 is set in 10 of 107 atoms.
PyMOL>set_color dude = [ 1.0,0.6,0.3]
Color: "dude" defined as [ 1.000, 0.600, 0.300 ].
PyMOL>color dude,(name o)
Executive: Colored 13 atoms.
PyMOL>show sticks,(all)
PyMOL>hide
PyMOL>show lines
PyMOL>mmatrix store
PyMOL>turn x,45
PyMOL>mmatrix recall
PyMOL>disable
PyMOL>enable
PyMOL>mmatrix clear
PyMOL>refresh
PyMOL>rebuild
PyMOL>refresh
PyMOL>set line_smooth=1
Setting: line_smooth set to on.
PyMOL>label (all),chain
Label: labelled 107 atoms.
PyMOL>label (all),''
Label: labelled 107 atoms.
PyMOL>stored.cnt = 0
PyMOL>iterate (all),stored.cnt=stored.cnt+1
Iterate: iterated over 107 atoms.
PyMOL>print stored.cnt
107
PyMOL>stored.x = 0
PyMOL>iterate_state 1,(all),stored.x=stored.x+x
IterateState: iterated over 107 atom coordinate states.
PyMOL>print "%8.4f"%stored.x
130.9720
PyMOL>alter (all),segi='PEPT'
Alter: modified 107 atoms.
PyMOL>alter_state 1,(all),x = x + 1.0
AlterState: modified 107 atom coordinate states.
PyMOL>print "%8.4f"%cmd.get_dihedral("(i;11&n;n)","(i;11&n;ca)","(i;11&n;cb)","(i;11&n;cg)")
-160.7909
PyMOL>edit (i;11&n;n), (i;11&n;c), pkbond=0
Selector: selection "pk1" defined with 1 atoms.
Selector: selection "pk2" defined with 1 atoms.
PyMOL>dist
Executive: object "dist01" created.
PyMOL>dist (pk1),(pk2)
Executive: object "dist02" created.
PyMOL>dist tst
Executive: object "tst" created.
PyMOL>dist tst2 = (pk1),(pk2)
Executive: object "tst2" created.
PyMOL>bond
Bond: 1 bonds added to model "pept".
PyMOL>unbond
Unbond: 1 bonds removed from model "pept".
PyMOL>bond (pk1),(pk2),2
Bond: 1 bonds added to model "pept".
PyMOL>unbond (pk1),(pk2)
Unbond: 1 bonds removed from model "pept".
PyMOL>copy cpy=pept
Executive: object "cpy" created.
Executive: object cpy created.
PyMOL>select cpy_sel = (cpy)
Selector: selection "cpy_sel" defined with 107 atoms.
PyMOL>alter_state 1,(cpy),x=x+math.cos(y+z)
AlterState: modified 107 atom coordinate states.
PyMOL>rms cpy,pept
Executive: RMS = 0.695 (107 to 107 atoms)
PyMOL>rms (cpy and name ca),pept
Executive: RMS = 0.639 (13 to 13 atoms)
PyMOL>rms (cpy and name ca),(pept &n;ca)
Executive: RMS = 0.639 (13 to 13 atoms)
PyMOL>rms_cur cpy,pept
Executive: RMS = 0.700 (107 to 107 atoms)
PyMOL>rms_cur (cpy and name ca),pept
Executive: RMS = 0.722 (13 to 13 atoms)
PyMOL>rms_cur (cpy and name ca),(pept &n;ca)
Executive: RMS = 0.722 (13 to 13 atoms)
PyMOL>fit cpy,pept
Executive: RMS = 0.695 (107 to 107 atoms)
PyMOL>fit (cpy),(pept)
Executive: RMS = 0.695 (107 to 107 atoms)
PyMOL>fit (cpy and name ca),(pept &n;ca)
Executive: RMS = 0.639 (13 to 13 atoms)
PyMOL>pair_fit (cpy&i;11&n;ca),(pept&i;11&n;ca),\
PyMOL>(cpy&i;5&n;ca),(pept&i;5&n;ca),\
PyMOL>(cpy&i;1&n;ca),(pept&i;1&n;ca),\
PyMOL>(cpy&i;8&n;ca),(pept&i;8&n;ca)
ExecutiveRMS: RMS = 0.478 (4 to 4 atoms)
PyMOL>update (cpy),(pept)
Update: coordinates updated for 107 atoms.
PyMOL>remove (cpy and name c)
Remove: eliminated 13 atoms in model "cpy".
PyMOL>edit (cpy and i;11 & n;ca)
Selector: selection "pk1" defined with 1 atoms.
PyMOL>remove_picked
Remove: eliminated 1 atoms in model "cpy".
PyMOL>edit (cpy and i;5 & n;ca),(cpy and i;5 and n;cb)
Selector: selection "pk1" defined with 1 atoms.
Selector: selection "pk2" defined with 1 atoms.
PyMOL>alter (cpy),name=''
Alter: modified 93 atoms.
PyMOL>rename cpy
Rename: renamed 93 atoms.
PyMOL>rename cpy,1
Rename: renamed 93 atoms.
PyMOL>cycle_valence
PyMOL>cycle_valence
Remove: eliminated 1 atoms in model "cpy".
Remove: eliminated 1 atoms in model "cpy".
PyMOL>cycle_valence
PyMOL>remove_picked
PyMOL>edit (cpy and i;11 &n;n)
Editor-Error: Invalid input selection(s).
PyMOL>cmd.attach("H",1,1)
PyMOL>create tmp = (cpy&i;5)
Selector: found 13 atoms.
Executive: object "tmp" created.
PyMOL>fuse (cpy&i;11&n;cb),(tmp&n;cb)
PyMOL>edit (cpy and i;10 & n;n)
Editor-Error: Invalid input selection(s).
PyMOL>h_fill
PyMOL>h_fill
PyMOL>h_add (cpy)
PyMOL>edit (cpy and i;8 &n;o)
Editor-Error: Invalid input selection(s).
PyMOL>cmd.replace("S",3,1)
Error: you must first pick an atom to replace.
PyMOL>delete tmp
PyMOL>delete cpy
PyMOL>delete cpy_sel
PyMOL>edit (i;11&n;ca)
Selector: selection "pk1" defined with 1 atoms.
PyMOL>unpick
PyMOL>protect (pept and n;ca)
Protect: 13 atoms protected from movement.
PyMOL>protect pept
Protect: 107 atoms protected from movement.
PyMOL>protect
Protect: 107 atoms protected from movement.
PyMOL>deprotect (pept and n;ca)
Protect: 13 atoms deprotected.
PyMOL>deprotect
Protect: 107 atoms deprotected.
PyMOL>mask (pept and n;ca)
Mask: 13 atoms masked (cannot be picked or selected).
PyMOL>mask pept
Mask: 107 atoms masked (cannot be picked or selected).
PyMOL>mask
Mask: 107 atoms masked (cannot be picked or selected).
PyMOL>unmask (pept and n;ca)
Mask: 13 atoms unmasked.
PyMOL>unmask
Mask: 107 atoms unmasked.
PyMOL>edit (i;11&n;ca),(i;11&n;n),(i;11&n;c)
Selector: selection "pk1" defined with 1 atoms.
Selector: selection "pk2" defined with 1 atoms.
Selector: selection "pk3" defined with 1 atoms.
PyMOL>invert
Editor: Inverted atom.
PyMOL>invert
Editor: Inverted atom.
PyMOL>edit (i;11&n;ca),(i;11&n;cb)
Selector: selection "pk1" defined with 1 atoms.
Selector: selection "pk2" defined with 1 atoms.
PyMOL>torsion 10
PyMOL>torsion -10
PyMOL>torsion 180
PyMOL>torsion 180
PyMOL>print cmd.get_model().__class__
chempy.models.Indexed
PyMOL>print "%8.3f"%cmd.get_area()
1381.186
PyMOL>print "%8.3f"%cmd.get_area("(name ca)")
112.133
PyMOL>print cmd.get_names()
['pept', 'dist01', 'dist02', 'tst', 'tst2']
PyMOL>print cmd.get_type('pept')
object:molecule
PyMOL>print cmd.identify("(i;7)")
[52, 53, 54, 55]
PyMOL>print "%8.4f %8.4f %8.4f %8.4f %8.4f %8.4f"%(ext[0][0],ext[0][1],ext[0][2],ext[1][0],ext[1][1],ext[1][2])
-4.1880 -20.3310 13.1570 9.9190 0.8630 27.0580
PyMOL>sort
PyMOL>sort pept
PyMOL>spheroid
Warning: 'spheroid' is experimental, incomplete, and unstable.
ObjectMolecule: computing spheroid from states 1 to 1.
PyMOL>spheroid pept
Warning: 'spheroid' is experimental, incomplete, and unstable.
ObjectMolecule: computing spheroid from states 1 to 1.
PyMOL>cmd.config_mouse(quiet=0)
config_mouse: three_button
PyMOL>rewind
PyMOL>dele all
PyMOL>load dat/ligs3d.sdf
ObjectMoleculeReadStr: read through molecule 1.
ObjectMoleculeReadStr: read through molecule 2.
ObjectMoleculeReadStr: read through molecule 3.
ObjectMoleculeReadStr: read through molecule 4.
ObjectMoleculeReadStr: read through molecule 5.
ObjectMoleculeReadStr: read through molecule 6.
ObjectMoleculeReadStr: read through molecule 7.
ObjectMoleculeReadStr: read through molecule 8.
ObjectMoleculeReadStr: read through molecule 9.
ObjectMoleculeReadStr: read through molecule 10.
ExecutiveLoad: "dat/ligs3d.sdf" loaded as "ligs3d", through state 10.
PyMOL>split_states ligs3d
PyMOL>print cmd.get_names()
['ligs3d', 'MFCD02681585', 'MFCD01567969', 'MFCD00023789', 'MFCD02579443', 'MFCD02579410', 'MFCD02579135', 'MFCD02681468', 'MFCD00141070', 'MFCD02983625', 'MFCD00115818']
PyMOL>rewind
PyMOL>ray renderer=2
RayRenderTest: obtained 564 graphics primitives.
|