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
Displaying Biochemical Properties
(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!
==== Hydrogen bonds where find->polar contacts doesn't do what you need ==== You can show H-bonds between two objects using atom selections so long as hydrogens are present in both molecules. If you don't have hydrogens, you can use [[h_add]] on the proteins, or provide ligands with valence information and then use h_add. Two examples are below. For clarity, they draw dashes between the heavy atoms and hide the hydrogens. <source lang="python"> # EXAMPLE 1: Show hydrogen bonds between protein # and docked ligands (which must have hydrogens) load target.pdb,prot load docked_ligs.sdf,lig # add hydrogens to protein h_add prot select don, (elem n,o and (neighbor hydro)) select acc, (elem o or (elem n and not (neighbor hydro))) dist HBA, (lig and acc),(prot and don), 3.2 dist HBD, (lig and don),(prot and acc), 3.2 delete don delete acc hide (hydro) hide labels,HBA hide labels,HBD </source> <source lang="python"> # EXAMPLE 2 # Show hydrogen bonds between two proteins load prot1.pdb load prot2.pdb h_add prot1 h_add prot2 select don, (elem n,o and (neighbor hydro)) select acc, (elem o or (elem n and not (neighbor hydro))) dist HBA, (prot1 and acc),(prot2 and don), 3.2 dist HBD, (prot1 and don),(prot2 and acc), 3.2 delete don delete acc hide (hydro) hide labels,HBA hide labels,HBD # NOTE: that you could also use this approach between two # non-overlapping selections within a single object. </source> The "polar contacts" mentioned above are probably better at finding hydrogen bonds than these scripts. "Polar contacts" check geometry as well as distance.
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
Displaying Biochemical Properties
(section)
Add topic