Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Elbow angle
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples == ===Basic usage=== <syntaxhighlight lang="python"> # load an antibody Fab fragment from the PDB fetch 3ghe, async=0 # calculate the elbow angle and draw the vectors elbow_angle 3ghe, draw=1 </syntaxhighlight> This will produce something like the first image below. Note that if you don't specify the light/heavy chain IDs or the variable domain limit residue numbers, the default values (L/H and 107/113, respectively) will be used. If your antibody is not Kabat or Chothia numbered, or has different chain names, this will result in an incorrect value or, in the case of wrong chain IDs, may cause the script to fail entirely due to an empty selection. Have a look at Dr. Andrew Martin's [http://www.bioinf.org.uk/abs/abnum/ Abnum] for more information on antibody numbering. <gallery heights="320" widths="320"> Image:elbow_angle_3ghe.png|Fab fragment 3ghe shown with draw=1. Image:Stanfield.png|5 PDB examples from Stanfield, et al., JMB 2006, shown in the same orientations as in Figure 1 of that paper. </gallery> The black "dumbbells" pass through the centers of mass of the variable and constant domains of each Fab (as determined using [[com|com.py]]). The green and red dumbbells denote the residues used to split the variable and constant domains, with a green ball for the light chain, and a red ball for the heavy chain. ===Included Example=== There is also an example .pml file in the Pymol-script-repo/examples directory which can be run by the following: <syntaxhighlight lang="python"> import ex ex elbow_angle </syntaxhighlight> This will run the following .pml file: {{Infobox script-repo |type = pml |filename = examples/elbow_angle.pml |author = [[User:jaredsampson|Jared Sampson]] |license = BSD }} <include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/examples/elbow_angle.pml" highlight="python" /> and will produce the second image above.
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Elbow angle
(section)
Add topic