Molecule Tutorials - Herong's Tutorial Examples - v1.26, by Herong Yang
Rotation with "turn" Command
This section provides a tutorial on how to rotate the molecule structure by using the 'turn' command to rotate the camera on PyMol.
You can also use the "turn" command to rotate the camera and let PyMol to update the rotation transformation matrix.
Let's load the molecule structure, rotate the camera, and check the transformation matrix in view parameters.
PyMOL>load /Users/herong/Molecule-HY-001.sdf PyMOL>turn x, 45 PyMOL>get_view ### cut below here and paste into script ### set_view (\ 1.000000000, 0.000000000, 0.000000000,\ 0.000000000, 0.707106769, 0.707106829,\ 0.000000000, -0.707106829, 0.707106769,\ 0.000000000, 0.000000000, -17.179622650,\ 0.876923084, -0.289230824, 0.000000000,\ 13.544545174, 20.814699173, -20.000000000 ) ### cut above here and paste into script ###
As you can see, the "turn x, 45" command actually updated the rotation transformation matrix as:
1.0, 0.0, 0.0 0.0, 0.7, 0.7 0.0, -0.7, 0.7
Don't mix up the "turn" command with the "rotate" command. See the next tutorial to find out the differences.
Table of Contents
Molecule Names and Identifications
Nucleobase, Nucleoside, Nucleotide, DNA and RNA
Load Molecule from File into PyMol
Virtual Trackball Rotation on PyMol
"load" and "delete" Commands on PyMol
"log_open" and "log_close" Commands on PyMol
Model Space and Camera Space on PyMol
"get_view" and "set_view" on PyMol
View Parameters Auto Adjusted on PyMol
Rotation with Transformation Matrix
Difference of "turn" and "rotate" Commands
Difference of "move" and "translate" Commands
"center", "zoom" and "reset" Commands
Model-to-Camera Space Coordinates Mapping
Camera-to-Model Space Coordinates Mapping
"show lines" Presentation Command
"show sticks" Presentation Command
"show spheres" Presentation Command
"show surface" Presentation Command
"show mesh" Presentation Command
ChEMBL Database - European Molecular Biology Laboratory
PubChem Database - National Library of Medicine
INSDC (International Nucleotide Sequence Database Collaboration)
HGNC (HUGO Gene Nomenclature Committee)