#64 x,y,z coordinates of a single aa residue

closed
nobody
None
1
2009-07-10
2009-07-08
Benjamin Owen
No

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.

Discussion

  • Benjamin Owen
    Benjamin Owen
    2009-07-08

    • priority: 5 --> 9
     
  • Benjamin Owen
    Benjamin Owen
    2009-07-08

    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

     
  • Benjamin Owen
    Benjamin Owen
    2009-07-10

    • priority: 9 --> 1
    • status: open --> closed
     
  • Benjamin Owen
    Benjamin Owen
    2009-07-10

    thanks! got it to work.