Re: [PyMOL] C-aplha c-alpha distances

2013-09-11 Thread Thomas Holder
Hi Ananya, if you really want CA-CA distances of *each residue*, it will be a few lines of scripting: xyz_initial = cmd.get_model('initial & guide').get_coord_list() xyz_final = cmd.get_model('final_copy & guide').get_coord_list() from chempy import cpv for xyz_pair in zip(xyz_initial, xyz_final

[PyMOL] C-aplha c-alpha distances

2013-09-10 Thread Ananya Chatterjee
Dear all, I have aligned two structures (one the initial structure and another one is the final structure after MD simulation) in pymol, now I want to measure the C-alpha- C-alpha distances of each residue between the initial and the final structure of the MD simulation. Is it possible to do it

Re: [PyMOL] C-aplha c-alpha distances

2013-09-10 Thread Jason Vertrees
Hi Ananya, This is easily doable in PyMOL. If you've already aligned the two structures and, let's stay they're called protein1 and protein2, then use "rms_cur": rms_cur protein1 and guide, protein2 and guide If the initial and final structures are in the same object loaded from disk then you