pdb-tools icon indicating copy to clipboard operation
pdb-tools copied to clipboard

Any rotation / translation commands? [feature request] [question]

Open UnixJunkie opened this issue 1 year ago • 2 comments

Hello,

Is there a tool/command to translate the coordinates of a whole pdb? E.g. by providing a 3D vector.

Same question for rotation? E.g. by providing a 3D vector (the rotation axis), followed by an angle in radians.

Thanks!

UnixJunkie avatar Jan 17 '25 09:01 UnixJunkie

Nothing like that unfortunately.

But you should be able to do it easily, e.g. using PyMol

amjjbonvin avatar Jan 18 '25 10:01 amjjbonvin

We don't have anything like that but we could add it since they'd be quite simple transformations. I can think of:

pdb_rotate.py 10,10,10,90   # rotate 90d around vector [10, 10, 10]
pdb_rotate.py x,90  # short-hand for rotate around x by 90d
pdb_translate.py 10,0,0  # translate 10A along X.

Would these work?

JoaoRodrigues avatar Jan 19 '25 01:01 JoaoRodrigues

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Oct 02 '25 02:10 github-actions[bot]

This issue was closed because it has been stalled for 15 days with no activity.

github-actions[bot] avatar Oct 17 '25 02:10 github-actions[bot]