[PyMOL] How to get the coordinates of the center of a group of atoms?

2010-04-29 Thread Cun Zhang
hi, I have a pdb file with serveral frames, I hope to get the trajectory of the center of a selected group of atoms. I use the following commands, but return the same coord. cmd.load(a.pdb) coord=[] for i in range(cmd.count_frames()): cmd.frame(i+1) cmd.center('id 1-24')

Re: [PyMOL] How to get the coordinates of the center of a group of atoms?

2010-04-29 Thread Jason Vertrees
Hi Cun, That's a good start. Just a couple things needs to be changed. First, frames don't track coordinates, states do. Frames are for movies; states are for coordinates. Next, instead of using center, use the origin command with the state parameter specified. Here's example code for 1NMR a

Re: [PyMOL] How to get the coordinates of the center of a group of atoms?

2010-04-29 Thread Cun Zhang
Dear Jason, Thank you for you quick reply! And This problem is solved! Yours, Zhang Cun On Thu, Apr 29, 2010 at 9:31 PM, Jason Vertrees jason.vertr...@schrodinger.com wrote: Hi Cun, That's a good start.  Just a couple things needs to be changed. First, frames don't track coordinates, states

[PyMOL] for evaluation only

2010-04-29 Thread victor kenyon
hi all, i am an academic using pymol and the new build places a for evaluation only graphic on top of the rendered structure. not very helpful for presentations, publications and the like. how do i circumvent this without using chimera to generate my images for pubs. thanks. victor

Re: [PyMOL] for evaluation only

2010-04-29 Thread Nathaniel Echols
On Thu, Apr 29, 2010 at 3:03 PM, victor kenyon vicken...@gmail.com wrote: i am an academic using pymol and the new build places a for evaluation only graphic on top of the rendered structure. not very helpful for presentations, publications and the like. how do i circumvent this without using

Re: [PyMOL] for evaluation only

2010-04-29 Thread Shiven Shandilya
hi victor, if you are on windows and need the latest pymol version, please take a look at christoph's pymol builds (thanks christoph!): http://www.lfd.uci.edu/~gohlke/pythonlibs/#pymol best, shiven On Thu, Apr 29, 2010 at 6:32 PM, Nathaniel Echols nathaniel.ech...@gmail.com wrote: On Thu,

Re: [PyMOL] for evaluation only

2010-04-29 Thread David Hall
The quick answer is Don't use an evaluation build. You have 3 main options: 1) become a sponsor and get builds of the latest code http://pymol.org/funding.html 2) use the free builds that are several years old http://pymol.org/rel/099/ 3) build pymol from source. There are instructions on