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
DynoPlot
(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!
== Introduction == This script was setup to do generic plotting, that is given a set of data and axis labels it would create a plot. Initially, I had it setup to draw the plot directly in the PyMol window (allowing for both 2D and 3D style plots), but because I couldn't figure out how to billboard CGO objects (Warren told me at the time that it couldn't be done) I took a different approach. The plot now exists in it's own window and can only do 2D plots. It is however interactive. I only have here a Rama.(phi,psi) plot, but the code can be easily extended to other types of data. For instance, I had this working for an energy vs distance data that I had generated by another script. This script will create a Phi vs Psi(Ramachandran) plot of the selection given. The plot will display data points which can be dragged around Phi,Psi space with the corresponding residue's Phi,Psi angles changing in the structure (PyMol window). ===IMAGES=== <gallery> Image:RamaPlotInitComposite.png|Initial Ramachandran plot of 1ENV Image:RamaPlotBentComposite.png|Modified pose and plot of 1ENV </gallery> ===SETUP=== Install from the plugins menu with ''Plugin > Manage Plugins > Install ...'' or just [[run]] the script. ===NOTES / STATUS=== *Tested on Linux, PyMol version 1.4 *Left, Right mouse buttons do different things; Right = identify data point, Left = drag data point around *Post comments/questions or send them to: dwkulp@mail.med.upenn.edu ===USAGE=== rama [ sel [, name [, symbols [, filename ]]]] ===EXAMPLES=== <source lang="python"> fetch 1ENV, async=0 # (download it or use the PDB loader plugin) select sel01, resi 129-136 rama sel01 rock # the object needs to be moving in order for the angles to be updated. </source> Don't create callback object, use symbols by secondary structure and dump canvas as postscript file: <source lang="python"> fetch 2x19, async=0 color yellow, chain A color forest, chain B rama polymer, none, ss, /tmp/canvasdump.ps rama ss H, none, aa, /tmp/canvasdump_helix.ps rama ss S, none, aa, /tmp/canvasdump_sheet.ps </source> [[Category:Script_Library|DynoPlot]] [[Category:Structural_Biology_Scripts|DynoPlot]] [[Category:Pymol-script-repo]]
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
DynoPlot
(section)
Add topic