Hi all,
Is there an easy way to get coordinates of a given atom?
e.g. 'get_coordinates /model//A/ALA`76/CA'
for the CA coordinates of resi 76
All the examples on the wiki use iterate to get the coordinates of a
selection. Is there a simple way to get one coordinate of a given
atom?
--
Bradley
Hi Bradley,
print cmd.get_atom_coords(76/CA)
Cheers,
-- Jason
On Tue, Jul 20, 2010 at 5:39 PM, Bradley Hintze
bradle...@aggiemail.usu.edu wrote:
Hi all,
Is there an easy way to get coordinates of a given atom?
e.g. 'get_coordinates /model//A/ALA`76/CA'
for the CA coordinates of resi 76
Subject: [PyMOL] get coordinates
To: pymol-users pymol-users@lists.sourceforge.net
Hi all,
Is there an easy way to get coordinates of a given atom?
e.g. 'get_coordinates /model//A/ALA`76/CA'
for the CA coordinates of resi 76
All the examples on the wiki use iterate to get the coordinates
Hi Horacio,
you can save as wrl (VRML) or povray (as posted earlier).
The former can be read by vtk (vtkVRMLImporter or so), from here you
have a rich set of sophisticated algorithms such as decimate.
google for vtkDecimate, vtkDecimatePro
There are bindings for a couple of languages, also
Hi,
looking to the mesh representation of a protein in pymol, I wonder what
could be the best/easiest method to get the cartesian coordinates of
some arbitrary number of the points of the mesh at more or less regular
(or arbitrary) intervals.
The only thing that I can think now of is to