How do you retrieve the coordinate information from PyMol? I have tried to use the tutorials, but they do not say how to get the coordinates for a single residue, nor how to display those coordinates in the command window. I am needing the coordinates for another script that will let me draw a sphere of a given size around the residue.
Nevermind, I found out how to find the coordinate for my residue by centering the window on it and printing the coordinates that way. however, when i try to use the commands:
pseudoatom mysphere, pos[-57.613,30.485,48.506], vdw=[10.0]
it keeps saying that there is a value error due to an invalid literal for float. What does that mean?
try:
pseudoatom mysphere, pos=[-57.613,30.485,48.506], vdw=10.0
thanks! got it to work.