clearly shouldn’t write e-mails before having my morning coffee. Those %
symbols should have been pounds, I was aiming to make comments
As an example:
fetch 1acb, prot, async=0
stored.y=[]
iterate_state 1, prot, stored.y.append(y)
alter prot, b=stored.y.pop(0)
spectrum b
On Nov 18, 2015, at
Dear David,
I am unfamiliar with the pymol scripts so I do not understands where your
scripts end at each line. Can we write this way,
stored.y=[]
iterate_state 1, prot, stored.y.append(y)
alter prot, b=stored.y.pop(0)
which means those from % in your scripts will be not used in each line fo
Schrodinger contain examples
to that end.
HTH
Carsten
From: David Hall [mailto:li...@cowsandmilk.net]
Sent: Wednesday, November 18, 2015 8:13 AM
To: Smith Liu
Cc: pymol-users@lists.sourceforge.net
Subject: Re: [PyMOL] on coloring residues based on y values in the x y z
coordinates
I forgot:
spectrum b
I forgot:
spectrum b
at the end.
On Wed, Nov 18, 2015 at 8:11 AM, David Hall wrote:
> Assuming you are ok with overwriting the B-factors
>
>
> stored.y=[]
> iterate_state 1, prot, stored.y.append(y) % prot here should be replaced
> with your pymol object name
> alter prot, b=stored.y.pop(0)
Assuming you are ok with overwriting the B-factors
stored.y=[]
iterate_state 1, prot, stored.y.append(y) % prot here should be replaced
with your pymol object name
alter prot, b=stored.y.pop(0) % again, replace prot with your pymol object
name
On Wed, Nov 18, 2015 at 7:49 AM, Smith Liu wrote
Dear All,
Is any way we can colour the molecule by pymol based on the y values in the z y
z coordinates, so that we can view easily the residues (or atoms) with
equivalent position in the primary sequence but has a y-axis shift in the 3-D
structure?
Smith