Re: [PyMOL] alter_state

2011-03-23 Thread Thomas Holder
Hello kanika, your multiplication and your python syntax for multiplication are wrong, it must be: alter_state 1, 3m8v_a, (x,y,z)=((-0.5*x+0.866025*y), (0.866025*x+0.5*y),-z) For REMARK 350, check these scripts: http://www.pymolwiki.org/index.php/BiologicalUnit http://www.pymolwiki.org/index.php/

Re: [PyMOL] alter_state

2011-03-23 Thread kanika sharma
I get the mistake.. Thanks all.. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (

Re: [PyMOL] alter_state for y coordinates (2)?

2007-06-19 Thread gilleain torrance
Hi, Firstly, I can see why there is a syntax error for the alter_state command: cmd.alter_state ("1",("1AW3 and name fe"),((x,y,z)=(x-a,y-b,z-c))") has the quotes in the wrong place. I guess it should be: cmd.alter_state("1","(1AW3 and name fe)","((x,y,z)=(x-a,y-b,z-c))") I can make eve

[PyMOL] alter_state for y coordinates (2)?

2007-06-19 Thread Gilles Truan
Sorry for my first post, I just relaized it was kind of hard to read with all the funny tags I am reposting for clarity!!! I am trying to run a script to translate all pdb structures so that an atom of the protein gets the coordinate (0,0,0) I have written a small script for that: for i

[PyMOL] alter_state for y coordinates?

2007-06-19 Thread Gilles Truan
Hello to everybody, I am trying to run a script to translate all pdb structures so that an atom of the protein gets the coordinate (0,0,0) I have written a small script for that: for i in pdb_names: stored.xyz = [] cmd.iterate_state(1,("%s and name fe" %(i)),"stored.xyz.append([x,y,z])") a=sto