<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bosmith</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bosmith"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Bosmith"/>
	<updated>2026-05-25T05:22:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14809</id>
		<title>Symmetry</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14809"/>
		<updated>2020-11-17T16:24:36Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetric oligomer from a few subunits. PyMOL has tools that can help with this type of analysis or depiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expanding crystallographic symmetry ==&lt;br /&gt;
Structures determined by X-ray crystallography are typically deposited as files containing the coordinates for one asymmetric unit (ASU). Knowledge of the symmetry operators that describe how the ASUs are arranged relative to each other allows the arrangement of the crystal lattice to be recreated. PyMOL can read this symmetry information from the input coordinate file and recreate the neigbouring copies of the ASU using symmexp. &lt;br /&gt;
&lt;br /&gt;
PyMOL's built in symmetry expansion functionality is available as A-&amp;gt;generate-&amp;gt;symmetry mates for an object or as the [[symexp]] command.&lt;br /&gt;
&lt;br /&gt;
The [[SuperSym]] plugin has additional unit cell and symmetry axis tools.&lt;br /&gt;
&lt;br /&gt;
== Displaying symmetry axes ==&lt;br /&gt;
Often it is necessary to be able to find and draw symmetry axes. There are some contributed scripts that help do this including [[Symmetry Axis]], for which you need to know the coordinates and direction of the axis you would like to draw, and [[RotationAxis]], which does an excellent job of displaying symmetry relationships between selections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;br /&gt;
[[Category:Nucleic_Acids|Displaying Biochemical Properties]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14808</id>
		<title>Symmetry</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14808"/>
		<updated>2020-11-17T16:21:46Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetry oligomer from a few subunits. PyMOL has tools that can help with this type of analysis or depiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expanding crystallographic symmetry ==&lt;br /&gt;
Structures determined by X-ray crystallography are typically deposited as files containing the coordinates for one asymmetric unit (ASU). Knowledge of the symmetry operators that describe how the ASUs are arranged relative to each other allows the arrangement of the crystal lattice to be recreated. PyMOL can read this symmetry information from the input coordinate file and recreate the neigbouring copies of the ASU using symmexp. &lt;br /&gt;
&lt;br /&gt;
PyMOL's built in symmetry expansion functionality is available as A-&amp;gt;generate-&amp;gt;symmetry mates for an object or as the [[symexp]] command.&lt;br /&gt;
&lt;br /&gt;
The [[SuperSym]] plugin has additional unit cell and symmetry axis tools.&lt;br /&gt;
&lt;br /&gt;
== Displaying symmetry axes ==&lt;br /&gt;
Often it is necessary to be able to find and draw symmetry axes. There are some contributed scripts that help do this including [[Symmetry Axis]], for which you need to know the coordinates and direction of the axis you would like to draw, and [[RotationAxis]], which does an excellent job of displaying symmetry relationships between selections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;br /&gt;
[[Category:Nucleic_Acids|Displaying Biochemical Properties]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14807</id>
		<title>Symmetry</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14807"/>
		<updated>2020-11-17T16:16:37Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetry oligomer from a few subunits. PyMOL has tools that can help with this type of analysis or depiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expanding crystallographic symmetry ==&lt;br /&gt;
Structures determined by X-ray crystallography are typically deposited as files containing the coordinates for one asymmetric unit (ASU). Knowledge of the symmetry operators that describe how the ASUs are arranged relative to each other allows the arrangement of the crystal lattice to be recreated. PyMOL can read this symmetry information from the input coordinate file and recreate the neigbouring copies of the ASU using symmexp. &lt;br /&gt;
&lt;br /&gt;
=== symexp ===&lt;br /&gt;
PyMOL's built in symmetry expansion functionality is available as A-&amp;gt;generate-&amp;gt;symmetry mates for an object or as the [[symexp]] command.&lt;br /&gt;
&lt;br /&gt;
The [[SuperSym]] plugin has additional unit cell and symmetry axis tools.&lt;br /&gt;
&lt;br /&gt;
== Displaying symmetry axes ==&lt;br /&gt;
Often it is necessary to be able to find and draw symmetry axes. There are some contributed scripts that help do this including:&lt;br /&gt;
[[Symmetry Axis]]&lt;br /&gt;
[[RotationAxis]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14806</id>
		<title>Symmetry</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14806"/>
		<updated>2020-11-17T16:10:44Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* symexp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetry oligomer from a few subunits. PyMOL has tools that can help with this type of analysis or depiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expanding crystallographic symmetry ==&lt;br /&gt;
Structures determined by X-ray crystallography are typically deposited as files containing the coordinates for one asymmetric unit (ASU). Knowledge of the symmetry operators that describe how the ASUs are arranged relative to each other allows the arrangement of the crystal lattice to be recreated. PyMOL can read this symmetry information from the input coordinate file and recreate the neigbouring copies of the ASU using symmexp. &lt;br /&gt;
&lt;br /&gt;
=== symexp ===&lt;br /&gt;
PyMOL's built in symmetry expansion functionality is available as A-&amp;gt;generate-&amp;gt;symmetry mates for an object or as the [[symexp]] command&lt;br /&gt;
&lt;br /&gt;
== Displaying symmetry axes ==&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14805</id>
		<title>Symmetry</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14805"/>
		<updated>2020-11-17T16:10:19Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* https://pymolwiki.org/index.php/Symexp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetry oligomer from a few subunits. PyMOL has tools that can help with this type of analysis or depiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expanding crystallographic symmetry ==&lt;br /&gt;
Structures determined by X-ray crystallography are typically deposited as files containing the coordinates for one asymmetric unit (ASU). Knowledge of the symmetry operators that describe how the ASUs are arranged relative to each other allows the arrangement of the crystal lattice to be recreated. PyMOL can read this symmetry information from the input coordinate file and recreate the neigbouring copies of the ASU using symmexp. &lt;br /&gt;
&lt;br /&gt;
=== symexp ===&lt;br /&gt;
PyMOL's built in symmetry expansion functionality is available as A-&amp;gt;generate-&amp;gt;symmetry mates for an object or as the [[Symexp]]command&lt;br /&gt;
&lt;br /&gt;
== Displaying symmetry axes ==&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14804</id>
		<title>Symmetry</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symmetry&amp;diff=14804"/>
		<updated>2020-11-17T16:07:40Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: Created page with &amp;quot;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetry oligom...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are many ways that symmetry can be important/useful/beautiful to look at in macromolecular structures. A typically application is the reconstruction of a symmetry oligomer from a few subunits. PyMOL has tools that can help with this type of analysis or depiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Expanding crystallographic symmetry ==&lt;br /&gt;
Structures determined by X-ray crystallography are typically deposited as files containing the coordinates for one asymmetric unit (ASU). Knowledge of the symmetry operators that describe how the ASUs are arranged relative to each other allows the arrangement of the crystal lattice to be recreated. PyMOL can read this symmetry information from the input coordinate file and recreate the neigbouring copies of the ASU using symmexp. &lt;br /&gt;
&lt;br /&gt;
=== [[https://pymolwiki.org/index.php/Symexp]] ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Displaying symmetry axes ==&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=14388</id>
		<title>Stereo 3D Display Options</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=14388"/>
		<updated>2018-11-07T17:07:11Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* On Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for aggregating the latest know-how and links to current Stereo 3D display options best suited for molecular graphics applications like PyMOL.  Please strive to provide objective factual information based on first-hand experiences while using the displays for real work and teaching.&lt;br /&gt;
&lt;br /&gt;
Let's figure out together what stereo solutions work well in this brave new post-CRT world!&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
&lt;br /&gt;
* '''[[#Active_Stereo_3D|Active Stereo 3D]]''' -- requires expensive and/or bulky shutter glasses.  For decades, this has been the standard solution for stereo 3D molecular visualization on the desktop.&lt;br /&gt;
* '''[[#Passive_Stereo_3D|Passive Stereo 3D]]''' -- requires inexpensive lightweight polarized glasses.  This is the standard solution for delivering stereo 3D to audiences of more than a small group of people.&lt;br /&gt;
* '''[[#Autostereoscopic_3D|Autostereoscopic 3D]]''' -- means that no glasses are required.  However, current autostereoscopic displays tend do not to work well for molecular graphics due to their inability to faithfully represent fine detail such as thin bonds and wire meshes.&lt;br /&gt;
&lt;br /&gt;
== Active Stereo 3D (High-Refresh) Displays ==&lt;br /&gt;
&lt;br /&gt;
This solution would be analogous to using desktop CRT monitors with shutter glasses.  &lt;br /&gt;
&lt;br /&gt;
=== LCD Displays (120 Hz)===&lt;br /&gt;
&lt;br /&gt;
* [http://us.acer.com/ac/en/US/content/model/ET.UG5HP.001 ACER GD235HZ]. 1920x1080 120Hz 2ms .&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com/3d-products/sa2311w/ Planar SA2311W].  This is a high-end 23&amp;quot; 3D-ready monitor.  The resolution is 1900x1280 and has a 2ms refresh time.  This worked well for us.&lt;br /&gt;
&lt;br /&gt;
* [http://www.engadget.com/2008/08/26/viewsonic-shows-off-a-120hz-lcd-display-for-computers ViewSonic VX2265wm] (VX2268wm in Europe) - [http://www.google.com/products?q=ViewSonic%20VX2265wm&amp;amp;btnG=Search+Froogle&amp;amp;lmode=unknown On the market] and [http://sourceforge.net/mailarchive/forum.php?thread_name=DED5C399-7534-4D3D-8B19-E3676C4F1867%40weizmann.ac.il&amp;amp;forum_name=pymol-users verified working under FC 12]&lt;br /&gt;
&lt;br /&gt;
* [http://www.nvidia.com/object/product_GeForce_3D_VisionBundle_us.html Samsung 2233RZ] - On the market. Quad buffered stereo in Linux works with a [http://en.wikipedia.org/wiki/Nvidia_Quadro G8x based graphics core] or better Quadro FX card with the 3 pin mini din stereo connector (currently, the cheapest card that works in Linux is the Quadro FX 3700), 195.22 (or newer) nvidia linux binary driver, and the Nvidia 3d vision kit. Even though the Quadro FX 1400/3450/4000 cards have a 3 pin stereo connector, these will not work with Nvidia 3D vision since these have core versions less than G8x. For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* USB only based stereo with the 3D vision kit works only in MS Windows (e.g. with a low end Quadro FX 370 that has no 3 pin mini din stereo connector). For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* The 195.22 Nvidia linux drivers do not support the Samsung 2233RZ in Stereo mode 3 or 10 for quad buffered stereo with other stereo kits, emitters, or goggles such as those purchased from NuVision, Stereographics, or Edimensional. You cannot use NuVision, Stereographics, or Edimensional goggles with the Nvidia 3D Vision emitters. - SP&lt;br /&gt;
&lt;br /&gt;
* NVidia 3D NVision kit only supports DirectX software for GeForce (gaming cards) on Windows; users are reporting that they are not able to run PyMOL with NVision with these cards. Get a newer model low end quadro (&amp;gt; G8x graphics core) without the 3 pin mini din (e.g. Quadro 370) or with the 3 pin mini din (e.g. Quadro 3700) for Windows.&lt;br /&gt;
&lt;br /&gt;
==== NVidia NVision 3D Setup ====&lt;br /&gt;
The NVidia 3D NVision setup provides a very nice 3D experience.  You need the following to enable PyMOL to show NVision 3D on Windows.  Please review the hardware and software requirements before moving on to the installation and setup.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Hardware=====&lt;br /&gt;
* Monitor: 120 Hz LCD: a [http://www.samsung.com/us/consumer/office/monitors/specialty/LS22CMFKFV/ZA/index.idx?pagetype=prd_detail&amp;amp;returnurl=|Samsung 2233RZ] or a [http://www.viewsonic.com/products/desktop-monitors/lcd/x-series/vx2265wm-fuhzion-lcd.htm|ViewSonic Fuhzion vx2265wm]&lt;br /&gt;
* Cable: [http://images.google.com/imgres?imgurl=http://www.logicsupply.com/images/dvi_connector_types.gif&amp;amp;imgrefurl=http://www.logicsupply.com/faq&amp;amp;usg=__G2BLaVTqBN4ie8fz_LJR1zc3zBc=&amp;amp;h=261&amp;amp;w=440&amp;amp;sz=15&amp;amp;hl=en&amp;amp;start=0&amp;amp;sig2=_hFM6ICIsxPq5WIAv8BCqg&amp;amp;zoom=1&amp;amp;tbnid=NIcKIs_BW_2rmM:&amp;amp;tbnh=135&amp;amp;tbnw=228&amp;amp;ei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;prev=/images%3Fq%3Ddual%2Blink%2Bdvi%26hl%3Den%26biw%3D1475%26bih%3D1042%26gbv%3D2%26tbs%3Disch:1&amp;amp;itbs=1&amp;amp;iact=hc&amp;amp;vpx=136&amp;amp;vpy=323&amp;amp;dur=3153&amp;amp;hovh=173&amp;amp;hovw=292&amp;amp;tx=227&amp;amp;ty=74&amp;amp;oei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;esq=1&amp;amp;page=1&amp;amp;ndsp=30&amp;amp;ved=1t:429,r:6,s:0 Dual Link DVI cable]; most  120Hz monitors will come with this cable--regardless, the cable is necessary&lt;br /&gt;
* Quadro Card: recent   [http://www.nvidia.com/page/quadrofx_family.html Quadro]   series graphics card (not a GeForce card) such as an FX 380 or 570 or later.  The GeForce cards do not support windowed openGL stereo, so we do not support these series of cards for the NVision 3D solution. For linux, you must have a quadro card that has a 3 pin mini din connector. The cheapest/oldest card that will work with linux is the Quadro 3700.&lt;br /&gt;
** '''WARNING''': The Quadro FX1400 does not support 3d vision stereo on Windows7 or Linux.&lt;br /&gt;
* Emitter: [http://www.nvidia.com/object/3d-vision-main.html|GeForce 3D Vision] hardware kit (an emitter with 3D shutter glasses). For Linux, make sure your kit comes with the 3 pin mini din &amp;quot;VESA&amp;quot; to 2.5mm stereo cable to connect from the stereo output on the video card into the emitter. See the [[3 pin Mini-DIN connector]] article for tips on how to make one of these cables if yours is missing. &lt;br /&gt;
* GeForce Cards from series 400 onward have gained OpenGl support in recent Nvidia driver iterations (314+). This allows Pymol to be viewed in 3D using the quad buffered stereo setting with a GeForce card, 120Hz screen and 3D Vision kit.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Software=====&lt;br /&gt;
* Windows XP 32 bit (testing other OSs soon!), Windows Vista&lt;br /&gt;
* Latest Quadro [http://www.nvidia.com/Download/index.aspx?lang=en-us|Graphics Drivers from NVidia].&lt;br /&gt;
* Latest [http://www.nvidia.com/Download/index.aspx?lang=en-us|3D Graphics drivers for the NVision system]--under '''Product Type''' choose '''3D Vision'''.&lt;br /&gt;
&lt;br /&gt;
=====Installation Instructions=====&lt;br /&gt;
======System Setup======&lt;br /&gt;
# Install the Quadro '''Graphics Drivers''' and reboot your machines&lt;br /&gt;
# Install the NVision Installation, hooking up the 3D emitter and glasses as directed in the instructions&lt;br /&gt;
## Make sure the 3D demos work&lt;br /&gt;
## Complete the '''3D Vision Drivers''' install (I had errors/warnings about old drivers but this did't matter)&lt;br /&gt;
# Specify how to drive the 3D by, click on&lt;br /&gt;
:::'''Windows Start Button''' &amp;gt; '''Control Panel''' &amp;gt; '''NVidia Control Panel''' &amp;gt; '''Manage 3D Settings''' (tab) &amp;gt; '''Global Settings''' (tab on the right) &amp;gt; '''Base Profile''' (tab).  Then, under '''Settings''' choose '''Stereo - Display Mode'''.  Next, select '''Generic Active Stereo (with NVidia IR Emitter)'''.  If you have a DLP monitor/TV choose the corresponding DLP option.  You '''must''' also set '''Stereo - Enable''' to '''on'''. &lt;br /&gt;
&lt;br /&gt;
======Running PyMOL======&lt;br /&gt;
That's it!  PyMOL should now work in Quad Buffered 3D Stereo using the NVidia 3D NVision system.  To run PyMOL in 3D mode on:&lt;br /&gt;
*Windows&lt;br /&gt;
:: '''Start &amp;gt; PyMOL &amp;gt; PyMOL &amp;gt; PyMOL 3D Launch (last menu option) &amp;gt; PyMOL Stereo (Quad Buffered 3D)'''&lt;br /&gt;
*Linux&lt;br /&gt;
:: pymol -S -t 1&lt;br /&gt;
:: ''Note that hardware stereo may not work in Xorg unless window compositing is turned off; Gnome3, Unity, etc all use window compositing as part of their eye candy. A window manager that should work by default is the MATE desktop. Install this if you have trouble''&lt;br /&gt;
* Mac&lt;br /&gt;
:: Sorry, at this time the NVision system is not known to work on Macs.&lt;br /&gt;
&lt;br /&gt;
=== DLP Projection Televisions ===&lt;br /&gt;
&lt;br /&gt;
Projection televisions tend to be too large and fuzzy for desktop use.  Also, a band of about 20 pixels around on the edge of the display are invisible, and this limitation cannot be eliminated through overscan since the image must be scanned at native resolution in order to support stereo 3D.  The workaround is to shrink the PyMOL window to cover the visible portion of the screen.  It is worth noting that true 3D-capable LCDs (as distinct from 3D-capable HDTVs) do not suffer from this problem.&lt;br /&gt;
&lt;br /&gt;
Aside from the above concerns, the quality of the DLP stereo 3D effect is exceptional:  there is absolutely no ghosting or cross-talk between the two images. &lt;br /&gt;
&lt;br /&gt;
* [http://pages.samsung.com/us/dlp3d Samsung 3D-Ready DLP HDTVs] - work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Quadro driver support is still lacking as of Feb. 1st, 2009 - WLD&lt;br /&gt;
&lt;br /&gt;
* [http://www.mitsubishi-tv.com/ Mitsubishi 3D-Ready DLP HDTVs] - not yet tested, but are expected to work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  - WLD&lt;br /&gt;
&lt;br /&gt;
See [http://www.3dmovielist.com/3dhdtvs.html The 3D HDTV List] for more 3D-capable HDTV options.&lt;br /&gt;
&lt;br /&gt;
== Passive Stereo 3D Displays == &lt;br /&gt;
&lt;br /&gt;
=== One Piece Multi-layer LCD Displays ===&lt;br /&gt;
&lt;br /&gt;
Affordable!&lt;br /&gt;
&lt;br /&gt;
==== Zalman ====&lt;br /&gt;
'''iZ3D, the original supplier of Zalman display drivers has ceased operation and support as of 31 July 2012. DO NOT PURCHASE THESE MONITORS WITHOUT FURTHER CONFIRMATION of display support, the iZ3D support (required drivers, etc) is not activatable. If you do have further information, please post it here.''' [[User:Jedgold|Jedgold]] 12:21, 12 September 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
* [http://www.zalman.co.kr/eng/product/Product_read.asp?Idx=219 Zalman 22-inch 3D LCD monitor] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Great stereo quality provided that all drawn lines are at least 2 pixels thick.  Menus are a bit awkward to use while in stereo mode, but even so, this 650 USD display provides excellent 3D molecular visualization in both full-screen in windowed modes.  - WLD  ('''The Zalman ZM-M220W is DeLano Scientific's RECOMMENDED SOLUTION as of Feb 11, 2009!''').&lt;br /&gt;
* [http://www.zalman.co.kr/Eng/product/Product_Read.asp?idx=391 Zalman 24-inch 3D LCD monitor] - also works with PyMOL 1.2b3 &amp;amp; later under LINUX (Centos 5 x86_64 plain kernel + NVidia driver from ELRepo). I'm using an NVidia Quadro FX 580 (G96GL) graphics card (£125).  Monitor cost around £350. PyMOL automagically detects that quad buffered stereo is available on startup.--[[User:Bosmith|Bosmith]] 16:32, 2 December 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== LG ====&lt;br /&gt;
* [http://www.lg.com/us/computer-products/monitors/LG-led-monitor-D2342P-PN.jsp LG D2342P-PN]&lt;br /&gt;
* [http://www.lg.com/uk/support-product/lg-DM2752D-PZ LG DM2752D] This (and other LG passive 3D monitors/TVs) work with PyMOL. I'm driving them using NVidia Quadro 600 graphics cards under LINUX (CentOSes 5, 6 &amp;amp; 7) with the NVidia driver from ELRepo.&lt;br /&gt;
===== On Linux =====&lt;br /&gt;
* setup by editing the xorg.conf file:&lt;br /&gt;
&lt;br /&gt;
in the Device section of xorg.conf add:&lt;br /&gt;
&lt;br /&gt;
    Option &amp;quot;Stereo&amp;quot; &amp;quot;7&amp;quot;&lt;br /&gt;
&lt;br /&gt;
in the Screen section of xorg.conf and an additional:&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option         &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
N.B. the current Gnome 3 (gnome-shell) in RHEL 7 derivatives (Scientific, CentOS, etc.) is a compositing window manager and is not properly stereo aware, so you will need to use a different window manager. See e.g. [https://sbgrid.org/wiki/stereo] for an alternative.&lt;br /&gt;
&lt;br /&gt;
* launch using:&lt;br /&gt;
    pymol -S -t 6&lt;br /&gt;
&lt;br /&gt;
===== On Windows =====&lt;br /&gt;
# From the Start Menu: In the &amp;quot;PyMOL&amp;quot; folder, go into the &amp;quot;Stereo 3D Launch&amp;quot; subfolder, and select &amp;quot;PyMOL Zalman 3D (By Row)&amp;quot;. You might want to control-drag a copy of that shortcut on to your desktop in order to drag &amp;amp; drop content files onto it for stereo 3D visualization&lt;br /&gt;
# From the Command Line:&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;C:\Program Files\DeLano Scientific\PyMOL\PyMOLWin.exe&amp;quot; -S -t 6&lt;br /&gt;
&lt;br /&gt;
===== On Mac =====&lt;br /&gt;
# MacPyMOL: Copy and rename the &amp;quot;MacPyMOL&amp;quot; application bundle to &amp;quot;MacPyMOLZalman&amp;quot;. You can then double-click on the MacPyMOLZalman icon or drop data files directly onto it to visualize content in the Zalman stereo 3D mode.&lt;br /&gt;
# PyMOL X11 Hybrid Mode: Copy and rename the &amp;quot;MacPyMOL&amp;quot; appplication bundle to &amp;quot;PyMOLX11Zalman&amp;quot;. After launching X11, you can then double-click on the PyMOLX11Zalman icon or drop data files directly onto it to visualize that content in the Zalman stereo 3D mode.&lt;br /&gt;
&lt;br /&gt;
''For all platforms, remember to toggle stereo on and off using the &amp;quot;set stereo&amp;quot; command:''&lt;br /&gt;
    set stereo, on&lt;br /&gt;
&lt;br /&gt;
==== iZ3D ====&lt;br /&gt;
* [http://www.iz3d.com IZ3D] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  However, this display exhibits far too much cross-talk and interference between the two stereo images.  Not suitable for professional use.  - WLD&lt;br /&gt;
&lt;br /&gt;
* IZ3D is closed as of 31 July 2012, and will not offer support to their products. [[User:Jedgold|Jedgold]] 12:26, 12 September 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
=== Mirror-based Multi-LCD Solutions ===&lt;br /&gt;
&lt;br /&gt;
Expensive!&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com Planar3D] &amp;quot;I have used these displays with nVidia Quadro graphics cards under both Windows and Linux running both PyMOL and Maestro.  They work well, and the stereo quality is excellent!&amp;quot; - WLD.&lt;br /&gt;
* [http://www.inition.co.uk/inition/product.php?URL_=product_stereovis_omnia_mimo&amp;amp;SubCatID_=3 Omnia MIMO]&lt;br /&gt;
&lt;br /&gt;
== Autostereoscopic LCD Displays ==&lt;br /&gt;
&lt;br /&gt;
Some autostereoscopic displays have the ability to switch between 2D and 3D display modes.  Others are built for 3D only.&lt;br /&gt;
&lt;br /&gt;
* [http://www.dti3d.com Dimension Technologies Inc.]&lt;br /&gt;
* [http://www.seereal.com SeeReal Technologies] &lt;br /&gt;
* [http://www.newsight.com/3d-products/displays.html NewSight Corp.]&lt;br /&gt;
&lt;br /&gt;
== Stereo 3D Projectors ==&lt;br /&gt;
&lt;br /&gt;
Although these displays require shutter glasses out of the box, when combined with the adapters below and a special &amp;quot;silvered&amp;quot; screen, they can be used to project Passive Stereo 3D to a large audience.&lt;br /&gt;
&lt;br /&gt;
=== Active Stereo 3D DLP Projectors ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.depthq.com DepthQ Stereoscopic] &amp;quot;The original DepthQ gave a very good stereo 3D effort with PyMOL, but I haven't seen their latest products.&amp;quot; - WLD.&lt;br /&gt;
* [http://www.christiedigital.com/AMEN/Products/christieMirageS4K.htm Christie MIRAGE S+4K SXGA+ 6500 LUMEN DLP™ STEREOSCOPIC PROJECTOR] &amp;quot;I have been very impressed with the stereo 3D effect produced by MIRAGE projectors equipped with StereoGraphic ZScreens running PyMOL under Windows with a high-end nVidia Quadro card.&amp;quot; - WLD.&lt;br /&gt;
&lt;br /&gt;
=== Passive Stereo 3D Adaptor Hardware for Active Stereo 3D Projectors ===&lt;br /&gt;
&lt;br /&gt;
These devices make it possible for a large audience to see projected stereo 3D using inexpensive polarized glasses.&lt;br /&gt;
&lt;br /&gt;
* [http://reald-corporate.com/scientific/projectorzscreen.asp RealD StereoGraphics Projection ZScreen]&lt;br /&gt;
&lt;br /&gt;
== Who Says What? ==&lt;br /&gt;
&lt;br /&gt;
If you provide a specific quote or endorsement above, please say who you are so that everyone can know the source of the information.&lt;br /&gt;
&lt;br /&gt;
* WLD = Warren L. DeLano of DeLano Scientific LLC&lt;br /&gt;
* SP = Sabuj Pattanayek of the Center For Structural Biology, Vanderbilt University&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware_Options]]&lt;br /&gt;
[[Category:Stereo_3D_Display]]&lt;br /&gt;
[[Category:Stereo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=14387</id>
		<title>Stereo 3D Display Options</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=14387"/>
		<updated>2018-11-07T17:03:41Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* On Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for aggregating the latest know-how and links to current Stereo 3D display options best suited for molecular graphics applications like PyMOL.  Please strive to provide objective factual information based on first-hand experiences while using the displays for real work and teaching.&lt;br /&gt;
&lt;br /&gt;
Let's figure out together what stereo solutions work well in this brave new post-CRT world!&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
&lt;br /&gt;
* '''[[#Active_Stereo_3D|Active Stereo 3D]]''' -- requires expensive and/or bulky shutter glasses.  For decades, this has been the standard solution for stereo 3D molecular visualization on the desktop.&lt;br /&gt;
* '''[[#Passive_Stereo_3D|Passive Stereo 3D]]''' -- requires inexpensive lightweight polarized glasses.  This is the standard solution for delivering stereo 3D to audiences of more than a small group of people.&lt;br /&gt;
* '''[[#Autostereoscopic_3D|Autostereoscopic 3D]]''' -- means that no glasses are required.  However, current autostereoscopic displays tend do not to work well for molecular graphics due to their inability to faithfully represent fine detail such as thin bonds and wire meshes.&lt;br /&gt;
&lt;br /&gt;
== Active Stereo 3D (High-Refresh) Displays ==&lt;br /&gt;
&lt;br /&gt;
This solution would be analogous to using desktop CRT monitors with shutter glasses.  &lt;br /&gt;
&lt;br /&gt;
=== LCD Displays (120 Hz)===&lt;br /&gt;
&lt;br /&gt;
* [http://us.acer.com/ac/en/US/content/model/ET.UG5HP.001 ACER GD235HZ]. 1920x1080 120Hz 2ms .&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com/3d-products/sa2311w/ Planar SA2311W].  This is a high-end 23&amp;quot; 3D-ready monitor.  The resolution is 1900x1280 and has a 2ms refresh time.  This worked well for us.&lt;br /&gt;
&lt;br /&gt;
* [http://www.engadget.com/2008/08/26/viewsonic-shows-off-a-120hz-lcd-display-for-computers ViewSonic VX2265wm] (VX2268wm in Europe) - [http://www.google.com/products?q=ViewSonic%20VX2265wm&amp;amp;btnG=Search+Froogle&amp;amp;lmode=unknown On the market] and [http://sourceforge.net/mailarchive/forum.php?thread_name=DED5C399-7534-4D3D-8B19-E3676C4F1867%40weizmann.ac.il&amp;amp;forum_name=pymol-users verified working under FC 12]&lt;br /&gt;
&lt;br /&gt;
* [http://www.nvidia.com/object/product_GeForce_3D_VisionBundle_us.html Samsung 2233RZ] - On the market. Quad buffered stereo in Linux works with a [http://en.wikipedia.org/wiki/Nvidia_Quadro G8x based graphics core] or better Quadro FX card with the 3 pin mini din stereo connector (currently, the cheapest card that works in Linux is the Quadro FX 3700), 195.22 (or newer) nvidia linux binary driver, and the Nvidia 3d vision kit. Even though the Quadro FX 1400/3450/4000 cards have a 3 pin stereo connector, these will not work with Nvidia 3D vision since these have core versions less than G8x. For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* USB only based stereo with the 3D vision kit works only in MS Windows (e.g. with a low end Quadro FX 370 that has no 3 pin mini din stereo connector). For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* The 195.22 Nvidia linux drivers do not support the Samsung 2233RZ in Stereo mode 3 or 10 for quad buffered stereo with other stereo kits, emitters, or goggles such as those purchased from NuVision, Stereographics, or Edimensional. You cannot use NuVision, Stereographics, or Edimensional goggles with the Nvidia 3D Vision emitters. - SP&lt;br /&gt;
&lt;br /&gt;
* NVidia 3D NVision kit only supports DirectX software for GeForce (gaming cards) on Windows; users are reporting that they are not able to run PyMOL with NVision with these cards. Get a newer model low end quadro (&amp;gt; G8x graphics core) without the 3 pin mini din (e.g. Quadro 370) or with the 3 pin mini din (e.g. Quadro 3700) for Windows.&lt;br /&gt;
&lt;br /&gt;
==== NVidia NVision 3D Setup ====&lt;br /&gt;
The NVidia 3D NVision setup provides a very nice 3D experience.  You need the following to enable PyMOL to show NVision 3D on Windows.  Please review the hardware and software requirements before moving on to the installation and setup.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Hardware=====&lt;br /&gt;
* Monitor: 120 Hz LCD: a [http://www.samsung.com/us/consumer/office/monitors/specialty/LS22CMFKFV/ZA/index.idx?pagetype=prd_detail&amp;amp;returnurl=|Samsung 2233RZ] or a [http://www.viewsonic.com/products/desktop-monitors/lcd/x-series/vx2265wm-fuhzion-lcd.htm|ViewSonic Fuhzion vx2265wm]&lt;br /&gt;
* Cable: [http://images.google.com/imgres?imgurl=http://www.logicsupply.com/images/dvi_connector_types.gif&amp;amp;imgrefurl=http://www.logicsupply.com/faq&amp;amp;usg=__G2BLaVTqBN4ie8fz_LJR1zc3zBc=&amp;amp;h=261&amp;amp;w=440&amp;amp;sz=15&amp;amp;hl=en&amp;amp;start=0&amp;amp;sig2=_hFM6ICIsxPq5WIAv8BCqg&amp;amp;zoom=1&amp;amp;tbnid=NIcKIs_BW_2rmM:&amp;amp;tbnh=135&amp;amp;tbnw=228&amp;amp;ei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;prev=/images%3Fq%3Ddual%2Blink%2Bdvi%26hl%3Den%26biw%3D1475%26bih%3D1042%26gbv%3D2%26tbs%3Disch:1&amp;amp;itbs=1&amp;amp;iact=hc&amp;amp;vpx=136&amp;amp;vpy=323&amp;amp;dur=3153&amp;amp;hovh=173&amp;amp;hovw=292&amp;amp;tx=227&amp;amp;ty=74&amp;amp;oei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;esq=1&amp;amp;page=1&amp;amp;ndsp=30&amp;amp;ved=1t:429,r:6,s:0 Dual Link DVI cable]; most  120Hz monitors will come with this cable--regardless, the cable is necessary&lt;br /&gt;
* Quadro Card: recent   [http://www.nvidia.com/page/quadrofx_family.html Quadro]   series graphics card (not a GeForce card) such as an FX 380 or 570 or later.  The GeForce cards do not support windowed openGL stereo, so we do not support these series of cards for the NVision 3D solution. For linux, you must have a quadro card that has a 3 pin mini din connector. The cheapest/oldest card that will work with linux is the Quadro 3700.&lt;br /&gt;
** '''WARNING''': The Quadro FX1400 does not support 3d vision stereo on Windows7 or Linux.&lt;br /&gt;
* Emitter: [http://www.nvidia.com/object/3d-vision-main.html|GeForce 3D Vision] hardware kit (an emitter with 3D shutter glasses). For Linux, make sure your kit comes with the 3 pin mini din &amp;quot;VESA&amp;quot; to 2.5mm stereo cable to connect from the stereo output on the video card into the emitter. See the [[3 pin Mini-DIN connector]] article for tips on how to make one of these cables if yours is missing. &lt;br /&gt;
* GeForce Cards from series 400 onward have gained OpenGl support in recent Nvidia driver iterations (314+). This allows Pymol to be viewed in 3D using the quad buffered stereo setting with a GeForce card, 120Hz screen and 3D Vision kit.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Software=====&lt;br /&gt;
* Windows XP 32 bit (testing other OSs soon!), Windows Vista&lt;br /&gt;
* Latest Quadro [http://www.nvidia.com/Download/index.aspx?lang=en-us|Graphics Drivers from NVidia].&lt;br /&gt;
* Latest [http://www.nvidia.com/Download/index.aspx?lang=en-us|3D Graphics drivers for the NVision system]--under '''Product Type''' choose '''3D Vision'''.&lt;br /&gt;
&lt;br /&gt;
=====Installation Instructions=====&lt;br /&gt;
======System Setup======&lt;br /&gt;
# Install the Quadro '''Graphics Drivers''' and reboot your machines&lt;br /&gt;
# Install the NVision Installation, hooking up the 3D emitter and glasses as directed in the instructions&lt;br /&gt;
## Make sure the 3D demos work&lt;br /&gt;
## Complete the '''3D Vision Drivers''' install (I had errors/warnings about old drivers but this did't matter)&lt;br /&gt;
# Specify how to drive the 3D by, click on&lt;br /&gt;
:::'''Windows Start Button''' &amp;gt; '''Control Panel''' &amp;gt; '''NVidia Control Panel''' &amp;gt; '''Manage 3D Settings''' (tab) &amp;gt; '''Global Settings''' (tab on the right) &amp;gt; '''Base Profile''' (tab).  Then, under '''Settings''' choose '''Stereo - Display Mode'''.  Next, select '''Generic Active Stereo (with NVidia IR Emitter)'''.  If you have a DLP monitor/TV choose the corresponding DLP option.  You '''must''' also set '''Stereo - Enable''' to '''on'''. &lt;br /&gt;
&lt;br /&gt;
======Running PyMOL======&lt;br /&gt;
That's it!  PyMOL should now work in Quad Buffered 3D Stereo using the NVidia 3D NVision system.  To run PyMOL in 3D mode on:&lt;br /&gt;
*Windows&lt;br /&gt;
:: '''Start &amp;gt; PyMOL &amp;gt; PyMOL &amp;gt; PyMOL 3D Launch (last menu option) &amp;gt; PyMOL Stereo (Quad Buffered 3D)'''&lt;br /&gt;
*Linux&lt;br /&gt;
:: pymol -S -t 1&lt;br /&gt;
:: ''Note that hardware stereo may not work in Xorg unless window compositing is turned off; Gnome3, Unity, etc all use window compositing as part of their eye candy. A window manager that should work by default is the MATE desktop. Install this if you have trouble''&lt;br /&gt;
* Mac&lt;br /&gt;
:: Sorry, at this time the NVision system is not known to work on Macs.&lt;br /&gt;
&lt;br /&gt;
=== DLP Projection Televisions ===&lt;br /&gt;
&lt;br /&gt;
Projection televisions tend to be too large and fuzzy for desktop use.  Also, a band of about 20 pixels around on the edge of the display are invisible, and this limitation cannot be eliminated through overscan since the image must be scanned at native resolution in order to support stereo 3D.  The workaround is to shrink the PyMOL window to cover the visible portion of the screen.  It is worth noting that true 3D-capable LCDs (as distinct from 3D-capable HDTVs) do not suffer from this problem.&lt;br /&gt;
&lt;br /&gt;
Aside from the above concerns, the quality of the DLP stereo 3D effect is exceptional:  there is absolutely no ghosting or cross-talk between the two images. &lt;br /&gt;
&lt;br /&gt;
* [http://pages.samsung.com/us/dlp3d Samsung 3D-Ready DLP HDTVs] - work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Quadro driver support is still lacking as of Feb. 1st, 2009 - WLD&lt;br /&gt;
&lt;br /&gt;
* [http://www.mitsubishi-tv.com/ Mitsubishi 3D-Ready DLP HDTVs] - not yet tested, but are expected to work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  - WLD&lt;br /&gt;
&lt;br /&gt;
See [http://www.3dmovielist.com/3dhdtvs.html The 3D HDTV List] for more 3D-capable HDTV options.&lt;br /&gt;
&lt;br /&gt;
== Passive Stereo 3D Displays == &lt;br /&gt;
&lt;br /&gt;
=== One Piece Multi-layer LCD Displays ===&lt;br /&gt;
&lt;br /&gt;
Affordable!&lt;br /&gt;
&lt;br /&gt;
==== Zalman ====&lt;br /&gt;
'''iZ3D, the original supplier of Zalman display drivers has ceased operation and support as of 31 July 2012. DO NOT PURCHASE THESE MONITORS WITHOUT FURTHER CONFIRMATION of display support, the iZ3D support (required drivers, etc) is not activatable. If you do have further information, please post it here.''' [[User:Jedgold|Jedgold]] 12:21, 12 September 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
* [http://www.zalman.co.kr/eng/product/Product_read.asp?Idx=219 Zalman 22-inch 3D LCD monitor] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Great stereo quality provided that all drawn lines are at least 2 pixels thick.  Menus are a bit awkward to use while in stereo mode, but even so, this 650 USD display provides excellent 3D molecular visualization in both full-screen in windowed modes.  - WLD  ('''The Zalman ZM-M220W is DeLano Scientific's RECOMMENDED SOLUTION as of Feb 11, 2009!''').&lt;br /&gt;
* [http://www.zalman.co.kr/Eng/product/Product_Read.asp?idx=391 Zalman 24-inch 3D LCD monitor] - also works with PyMOL 1.2b3 &amp;amp; later under LINUX (Centos 5 x86_64 plain kernel + NVidia driver from ELRepo). I'm using an NVidia Quadro FX 580 (G96GL) graphics card (£125).  Monitor cost around £350. PyMOL automagically detects that quad buffered stereo is available on startup.--[[User:Bosmith|Bosmith]] 16:32, 2 December 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== LG ====&lt;br /&gt;
* [http://www.lg.com/us/computer-products/monitors/LG-led-monitor-D2342P-PN.jsp LG D2342P-PN]&lt;br /&gt;
* [http://www.lg.com/uk/support-product/lg-DM2752D-PZ LG DM2752D] This (and other LG passive 3D monitors/TVs) work with PyMOL. I'm driving them using NVidia Quadro 600 graphics cards under LINUX (CentOSes 5, 6 &amp;amp; 7) with the NVidia driver from ELRepo.&lt;br /&gt;
===== On Linux =====&lt;br /&gt;
* setup by editing the xorg.conf file:&lt;br /&gt;
&lt;br /&gt;
in the Device section of xorg.conf add:&lt;br /&gt;
&lt;br /&gt;
    Option &amp;quot;Stereo&amp;quot; &amp;quot;7&amp;quot;&lt;br /&gt;
&lt;br /&gt;
in the Screen section of xorg.conf and an additional:&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option         &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
* launch using:&lt;br /&gt;
    pymol -S -t 6&lt;br /&gt;
&lt;br /&gt;
===== On Windows =====&lt;br /&gt;
# From the Start Menu: In the &amp;quot;PyMOL&amp;quot; folder, go into the &amp;quot;Stereo 3D Launch&amp;quot; subfolder, and select &amp;quot;PyMOL Zalman 3D (By Row)&amp;quot;. You might want to control-drag a copy of that shortcut on to your desktop in order to drag &amp;amp; drop content files onto it for stereo 3D visualization&lt;br /&gt;
# From the Command Line:&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;C:\Program Files\DeLano Scientific\PyMOL\PyMOLWin.exe&amp;quot; -S -t 6&lt;br /&gt;
&lt;br /&gt;
===== On Mac =====&lt;br /&gt;
# MacPyMOL: Copy and rename the &amp;quot;MacPyMOL&amp;quot; application bundle to &amp;quot;MacPyMOLZalman&amp;quot;. You can then double-click on the MacPyMOLZalman icon or drop data files directly onto it to visualize content in the Zalman stereo 3D mode.&lt;br /&gt;
# PyMOL X11 Hybrid Mode: Copy and rename the &amp;quot;MacPyMOL&amp;quot; appplication bundle to &amp;quot;PyMOLX11Zalman&amp;quot;. After launching X11, you can then double-click on the PyMOLX11Zalman icon or drop data files directly onto it to visualize that content in the Zalman stereo 3D mode.&lt;br /&gt;
&lt;br /&gt;
''For all platforms, remember to toggle stereo on and off using the &amp;quot;set stereo&amp;quot; command:''&lt;br /&gt;
    set stereo, on&lt;br /&gt;
&lt;br /&gt;
==== iZ3D ====&lt;br /&gt;
* [http://www.iz3d.com IZ3D] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  However, this display exhibits far too much cross-talk and interference between the two stereo images.  Not suitable for professional use.  - WLD&lt;br /&gt;
&lt;br /&gt;
* IZ3D is closed as of 31 July 2012, and will not offer support to their products. [[User:Jedgold|Jedgold]] 12:26, 12 September 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
=== Mirror-based Multi-LCD Solutions ===&lt;br /&gt;
&lt;br /&gt;
Expensive!&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com Planar3D] &amp;quot;I have used these displays with nVidia Quadro graphics cards under both Windows and Linux running both PyMOL and Maestro.  They work well, and the stereo quality is excellent!&amp;quot; - WLD.&lt;br /&gt;
* [http://www.inition.co.uk/inition/product.php?URL_=product_stereovis_omnia_mimo&amp;amp;SubCatID_=3 Omnia MIMO]&lt;br /&gt;
&lt;br /&gt;
== Autostereoscopic LCD Displays ==&lt;br /&gt;
&lt;br /&gt;
Some autostereoscopic displays have the ability to switch between 2D and 3D display modes.  Others are built for 3D only.&lt;br /&gt;
&lt;br /&gt;
* [http://www.dti3d.com Dimension Technologies Inc.]&lt;br /&gt;
* [http://www.seereal.com SeeReal Technologies] &lt;br /&gt;
* [http://www.newsight.com/3d-products/displays.html NewSight Corp.]&lt;br /&gt;
&lt;br /&gt;
== Stereo 3D Projectors ==&lt;br /&gt;
&lt;br /&gt;
Although these displays require shutter glasses out of the box, when combined with the adapters below and a special &amp;quot;silvered&amp;quot; screen, they can be used to project Passive Stereo 3D to a large audience.&lt;br /&gt;
&lt;br /&gt;
=== Active Stereo 3D DLP Projectors ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.depthq.com DepthQ Stereoscopic] &amp;quot;The original DepthQ gave a very good stereo 3D effort with PyMOL, but I haven't seen their latest products.&amp;quot; - WLD.&lt;br /&gt;
* [http://www.christiedigital.com/AMEN/Products/christieMirageS4K.htm Christie MIRAGE S+4K SXGA+ 6500 LUMEN DLP™ STEREOSCOPIC PROJECTOR] &amp;quot;I have been very impressed with the stereo 3D effect produced by MIRAGE projectors equipped with StereoGraphic ZScreens running PyMOL under Windows with a high-end nVidia Quadro card.&amp;quot; - WLD.&lt;br /&gt;
&lt;br /&gt;
=== Passive Stereo 3D Adaptor Hardware for Active Stereo 3D Projectors ===&lt;br /&gt;
&lt;br /&gt;
These devices make it possible for a large audience to see projected stereo 3D using inexpensive polarized glasses.&lt;br /&gt;
&lt;br /&gt;
* [http://reald-corporate.com/scientific/projectorzscreen.asp RealD StereoGraphics Projection ZScreen]&lt;br /&gt;
&lt;br /&gt;
== Who Says What? ==&lt;br /&gt;
&lt;br /&gt;
If you provide a specific quote or endorsement above, please say who you are so that everyone can know the source of the information.&lt;br /&gt;
&lt;br /&gt;
* WLD = Warren L. DeLano of DeLano Scientific LLC&lt;br /&gt;
* SP = Sabuj Pattanayek of the Center For Structural Biology, Vanderbilt University&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware_Options]]&lt;br /&gt;
[[Category:Stereo_3D_Display]]&lt;br /&gt;
[[Category:Stereo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=RotationAxis&amp;diff=14207</id>
		<title>RotationAxis</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=RotationAxis&amp;diff=14207"/>
		<updated>2017-11-21T10:18:17Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox script-repo&lt;br /&gt;
|type      = script&lt;br /&gt;
|filename  = draw_rotation_axis.py&lt;br /&gt;
|author    = [[User:PabloGuardado|Pablo Guardado Calvo]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This script will draw a CGO cylinder representing a rotation axis for a given transformation. It's very useful for drawing the axes of rotational symmetry in an oligomeric assembly.&lt;br /&gt;
&lt;br /&gt;
The idea is to align two molecules/domains/chains/selections (using cmd.super) and extract the trasformation (TTT) matrix (T). The direction of the rotation axis, and a point are obtained from T and are used to create a cgo object representing the axis. The script generates two measures: one in the graphical screen (the rotation axis value, and the norm of the translation vector along the rotation axis) and some basic information in the command-line (the transformation matrix, the rotation angle, distance between centroids, and some pml lines that you can use to reproduce the axis...)&lt;br /&gt;
&lt;br /&gt;
As always with these type of things, you have to use it at your own risk. I did not try all possible combinations, but if you find a bug, do not hesitate to contact me (pablo.guardado@gmail.com) or try to modify the code for yourself to correct it.&lt;br /&gt;
&lt;br /&gt;
To load the script just type: &lt;br /&gt;
&lt;br /&gt;
'''run ''path-to-the-script''/draw_rotation_axis.py'''&lt;br /&gt;
&lt;br /&gt;
or if you want something more permanent add the previous line to your .pymolrc file&lt;br /&gt;
&lt;br /&gt;
The script works just typing:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('selection1', 'selection2')'''&lt;br /&gt;
&lt;br /&gt;
Please, pay attention to the apostrophes around the selections, you MUST use them. Also works with chains:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('chain A', 'chain B')'''&lt;br /&gt;
&lt;br /&gt;
or objects:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('obj01', 'obj02')'''&lt;br /&gt;
&lt;br /&gt;
Also, you can play a bit with the length, width and color of the axis.&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('selection1', 'selection2', scale_factor, width, r1, g1, b1, r2, g2, b2)'''&lt;br /&gt;
 &lt;br /&gt;
'''scale_factor''' = to control the length of the axis, the default is 20&lt;br /&gt;
&lt;br /&gt;
'''width''' = to control the width of the axis. Default is 0.6&lt;br /&gt;
&lt;br /&gt;
'''r1, g1, b1''' = first RGB color code. Default is 1, 1, 1&lt;br /&gt;
&lt;br /&gt;
'''r2, g2, b2''' = second RGB color code to create the gradient. Default is 1, 0, 0.&lt;br /&gt;
&lt;br /&gt;
To create a single color axis, just made r1,g1,b1=r2,g2,b2&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# download the source and save as draw_rotation_axis.py&lt;br /&gt;
run draw_rotation_axis.py&lt;br /&gt;
fetch 2vak&lt;br /&gt;
# calculate rotation axis between chains A and B&lt;br /&gt;
draw_axis('chain A', 'chain B')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=350 heights=350&amp;gt; &lt;br /&gt;
Image:2vak4.png |Rotation axis between chains A and B&lt;br /&gt;
Image:2vak2.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Another example, calculate the rotation axis of an homodimer&lt;br /&gt;
run draw_rotation_axis.py&lt;br /&gt;
fetch 3rfg&lt;br /&gt;
# calculate rotation axis between chains A and B&lt;br /&gt;
draw_axis('chain A', 'chain B')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=300 heights=300&amp;gt;&lt;br /&gt;
Image:3rfg1.png |Rotation axis between chains A and B&lt;br /&gt;
Image:3rfg4.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Clearly, each of the domains are made up with motifs with internal symmetry&lt;br /&gt;
draw_axis('resi 200-236 and chain A', 'resi 238-274 and chain A', 20, 0.6, 1, 0, 0, 1, 0, 0)&lt;br /&gt;
# Also, you can create first the selections and use them to calculate the axis&lt;br /&gt;
sele selection1, resi 200-236 and chain A&lt;br /&gt;
sele selection2, resi 238-274 and chain A&lt;br /&gt;
draw_axis('selection1', 'selection2', 20, 0.6, 1, 0, 0, 1, 0, 0)&lt;br /&gt;
# will produce the same result.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=300 heights=300&amp;gt;&lt;br /&gt;
Image:3rfg2.png |Internal rotation axis&lt;br /&gt;
Image:3rfg3.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library]]&lt;br /&gt;
[[Category:Math_Scripts]]&lt;br /&gt;
[[Category:Structural_Biology_Scripts]]&lt;br /&gt;
[[Category:Pymol-script-repo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=RotationAxis&amp;diff=14206</id>
		<title>RotationAxis</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=RotationAxis&amp;diff=14206"/>
		<updated>2017-11-21T10:15:52Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox script-repo&lt;br /&gt;
|type      = script&lt;br /&gt;
|filename  = draw_rotation_axis.py&lt;br /&gt;
|author    = [[User:PabloGuardado|Pablo Guardado Calvo]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This script will draw a CGO cylinder representing a rotation axis for a given transformation. &lt;br /&gt;
&lt;br /&gt;
The idea is to align two molecules/domains/chains/selections (using cmd.super) and extract the trasformation (TTT) matrix (T). The direction of the rotation axis, and a point are obtained from T and are used to create a cgo object representing the axis. The script generates two measures: one in the graphical screen (the rotation axis value, and the norm of the translation vector along the rotation axis) and some basic information in the command-line (the transformation matrix, the rotation angle, distance between centroids, and some pml lines that you can use to reproduce the axis...)&lt;br /&gt;
&lt;br /&gt;
As always with these type of things, you have to use it at your own risk. I did not try all possible combinations, but if you find a bug, do not hesitate to contact me (pablo.guardado@gmail.com) or try to modify the code for yourself to correct it.&lt;br /&gt;
&lt;br /&gt;
To load the script just type: &lt;br /&gt;
&lt;br /&gt;
'''run ''path-to-the-script''/draw_rotation_axis.py'''&lt;br /&gt;
&lt;br /&gt;
or if you want something more permanent add the previous line to your .pymolrc file&lt;br /&gt;
&lt;br /&gt;
The script works just typing:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('selection1', 'selection2')'''&lt;br /&gt;
&lt;br /&gt;
Please, pay attention to the apostrophes around the selections, you MUST use them. Also works with chains:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('chain A', 'chain B')'''&lt;br /&gt;
&lt;br /&gt;
or objects:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('obj01', 'obj02')'''&lt;br /&gt;
&lt;br /&gt;
Also, you can play a bit with the length, width and color of the axis.&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('selection1', 'selection2', scale_factor, width, r1, g1, b1, r2, g2, b2)'''&lt;br /&gt;
 &lt;br /&gt;
'''scale_factor''' = to control the length of the axis, the default is 20&lt;br /&gt;
&lt;br /&gt;
'''width''' = to control the width of the axis. Default is 0.6&lt;br /&gt;
&lt;br /&gt;
'''r1, g1, b1''' = first RGB color code. Default is 1, 1, 1&lt;br /&gt;
&lt;br /&gt;
'''r2, g2, b2''' = second RGB color code to create the gradient. Default is 1, 0, 0.&lt;br /&gt;
&lt;br /&gt;
To create a single color axis, just made r1,g1,b1=r2,g2,b2&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# download the source and save as draw_rotation_axis.py&lt;br /&gt;
run draw_rotation_axis.py&lt;br /&gt;
fetch 2vak&lt;br /&gt;
# calculate rotation axis between chains A and B&lt;br /&gt;
draw_axis('chain A', 'chain B')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=350 heights=350&amp;gt; &lt;br /&gt;
Image:2vak4.png |Rotation axis between chains A and B&lt;br /&gt;
Image:2vak2.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Another example, calculate the rotation axis of an homodimer&lt;br /&gt;
run draw_rotation_axis.py&lt;br /&gt;
fetch 3rfg&lt;br /&gt;
# calculate rotation axis between chains A and B&lt;br /&gt;
draw_axis('chain A', 'chain B')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=300 heights=300&amp;gt;&lt;br /&gt;
Image:3rfg1.png |Rotation axis between chains A and B&lt;br /&gt;
Image:3rfg4.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Clearly, each of the domains are made up with motifs with internal symmetry&lt;br /&gt;
draw_axis('resi 200-236 and chain A', 'resi 238-274 and chain A', 20, 0.6, 1, 0, 0, 1, 0, 0)&lt;br /&gt;
# Also, you can create first the selections and use them to calculate the axis&lt;br /&gt;
sele selection1, resi 200-236 and chain A&lt;br /&gt;
sele selection2, resi 238-274 and chain A&lt;br /&gt;
draw_axis('selection1', 'selection2', 20, 0.6, 1, 0, 0, 1, 0, 0)&lt;br /&gt;
# will produce the same result.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=300 heights=300&amp;gt;&lt;br /&gt;
Image:3rfg2.png |Internal rotation axis&lt;br /&gt;
Image:3rfg3.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library]]&lt;br /&gt;
[[Category:Math_Scripts]]&lt;br /&gt;
[[Category:Structural_Biology_Scripts]]&lt;br /&gt;
[[Category:Pymol-script-repo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=RotationAxis&amp;diff=14205</id>
		<title>RotationAxis</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=RotationAxis&amp;diff=14205"/>
		<updated>2017-11-21T09:22:11Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox script-repo&lt;br /&gt;
|type      = script&lt;br /&gt;
|filename  = draw_rotation_axis.py&lt;br /&gt;
|author    = [[User:PabloGuardado|Pablo Guardado Calvo]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This script will draw a CGO cylinder representing a rotation axis for a given transformation. &lt;br /&gt;
&lt;br /&gt;
The idea is to align two molecules/domains/chains/selections (using cmd.super) and extract the trasformation (TTT) matrix (T). The direction of the rotation axis, and a point are obtained from T and are used to create a cgo object representing the axis. The script generates two measures: one in the graphical screen (the rotation axis value, and the norm of the translation vector along the rotation axis) and some basic information in the command-line (the transformation matrix, the rotation angle, distance between centroids, and some pml lines that you can use to reproduce the axis...)&lt;br /&gt;
&lt;br /&gt;
As always with these type of things, you have to use it at your own risk. I did not try all possible combinations, but if you find a bug, do not hesitate to contact me (pablo.guardado@gmail.com) or try to modify the code for yourself to correct it.&lt;br /&gt;
&lt;br /&gt;
To load the script just type: &lt;br /&gt;
&lt;br /&gt;
'''run ''path-to-the-script''/draw_rotation_axis.py'''&lt;br /&gt;
&lt;br /&gt;
or if you want something more permanent add the previous line to your .pymolrc file&lt;br /&gt;
&lt;br /&gt;
The script works just typing:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('selection1', 'selection2')'''&lt;br /&gt;
&lt;br /&gt;
Please, pay attention to the apostrophes around the selections, you MUST use them. Also works with chains:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('chain A', 'chain B')'''&lt;br /&gt;
&lt;br /&gt;
or objects:&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('obj01', 'obj02')'''&lt;br /&gt;
&lt;br /&gt;
Also, you can play a bit with the length, width and color of the axis.&lt;br /&gt;
&lt;br /&gt;
'''draw_axis('selection1', 'selection2', scale_factor, width, r1, g1, b1, r2, g2, b2)'''&lt;br /&gt;
 &lt;br /&gt;
'''scale_factor''' = to control the length of the axis, the default is 20&lt;br /&gt;
&lt;br /&gt;
'''width''' = to control the width of the axis. Default is 0.6&lt;br /&gt;
&lt;br /&gt;
'''r1, g1, b1''' = first RGB color code. Default is 1, 1, 1&lt;br /&gt;
&lt;br /&gt;
'''r2, g2, b2''' = second RGB color code to create the gradient. Default is 1, 0, 0.&lt;br /&gt;
&lt;br /&gt;
To create a single color axis, just made r1,g1,b1=r2,g2,b2&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# download the source and save as draw_rotation_axis.py&lt;br /&gt;
run draw_rotation_axis.py&lt;br /&gt;
fetch 2vak&lt;br /&gt;
# calculate rotation axis between chains A and B&lt;br /&gt;
draw_axis('chain A', 'chain B')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=350 heights=350&amp;gt; &lt;br /&gt;
Image:2vak4.png |Rotation axis between chains A and B&lt;br /&gt;
Image:2vak2.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Another example, calculate the rotation axis of an homodimer&lt;br /&gt;
run draw_rotation_axis.py&lt;br /&gt;
fetch 3rfg&lt;br /&gt;
# calculate rotation axis between chains A and B&lt;br /&gt;
draw_axis('chain A', 'chain B')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=300 heights=300&amp;gt;&lt;br /&gt;
Image:3rfg1.png |Rotation axis between chains A and B&lt;br /&gt;
Image:3rfg4.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Clearly, each of the domains are made up with motifs with internal simetry&lt;br /&gt;
draw_axis('resi 200-236 and chain A', 'resi 238-274 and chain A', 20, 0.6, 1, 0, 0, 1, 0, 0)&lt;br /&gt;
# Also, you can create first the selections and use them to calculate the axis&lt;br /&gt;
sele selection1, resi 200-236 and chain A&lt;br /&gt;
sele selection2, resi 238-274 and chain A&lt;br /&gt;
draw_axis('selection1', 'selection2', 20, 0.6, 1, 0, 0, 1, 0, 0)&lt;br /&gt;
# will produce the same result.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery perrow=3 widths=300 heights=300&amp;gt;&lt;br /&gt;
Image:3rfg2.png |Internal rotation axis&lt;br /&gt;
Image:3rfg3.png |Some basic information is printed in the screen&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library]]&lt;br /&gt;
[[Category:Math_Scripts]]&lt;br /&gt;
[[Category:Structural_Biology_Scripts]]&lt;br /&gt;
[[Category:Pymol-script-repo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Atom_name_wildcard&amp;diff=14180</id>
		<title>Atom name wildcard</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Atom_name_wildcard&amp;diff=14180"/>
		<updated>2017-11-14T15:02:02Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* USAGE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==OVERVIEW==&lt;br /&gt;
This setting controls whether or not PyMOL will respect wildcards (&amp;quot;*&amp;quot;).  PyMOL automatically disables the asterisk wildcard for atom names in PDB structures read which contain asterisks in the atom name field (as many NA structures do).&lt;br /&gt;
&lt;br /&gt;
==USAGE==&lt;br /&gt;
The following code will restore wildcard usage in PyMOL, if it has been turned off.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# allow wildcards&lt;br /&gt;
unset atom_name_wildcard, object-name&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
'''Please note''', however, that PyMOL will then be unable to distinguish '''C2''' in the base from '''C2*''' in the sugar.&lt;br /&gt;
&lt;br /&gt;
If, before running the previous command, you instead issue the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# change all '*'s in names to &amp;quot;'&amp;quot;&lt;br /&gt;
alter all, name=string.replace(name,&amp;quot;*&amp;quot;,&amp;quot;'&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or in PyMol 2.x&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# change all '*'s in names to &amp;quot;'&amp;quot;&lt;br /&gt;
alter all, name=str.replace(name,&amp;quot;*&amp;quot;,&amp;quot;'&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
you will be able to distinguish C2 from C2' and still have your atom&lt;br /&gt;
name wildcards!&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings|Atom name wildcard]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=13437</id>
		<title>Stereo 3D Display Options</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=13437"/>
		<updated>2016-01-14T13:09:08Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* One Piece Multi-layer LCD Displays */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for aggregating the latest know-how and links to current Stereo 3D display options best suited for molecular graphics applications like PyMOL.  Please strive to provide objective factual information based on first-hand experiences while using the displays for real work and teaching.&lt;br /&gt;
&lt;br /&gt;
Let's figure out together what stereo solutions work well in this brave new post-CRT world!&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
&lt;br /&gt;
* '''[[#Active_Stereo_3D|Active Stereo 3D]]''' -- requires expensive and/or bulky shutter glasses.  For decades, this has been the standard solution for stereo 3D molecular visualization on the desktop.&lt;br /&gt;
* '''[[#Passive_Stereo_3D|Passive Stereo 3D]]''' -- requires inexpensive lightweight polarized glasses.  This is the standard solution for delivering stereo 3D to audiences of more than a small group of people.&lt;br /&gt;
* '''[[#Autostereoscopic_3D|Autostereoscopic 3D]]''' -- means that no glasses are required.  However, current autostereoscopic displays tend do not to work well for molecular graphics due to their inability to faithfully represent fine detail such as thin bonds and wire meshes.&lt;br /&gt;
&lt;br /&gt;
== Active Stereo 3D (High-Refresh) Displays ==&lt;br /&gt;
&lt;br /&gt;
This solution would be analogous to using desktop CRT monitors with shutter glasses.  &lt;br /&gt;
&lt;br /&gt;
=== LCD Displays (120 Hz)===&lt;br /&gt;
&lt;br /&gt;
* [http://us.acer.com/ac/en/US/content/model/ET.UG5HP.001 ACER GD235HZ]. 1920x1080 120Hz 2ms .&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com/3d-products/sa2311w/ Planar SA2311W].  This is a high-end 23&amp;quot; 3D-ready monitor.  The resolution is 1900x1280 and has a 2ms refresh time.  This worked well for us.&lt;br /&gt;
&lt;br /&gt;
* [http://www.engadget.com/2008/08/26/viewsonic-shows-off-a-120hz-lcd-display-for-computers ViewSonic VX2265wm] (VX2268wm in Europe) - [http://www.google.com/products?q=ViewSonic%20VX2265wm&amp;amp;btnG=Search+Froogle&amp;amp;lmode=unknown On the market] and [http://sourceforge.net/mailarchive/forum.php?thread_name=DED5C399-7534-4D3D-8B19-E3676C4F1867%40weizmann.ac.il&amp;amp;forum_name=pymol-users verified working under FC 12]&lt;br /&gt;
&lt;br /&gt;
* [http://www.nvidia.com/object/product_GeForce_3D_VisionBundle_us.html Samsung 2233RZ] - On the market. Quad buffered stereo in Linux works with a [http://en.wikipedia.org/wiki/Nvidia_Quadro G8x based graphics core] or better Quadro FX card with the 3 pin mini din stereo connector (currently, the cheapest card that works in Linux is the Quadro FX 3700), 195.22 (or newer) nvidia linux binary driver, and the Nvidia 3d vision kit. Even though the Quadro FX 1400/3450/4000 cards have a 3 pin stereo connector, these will not work with Nvidia 3D vision since these have core versions less than G8x. For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* USB only based stereo with the 3D vision kit works only in MS Windows (e.g. with a low end Quadro FX 370 that has no 3 pin mini din stereo connector). For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* The 195.22 Nvidia linux drivers do not support the Samsung 2233RZ in Stereo mode 3 or 10 for quad buffered stereo with other stereo kits, emitters, or goggles such as those purchased from NuVision, Stereographics, or Edimensional. You cannot use NuVision, Stereographics, or Edimensional goggles with the Nvidia 3D Vision emitters. - SP&lt;br /&gt;
&lt;br /&gt;
* NVidia 3D NVision kit only supports DirectX software for GeForce (gaming cards) on Windows; users are reporting that they are not able to run PyMOL with NVision with these cards. Get a newer model low end quadro (&amp;gt; G8x graphics core) without the 3 pin mini din (e.g. Quadro 370) or with the 3 pin mini din (e.g. Quadro 3700) for Windows.&lt;br /&gt;
&lt;br /&gt;
==== NVidia NVision 3D Setup ====&lt;br /&gt;
The NVidia 3D NVision setup provides a very nice 3D experience.  You need the following to enable PyMOL to show NVision 3D on Windows.  Please review the hardware and software requirements before moving on to the installation and setup.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Hardware=====&lt;br /&gt;
* Monitor: 120 Hz LCD: a [http://www.samsung.com/us/consumer/office/monitors/specialty/LS22CMFKFV/ZA/index.idx?pagetype=prd_detail&amp;amp;returnurl=|Samsung 2233RZ] or a [http://www.viewsonic.com/products/desktop-monitors/lcd/x-series/vx2265wm-fuhzion-lcd.htm|ViewSonic Fuhzion vx2265wm]&lt;br /&gt;
* Cable: [http://images.google.com/imgres?imgurl=http://www.logicsupply.com/images/dvi_connector_types.gif&amp;amp;imgrefurl=http://www.logicsupply.com/faq&amp;amp;usg=__G2BLaVTqBN4ie8fz_LJR1zc3zBc=&amp;amp;h=261&amp;amp;w=440&amp;amp;sz=15&amp;amp;hl=en&amp;amp;start=0&amp;amp;sig2=_hFM6ICIsxPq5WIAv8BCqg&amp;amp;zoom=1&amp;amp;tbnid=NIcKIs_BW_2rmM:&amp;amp;tbnh=135&amp;amp;tbnw=228&amp;amp;ei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;prev=/images%3Fq%3Ddual%2Blink%2Bdvi%26hl%3Den%26biw%3D1475%26bih%3D1042%26gbv%3D2%26tbs%3Disch:1&amp;amp;itbs=1&amp;amp;iact=hc&amp;amp;vpx=136&amp;amp;vpy=323&amp;amp;dur=3153&amp;amp;hovh=173&amp;amp;hovw=292&amp;amp;tx=227&amp;amp;ty=74&amp;amp;oei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;esq=1&amp;amp;page=1&amp;amp;ndsp=30&amp;amp;ved=1t:429,r:6,s:0 Dual Link DVI cable]; most  120Hz monitors will come with this cable--regardless, the cable is necessary&lt;br /&gt;
* Quadro Card: recent   [http://www.nvidia.com/page/quadrofx_family.html Quadro]   series graphics card (not a GeForce card) such as an FX 380 or 570 or later.  The GeForce cards do not support windowed openGL stereo, so we do not support these series of cards for the NVision 3D solution. For linux, you must have a quadro card that has a 3 pin mini din connector. The cheapest/oldest card that will work with linux is the Quadro 3700.&lt;br /&gt;
** '''WARNING''': The Quadro FX1400 does not support 3d vision stereo on Windows7 or Linux.&lt;br /&gt;
* Emitter: [http://www.nvidia.com/object/3d-vision-main.html|GeForce 3D Vision] hardware kit (an emitter with 3D shutter glasses). For Linux, make sure your kit comes with the 3 pin mini din &amp;quot;VESA&amp;quot; to 2.5mm stereo cable to connect from the stereo output on the video card into the emitter.&lt;br /&gt;
* GeForce Cards from series 400 onward have gained OpenGl support in recent Nvidia driver iterations (314+). This allows Pymol to be viewed in 3D using the quad buffered stereo setting with a GeForce card, 120Hz screen and 3D Vision kit.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Software=====&lt;br /&gt;
* Windows XP 32 bit (testing other OSs soon!), Windows Vista&lt;br /&gt;
* Latest Quadro [http://www.nvidia.com/Download/index.aspx?lang=en-us|Graphics Drivers from NVidia].&lt;br /&gt;
* Latest [http://www.nvidia.com/Download/index.aspx?lang=en-us|3D Graphics drivers for the NVision system]--under '''Product Type''' choose '''3D Vision'''.&lt;br /&gt;
&lt;br /&gt;
=====Installation Instructions=====&lt;br /&gt;
======System Setup======&lt;br /&gt;
# Install the Quadro '''Graphics Drivers''' and reboot your machines&lt;br /&gt;
# Install the NVision Installation, hooking up the 3D emitter and glasses as directed in the instructions&lt;br /&gt;
## Make sure the 3D demos work&lt;br /&gt;
## Complete the '''3D Vision Drivers''' install (I had errors/warnings about old drivers but this did't matter)&lt;br /&gt;
# Specify how to drive the 3D by, click on&lt;br /&gt;
:::'''Windows Start Button''' &amp;gt; '''Control Panel''' &amp;gt; '''NVidia Control Panel''' &amp;gt; '''Manage 3D Settings''' (tab) &amp;gt; '''Global Settings''' (tab on the right) &amp;gt; '''Base Profile''' (tab).  Then, under '''Settings''' choose '''Stereo - Display Mode'''.  Next, select '''Generic Active Stereo (with NVidia IR Emitter)'''.  If you have a DLP monitor/TV choose the corresponding DLP option.  You '''must''' also set '''Stereo - Enable''' to '''on'''. &lt;br /&gt;
&lt;br /&gt;
======Running PyMOL======&lt;br /&gt;
That's it!  PyMOL should now work in Quad Buffered 3D Stereo using the NVidia 3D NVision system.  To run PyMOL in 3D mode on:&lt;br /&gt;
*Windows&lt;br /&gt;
:: '''Start &amp;gt; PyMOL &amp;gt; PyMOL &amp;gt; PyMOL 3D Launch (last menu option) &amp;gt; PyMOL Stereo (Quad Buffered 3D)'''&lt;br /&gt;
*Linux&lt;br /&gt;
:: pymol -S -t 1&lt;br /&gt;
* Mac&lt;br /&gt;
:: Sorry, at this time the NVision system is not known to work on Macs.&lt;br /&gt;
&lt;br /&gt;
=== DLP Projection Televisions ===&lt;br /&gt;
&lt;br /&gt;
Projection televisions tend to be too large and fuzzy for desktop use.  Also, a band of about 20 pixels around on the edge of the display are invisible, and this limitation cannot be eliminated through overscan since the image must be scanned at native resolution in order to support stereo 3D.  The workaround is to shrink the PyMOL window to cover the visible portion of the screen.  It is worth noting that true 3D-capable LCDs (as distinct from 3D-capable HDTVs) do not suffer from this problem.&lt;br /&gt;
&lt;br /&gt;
Aside from the above concerns, the quality of the DLP stereo 3D effect is exceptional:  there is absolutely no ghosting or cross-talk between the two images. &lt;br /&gt;
&lt;br /&gt;
* [http://pages.samsung.com/us/dlp3d Samsung 3D-Ready DLP HDTVs] - work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Quadro driver support is still lacking as of Feb. 1st, 2009 - WLD&lt;br /&gt;
&lt;br /&gt;
* [http://www.mitsubishi-tv.com/ Mitsubishi 3D-Ready DLP HDTVs] - not yet tested, but are expected to work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  - WLD&lt;br /&gt;
&lt;br /&gt;
See [http://www.3dmovielist.com/3dhdtvs.html The 3D HDTV List] for more 3D-capable HDTV options.&lt;br /&gt;
&lt;br /&gt;
== Passive Stereo 3D Displays == &lt;br /&gt;
&lt;br /&gt;
=== One Piece Multi-layer LCD Displays ===&lt;br /&gt;
&lt;br /&gt;
Affordable!&lt;br /&gt;
&lt;br /&gt;
==== Zalman ====&lt;br /&gt;
'''iZ3D, the original supplier of Zalman display drivers has ceased operation and support as of 31 July 2012. DO NOT PURCHASE THESE MONITORS WITHOUT FURTHER CONFIRMATION of display support, the iZ3D support (required drivers, etc) is not activatable. If you do have further information, please post it here.''' [[User:Jedgold|Jedgold]] 12:21, 12 September 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
* [http://www.zalman.co.kr/eng/product/Product_read.asp?Idx=219 Zalman 22-inch 3D LCD monitor] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Great stereo quality provided that all drawn lines are at least 2 pixels thick.  Menus are a bit awkward to use while in stereo mode, but even so, this 650 USD display provides excellent 3D molecular visualization in both full-screen in windowed modes.  - WLD  ('''The Zalman ZM-M220W is DeLano Scientific's RECOMMENDED SOLUTION as of Feb 11, 2009!''').&lt;br /&gt;
* [http://www.zalman.co.kr/Eng/product/Product_Read.asp?idx=391 Zalman 24-inch 3D LCD monitor] - also works with PyMOL 1.2b3 &amp;amp; later under LINUX (Centos 5 x86_64 plain kernel + NVidia driver from ELRepo). I'm using an NVidia Quadro FX 580 (G96GL) graphics card (£125).  Monitor cost around £350. PyMOL automagically detects that quad buffered stereo is available on startup.--[[User:Bosmith|Bosmith]] 16:32, 2 December 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== LG ====&lt;br /&gt;
* [http://www.lg.com/us/computer-products/monitors/LG-led-monitor-D2342P-PN.jsp LG D2342P-PN]&lt;br /&gt;
* [http://www.lg.com/uk/support-product/lg-DM2752D-PZ LG DM2752D] This (and other LG passive 3D monitors/TVs) work with PyMOL. I'm driving them using NVidia Quadro 600 graphics cards under LINUX (CentOSes 5, 6 &amp;amp; 7) with the NVidia driver from ELRepo.&lt;br /&gt;
===== On Linux =====&lt;br /&gt;
* setup by editing the xorg.conf file:&lt;br /&gt;
    Option &amp;quot;Stereo&amp;quot; &amp;quot;7&amp;quot;&lt;br /&gt;
&lt;br /&gt;
in the Screen section of xorg.conf and an additional:&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option         &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
* launch using:&lt;br /&gt;
    pymol -S -t 6&lt;br /&gt;
&lt;br /&gt;
===== On Windows =====&lt;br /&gt;
# From the Start Menu: In the &amp;quot;PyMOL&amp;quot; folder, go into the &amp;quot;Stereo 3D Launch&amp;quot; subfolder, and select &amp;quot;PyMOL Zalman 3D (By Row)&amp;quot;. You might want to control-drag a copy of that shortcut on to your desktop in order to drag &amp;amp; drop content files onto it for stereo 3D visualization&lt;br /&gt;
# From the Command Line:&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;C:\Program Files\DeLano Scientific\PyMOL\PyMOLWin.exe&amp;quot; -S -t 6&lt;br /&gt;
&lt;br /&gt;
===== On Mac =====&lt;br /&gt;
# MacPyMOL: Copy and rename the &amp;quot;MacPyMOL&amp;quot; application bundle to &amp;quot;MacPyMOLZalman&amp;quot;. You can then double-click on the MacPyMOLZalman icon or drop data files directly onto it to visualize content in the Zalman stereo 3D mode.&lt;br /&gt;
# PyMOL X11 Hybrid Mode: Copy and rename the &amp;quot;MacPyMOL&amp;quot; appplication bundle to &amp;quot;PyMOLX11Zalman&amp;quot;. After launching X11, you can then double-click on the PyMOLX11Zalman icon or drop data files directly onto it to visualize that content in the Zalman stereo 3D mode.&lt;br /&gt;
&lt;br /&gt;
''For all platforms, remember to toggle stereo on and off using the &amp;quot;set stereo&amp;quot; command:''&lt;br /&gt;
    set stereo, on&lt;br /&gt;
&lt;br /&gt;
==== iZ3D ====&lt;br /&gt;
* [http://www.iz3d.com IZ3D] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  However, this display exhibits far too much cross-talk and interference between the two stereo images.  Not suitable for professional use.  - WLD&lt;br /&gt;
&lt;br /&gt;
* IZ3D is closed as of 31 July 2012, and will not offer support to their products. [[User:Jedgold|Jedgold]] 12:26, 12 September 2012 (CDT)&lt;br /&gt;
&lt;br /&gt;
=== Mirror-based Multi-LCD Solutions ===&lt;br /&gt;
&lt;br /&gt;
Expensive!&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com Planar3D] &amp;quot;I have used these displays with nVidia Quadro graphics cards under both Windows and Linux running both PyMOL and Maestro.  They work well, and the stereo quality is excellent!&amp;quot; - WLD.&lt;br /&gt;
* [http://www.inition.co.uk/inition/product.php?URL_=product_stereovis_omnia_mimo&amp;amp;SubCatID_=3 Omnia MIMO]&lt;br /&gt;
&lt;br /&gt;
== Autostereoscopic LCD Displays ==&lt;br /&gt;
&lt;br /&gt;
Some autostereoscopic displays have the ability to switch between 2D and 3D display modes.  Others are built for 3D only.&lt;br /&gt;
&lt;br /&gt;
* [http://www.dti3d.com Dimension Technologies Inc.]&lt;br /&gt;
* [http://www.seereal.com SeeReal Technologies] &lt;br /&gt;
* [http://www.newsight.com/3d-products/displays.html NewSight Corp.]&lt;br /&gt;
&lt;br /&gt;
== Stereo 3D Projectors ==&lt;br /&gt;
&lt;br /&gt;
Although these displays require shutter glasses out of the box, when combined with the adapters below and a special &amp;quot;silvered&amp;quot; screen, they can be used to project Passive Stereo 3D to a large audience.&lt;br /&gt;
&lt;br /&gt;
=== Active Stereo 3D DLP Projectors ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.depthq.com DepthQ Stereoscopic] &amp;quot;The original DepthQ gave a very good stereo 3D effort with PyMOL, but I haven't seen their latest products.&amp;quot; - WLD.&lt;br /&gt;
* [http://www.christiedigital.com/AMEN/Products/christieMirageS4K.htm Christie MIRAGE S+4K SXGA+ 6500 LUMEN DLP™ STEREOSCOPIC PROJECTOR] &amp;quot;I have been very impressed with the stereo 3D effect produced by MIRAGE projectors equipped with StereoGraphic ZScreens running PyMOL under Windows with a high-end nVidia Quadro card.&amp;quot; - WLD.&lt;br /&gt;
&lt;br /&gt;
=== Passive Stereo 3D Adaptor Hardware for Active Stereo 3D Projectors ===&lt;br /&gt;
&lt;br /&gt;
These devices make it possible for a large audience to see projected stereo 3D using inexpensive polarized glasses.&lt;br /&gt;
&lt;br /&gt;
* [http://reald-corporate.com/scientific/projectorzscreen.asp RealD StereoGraphics Projection ZScreen]&lt;br /&gt;
&lt;br /&gt;
== Who Says What? ==&lt;br /&gt;
&lt;br /&gt;
If you provide a specific quote or endorsement above, please say who you are so that everyone can know the source of the information.&lt;br /&gt;
&lt;br /&gt;
* WLD = Warren L. DeLano of DeLano Scientific LLC&lt;br /&gt;
* SP = Sabuj Pattanayek of the Center For Structural Biology, Vanderbilt University&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware_Options]]&lt;br /&gt;
[[Category:Stereo_3D_Display]]&lt;br /&gt;
[[Category:Stereo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Load&amp;diff=94</id>
		<title>Talk:Load</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Load&amp;diff=94"/>
		<updated>2012-10-12T12:09:33Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* Sorting files nicely for loading */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi,&lt;br /&gt;
I am newby in pymol scripts but I try tu use the numerotation of residues in mol2 files and pymol read only the 2 first numbers of each residu. For exemple, if you have HIS224 and HIS227 in your mol2 file, and try to &amp;quot;select resi 224 and resn HIS&amp;quot;, pymol won't find the residu. If you try &amp;quot;select resi 22 and resn HIS&amp;quot; pymol find 2 residu!!!&lt;br /&gt;
the last possibility is to use the number of residu in the substructure block in the mol2 file. But in this case, select 13/ (for exemple)  gives only hydrogenes atoms...&lt;br /&gt;
good luke and good night&lt;br /&gt;
&lt;br /&gt;
== Sorting files nicely for loading ==&lt;br /&gt;
&lt;br /&gt;
Here's a bit of python code to enhance the loading order of alphanumeric filenames - to be used in place of the lst.sort() call in the glob example like&lt;br /&gt;
&lt;br /&gt;
slst = sorted_nicely(lst)&lt;br /&gt;
&lt;br /&gt;
Not sure where the most appropriate place to put it is though&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
import re&lt;br /&gt;
&lt;br /&gt;
def sorted_nicely( l ):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot; Sort the given iterable in the way that humans expect.&lt;br /&gt;
        Mark Byers version from stackoverflow.com post&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    convert = lambda text: int(text) if text.isdigit() else text&lt;br /&gt;
    alphanum_key = lambda key: [ convert(c) for c in re.split('([0-9]+)', key) ]&lt;br /&gt;
    return sorted(l, key = alphanum_key)&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Area&amp;diff=5961</id>
		<title>Get Area</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Area&amp;diff=5961"/>
		<updated>2011-02-03T15:48:50Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* Example 1 - starting with a complex in a single files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''get_area''' calculates the surface area in square Angstroms of the selection given. Note that the accessibility is assessed in the context of the object(s) that the selection is part of. So, to get the surface areas of e.g. a component of a complex, you should make a new object containing a copy of just that component and calculate its area.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
get_area sele [,state[, load_b ]]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.get_area(string selection=&amp;quot;(all)&amp;quot;, load_b=0, state=0 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
== Example 1 - starting with a complex in a single file ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# load complex&lt;br /&gt;
# Haemoglobin in this example illustrates careful use of selection algebra&lt;br /&gt;
load 2HHB.pdb&lt;br /&gt;
&lt;br /&gt;
# create objects for alpha1, beta1 and alpha1,beta1 pair of subunits&lt;br /&gt;
create alpha1, 2HHB and chain A&lt;br /&gt;
create beta1, 2HHB and chain B&lt;br /&gt;
create ab1, 2HHB and chain A+B&lt;br /&gt;
&lt;br /&gt;
# get hydrogens onto everything (NOTE: must have valid valences on e.g. small organic molecules)&lt;br /&gt;
h_add&lt;br /&gt;
&lt;br /&gt;
# make sure all atoms within an object occlude one another&lt;br /&gt;
flag ignore, none&lt;br /&gt;
&lt;br /&gt;
# use solvent-accessible surface with high sampling density&lt;br /&gt;
set dot_solvent, 1&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
&lt;br /&gt;
# measure the components individually storing the results for later&lt;br /&gt;
alpha1_area=cmd.get_area(&amp;quot;alpha1&amp;quot;)&lt;br /&gt;
beta1_area=cmd.get_area(&amp;quot;beta1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# measure the alpha1,beta1 pair&lt;br /&gt;
ab1_area=cmd.get_area(&amp;quot;ab1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# now print results and do some maths to get the buried surface&lt;br /&gt;
print alpha1_area&lt;br /&gt;
print beta1_area&lt;br /&gt;
print ab1_area&lt;br /&gt;
print (alpha1_area + beta1_area) - ab1_area&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example 2 - starting with two components in separate files ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# load components separately&lt;br /&gt;
load my_ligand.pdb&lt;br /&gt;
load my_target.pdb&lt;br /&gt;
&lt;br /&gt;
# get hydrogens onto everything (NOTE: must have valid valences on the ligand...)&lt;br /&gt;
h_add&lt;br /&gt;
&lt;br /&gt;
# make sure all atoms within an object occlude one another&lt;br /&gt;
flag ignore, none&lt;br /&gt;
&lt;br /&gt;
# use solvent-accessible surface with high sampling density&lt;br /&gt;
set dot_solvent, 1&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
&lt;br /&gt;
# measure the components individually&lt;br /&gt;
ligand_area=cmd.get_area(&amp;quot;my_ligand&amp;quot;)&lt;br /&gt;
target_area=cmd.get_area(&amp;quot;my_target&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# create the complex&lt;br /&gt;
create my_complex, my_ligand my_target&lt;br /&gt;
&lt;br /&gt;
# measure the complex&lt;br /&gt;
complex_area=cmd.get_area(&amp;quot;my_complex&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# now print results&lt;br /&gt;
print ligand_area&lt;br /&gt;
print target_area&lt;br /&gt;
print complex_area&lt;br /&gt;
print (ligand_area + target_area) - complex_area&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 3 - using load_b to get surface area per atom ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# example usage of load_b&lt;br /&gt;
# select some organic small molecule&lt;br /&gt;
select ligand, br. first organic&lt;br /&gt;
# get its area and load it into it's b-factor column&lt;br /&gt;
get_area ligand, load_b=1&lt;br /&gt;
# print out the b-factor/areas per atom&lt;br /&gt;
iterate ligand, print b&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* For an example of '''load_b''' in use check out [[FindSurfaceResidues]].&lt;br /&gt;
* [[Surface]], most notably [[Surface#Calculating_a_partial_surface]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Get Area]]&lt;br /&gt;
[[Category:Biochemical_Properties|Get Area]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Area&amp;diff=5960</id>
		<title>Get Area</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Area&amp;diff=5960"/>
		<updated>2011-02-03T15:28:49Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''get_area''' calculates the surface area in square Angstroms of the selection given. Note that the accessibility is assessed in the context of the object(s) that the selection is part of. So, to get the surface areas of e.g. a component of a complex, you should make a new object containing a copy of just that component and calculate its area.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
get_area sele [,state[, load_b ]]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.get_area(string selection=&amp;quot;(all)&amp;quot;, load_b=0, state=0 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
== Example 1 - starting with a complex in a single files ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# load complex&lt;br /&gt;
# Haemoglobin in this example illustrates careful use of selection algebra&lt;br /&gt;
load 2HHB.pdb&lt;br /&gt;
&lt;br /&gt;
# create objects for alpha1, beta1 and alpha1,beta1 pair of subunits&lt;br /&gt;
create alpha1, 2HHB and chain A&lt;br /&gt;
create beta1, 2HHB and chain B&lt;br /&gt;
create ab1, 2HHB and chain A+B&lt;br /&gt;
&lt;br /&gt;
# get hydrogens onto everything (NOTE: must have valid valences on the ligand...)&lt;br /&gt;
h_add&lt;br /&gt;
&lt;br /&gt;
# make sure all atoms within an object occlude one another&lt;br /&gt;
flag ignore, none&lt;br /&gt;
&lt;br /&gt;
# use solvent-accessible surface with high sampling density&lt;br /&gt;
set dot_solvent, 1&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
&lt;br /&gt;
# measure the components individually storing the results for later&lt;br /&gt;
alpha1_area=cmd.get_area(&amp;quot;alpha1&amp;quot;)&lt;br /&gt;
beta1_area=cmd.get_area(&amp;quot;beta1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# measure the alpha1,beta1 pair&lt;br /&gt;
ab1_area=cmd.get_area(&amp;quot;ab1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# now print results and do some maths to get the buried surface&lt;br /&gt;
print alpha1_area&lt;br /&gt;
print beta1_area&lt;br /&gt;
print ab1_area&lt;br /&gt;
print (alpha1_area + beta1_area) - ab1_area&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example 2 - starting with two components in separate files ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# load components separately&lt;br /&gt;
load my_ligand.pdb&lt;br /&gt;
load my_target.pdb&lt;br /&gt;
&lt;br /&gt;
# get hydrogens onto everything (NOTE: must have valid valences on the ligand...)&lt;br /&gt;
h_add&lt;br /&gt;
&lt;br /&gt;
# make sure all atoms within an object occlude one another&lt;br /&gt;
flag ignore, none&lt;br /&gt;
&lt;br /&gt;
# use solvent-accessible surface with high sampling density&lt;br /&gt;
set dot_solvent, 1&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
&lt;br /&gt;
# measure the components individually&lt;br /&gt;
ligand_area=cmd.get_area(&amp;quot;my_ligand&amp;quot;)&lt;br /&gt;
target_area=cmd.get_area(&amp;quot;my_target&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# create the complex&lt;br /&gt;
create my_complex, my_ligand my_target&lt;br /&gt;
&lt;br /&gt;
# measure the complex&lt;br /&gt;
complex_area=cmd.get_area(&amp;quot;my_complex&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# now print results&lt;br /&gt;
print ligand_area&lt;br /&gt;
print target_area&lt;br /&gt;
print complex_area&lt;br /&gt;
print (ligand_area + target_area) - complex_area&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 3 - using load_b to get surface area per atom ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# example usage of load_b&lt;br /&gt;
# select some organic small molecule&lt;br /&gt;
select ligand, br. first organic&lt;br /&gt;
# get its area and load it into it's b-factor column&lt;br /&gt;
get_area ligand, load_b=1&lt;br /&gt;
# print out the b-factor/areas per atom&lt;br /&gt;
iterate ligand, print b&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* For an example of '''load_b''' in use check out [[FindSurfaceResidues]].&lt;br /&gt;
* [[Surface]], most notably [[Surface#Calculating_a_partial_surface]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Get Area]]&lt;br /&gt;
[[Category:Biochemical_Properties|Get Area]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_Area&amp;diff=5959</id>
		<title>Get Area</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_Area&amp;diff=5959"/>
		<updated>2011-02-03T15:08:04Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''get_area''' calculates the surface area in square Angstroms of the selection given. Note that the accessibility is assessed in the context of the object(s) that the selection is part of. So, to get the surface areas of e.g. a component of a complex, you should make a new object containing a copy of just that component and calculate its area.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
get_area sele [,state[, load_b ]]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.get_area(string selection=&amp;quot;(all)&amp;quot;, load_b=0, state=0 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Example =&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# load components separately&lt;br /&gt;
load my_ligand.pdb&lt;br /&gt;
load my_target.pdb&lt;br /&gt;
&lt;br /&gt;
# get hydrogens onto everything (NOTE: must have valid valences on the ligand...)&lt;br /&gt;
h_add&lt;br /&gt;
&lt;br /&gt;
# make sure all atoms within an object occlude one another&lt;br /&gt;
flag ignore, none&lt;br /&gt;
&lt;br /&gt;
# use solvent-accessible surface with high sampling density&lt;br /&gt;
set dot_solvent, 1&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
&lt;br /&gt;
# measure the components individually&lt;br /&gt;
ligand_area=cmd.get_area(&amp;quot;my_ligand&amp;quot;)&lt;br /&gt;
target_area=cmd.get_area(&amp;quot;my_target&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# create the complex&lt;br /&gt;
create my_complex, my_ligand my_target&lt;br /&gt;
&lt;br /&gt;
# measure the complex&lt;br /&gt;
complex_area=cmd.get_area(&amp;quot;my_complex&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# now print results&lt;br /&gt;
print ligand_area&lt;br /&gt;
print target_area&lt;br /&gt;
print complex_area&lt;br /&gt;
print (ligand_area + target_area) - complex_area&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# example usage of load_b&lt;br /&gt;
# select some organic small molecule&lt;br /&gt;
select ligand, br. first organic&lt;br /&gt;
# get its area and load it into it's b-factor column&lt;br /&gt;
get_area ligand, load_b=1&lt;br /&gt;
# print out the b-factor/areas per atom&lt;br /&gt;
iterate ligand, print b&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* For an example of '''load_b''' in use check out [[FindSurfaceResidues]].&lt;br /&gt;
* [[Surface]], most notably [[Surface#Calculating_a_partial_surface]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Get Area]]&lt;br /&gt;
[[Category:Biochemical_Properties|Get Area]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=10460</id>
		<title>Stereo 3D Display Options</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Stereo_3D_Display_Options&amp;diff=10460"/>
		<updated>2010-12-02T16:32:48Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* One Piece Multi-layer LCD Displays */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for aggregating the latest know-how and links to current Stereo 3D display options best suited for molecular graphics applications like PyMOL.  Please strive to provide objective factual information based on first-hand experiences while using the displays for real work and teaching.&lt;br /&gt;
&lt;br /&gt;
Let's figure out together what stereo solutions work well in this brave new post-CRT world!&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
&lt;br /&gt;
* '''[[#Active_Stereo_3D|Active Stereo 3D]]''' -- requires expensive and/or bulky shutter glasses.  For decades, this has been the standard solution for stereo 3D molecular visualization on the desktop.&lt;br /&gt;
* '''[[#Passive_Stereo_3D|Passive Stereo 3D]]''' -- requires inexpensive lightweight polarized glasses.  This is the standard solution for delivering stereo 3D to audiences of more than a small group of people.&lt;br /&gt;
* '''[[#Autostereoscopic_3D|Autostereoscopic 3D]]''' -- means that no glasses are required.  However, current autostereoscopic displays tend do not to work well for molecular graphics due to their inability to faithfully represent fine detail such as thin bonds and wire meshes.&lt;br /&gt;
&lt;br /&gt;
== Active Stereo 3D (High-Refresh) Displays ==&lt;br /&gt;
&lt;br /&gt;
This solution would be analogous to using desktop CRT monitors with shutter glasses.  &lt;br /&gt;
&lt;br /&gt;
=== LCD Displays (120 Hz)===&lt;br /&gt;
&lt;br /&gt;
* [http://www.engadget.com/2008/08/26/viewsonic-shows-off-a-120hz-lcd-display-for-computers ViewSonic VX2265wm] (VX2268wm in Europe) - [http://www.google.com/products?q=ViewSonic%20VX2265wm&amp;amp;btnG=Search+Froogle&amp;amp;lmode=unknown On the market] and [http://sourceforge.net/mailarchive/forum.php?thread_name=DED5C399-7534-4D3D-8B19-E3676C4F1867%40weizmann.ac.il&amp;amp;forum_name=pymol-users verified working under FC 12]&lt;br /&gt;
&lt;br /&gt;
* [http://www.nvidia.com/object/product_GeForce_3D_VisionBundle_us.html Samsung 2233RZ] - On the market. Quad buffered stereo in Linux works with a [http://en.wikipedia.org/wiki/Nvidia_Quadro G8x based graphics core] or better Quadro FX card with the 3 pin mini din stereo connector (currently, the cheapest card that works in Linux is the Quadro FX 3700), 195.22 (or newer) nvidia linux binary driver, and the Nvidia 3d vision kit. Even though the Quadro FX 1400/3450/4000 cards have a 3 pin stereo connector, these will not work with Nvidia 3D vision since these have core versions less than G8x. For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* USB only based stereo with the 3D vision kit works only in MS Windows (e.g. with a low end Quadro FX 370 that has no 3 pin mini din stereo connector). For more information see this forum post [http://forums.nvidia.com/index.php?showtopic=91072&amp;amp;view=findpost&amp;amp;p=968627 at the Nvidia Forums]. - SP&lt;br /&gt;
&lt;br /&gt;
* The 195.22 Nvidia linux drivers do not support the Samsung 2233RZ in Stereo mode 3 or 10 for quad buffered stereo with other stereo kits, emitters, or goggles such as those purchased from NuVision, Stereographics, or Edimensional. You cannot use NuVision, Stereographics, or Edimensional goggles with the Nvidia 3D Vision emitters. - SP&lt;br /&gt;
&lt;br /&gt;
* NVidia 3D NVision kit only supports DirectX software for GeForce (gaming cards) on Windows; users are reporting that they are not able to run PyMOL with NVision with these cards. Get a newer model low end quadro (&amp;gt; G8x graphics core) without the 3 pin mini din (e.g. Quadro 370) or with the 3 pin mini din (e.g. Quadro 3700) for Windows.&lt;br /&gt;
&lt;br /&gt;
==== NVidia NVision 3D Setup ====&lt;br /&gt;
The NVidia 3D NVision setup provides a very nice 3D experience.  You need the following to enable PyMOL to show NVision 3D on Windows.  Please review the hardware and software requirements before moving on to the installation and setup.&lt;br /&gt;
&lt;br /&gt;
=====Necessary Hardware=====&lt;br /&gt;
* Monitor: 120 Hz LCD: a [http://www.samsung.com/us/consumer/office/monitors/specialty/LS22CMFKFV/ZA/index.idx?pagetype=prd_detail&amp;amp;returnurl=|Samsung 2233RZ] or a [http://www.viewsonic.com/products/desktop-monitors/lcd/x-series/vx2265wm-fuhzion-lcd.htm|ViewSonic Fuhzion vx2265wm]&lt;br /&gt;
* Cable: [http://images.google.com/imgres?imgurl=http://www.logicsupply.com/images/dvi_connector_types.gif&amp;amp;imgrefurl=http://www.logicsupply.com/faq&amp;amp;usg=__G2BLaVTqBN4ie8fz_LJR1zc3zBc=&amp;amp;h=261&amp;amp;w=440&amp;amp;sz=15&amp;amp;hl=en&amp;amp;start=0&amp;amp;sig2=_hFM6ICIsxPq5WIAv8BCqg&amp;amp;zoom=1&amp;amp;tbnid=NIcKIs_BW_2rmM:&amp;amp;tbnh=135&amp;amp;tbnw=228&amp;amp;ei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;prev=/images%3Fq%3Ddual%2Blink%2Bdvi%26hl%3Den%26biw%3D1475%26bih%3D1042%26gbv%3D2%26tbs%3Disch:1&amp;amp;itbs=1&amp;amp;iact=hc&amp;amp;vpx=136&amp;amp;vpy=323&amp;amp;dur=3153&amp;amp;hovh=173&amp;amp;hovw=292&amp;amp;tx=227&amp;amp;ty=74&amp;amp;oei=KHN2TL-UC8P_lgfr44nsCw&amp;amp;esq=1&amp;amp;page=1&amp;amp;ndsp=30&amp;amp;ved=1t:429,r:6,s:0 Dual Link DVI cable]; most  120Hz monitors will come with this cable--regardless, the cable is necessary&lt;br /&gt;
* Quadro Card: recent   [http://www.nvidia.com/page/quadrofx_family.html Quadro]   series graphics card (not a GeForce card) such as an FX 380 or 570 or later.  The GeForce cards do not support windowed openGL stereo, so we do not support these series of cards for the NVision 3D solution&lt;br /&gt;
** '''WARNING''': The Quadro FX1400 does not support stereo on Windows7&lt;br /&gt;
* Emitter: [http://www.nvidia.com/object/3d-vision-main.html|GeForce 3D Vision] hardware kit (an emitter with 3D shutter glasses)&lt;br /&gt;
&lt;br /&gt;
=====Necessary Software=====&lt;br /&gt;
* Windows XP 32 bit (testing other OSs soon!), Windows Vista&lt;br /&gt;
* Latest Quadro [http://www.nvidia.com/Download/index.aspx?lang=en-us|Graphics Drivers from NVidia].&lt;br /&gt;
* Latest [http://www.nvidia.com/Download/index.aspx?lang=en-us|3D Graphics drivers for the NVision system]--under '''Product Type''' choose '''3D Vision'''.&lt;br /&gt;
&lt;br /&gt;
=====Installation Instructions=====&lt;br /&gt;
======System Setup======&lt;br /&gt;
# Install the Quadro '''Graphics Drivers''' and reboot your machines&lt;br /&gt;
# Install the NVision Installation, hooking up the 3D emitter and glasses as directed in the instructions&lt;br /&gt;
## Make sure the 3D demos work&lt;br /&gt;
## Complete the '''3D Vision Drivers''' install (I had errors/warnings about old drivers but this did't matter)&lt;br /&gt;
# Specify how to drive the 3D by, click on&lt;br /&gt;
:::'''Windows Start Button''' &amp;gt; '''Control Panel''' &amp;gt; '''NVidia Control Panel''' &amp;gt; '''Manage 3D Settings''' (tab) &amp;gt; '''Global Settings''' (tab on the right) &amp;gt; '''Base Profile''' (tab).  Then, under '''Settings''' choose '''Stereo - Display Mode'''.  Next, select '''Generic Active Stereo (with NVidia IR Emitter)'''.  If you have a DLP monitor/TV choose the corresponding DLP option.  You '''must''' also set '''Stereo - Enable''' to '''on'''. &lt;br /&gt;
&lt;br /&gt;
======Running PyMOL======&lt;br /&gt;
That's it!  PyMOL should now work in Quad Buffered 3D Stereo using the NVidia 3D NVision system.  To run PyMOL in 3D mode on:&lt;br /&gt;
*Windows&lt;br /&gt;
:: '''Start &amp;gt; PyMOL &amp;gt; PyMOL &amp;gt; PyMOL 3D Launch (last menu option) &amp;gt; PyMOL Stereo (Quad Buffered 3D)'''&lt;br /&gt;
*Linux&lt;br /&gt;
:: pymol -s -t 1&lt;br /&gt;
* Mac&lt;br /&gt;
:: Sorry, at this time the NVision system is not known to work on Macs.&lt;br /&gt;
&lt;br /&gt;
=== DLP Projection Televisions ===&lt;br /&gt;
&lt;br /&gt;
Projection televisions tend to be too large and fuzzy for desktop use.  Also, a band of about 20 pixels around on the edge of the display are invisible, and this limitation cannot be eliminated through overscan since the image must be scanned at native resolution in order to support stereo 3D.  The workaround is to shrink the PyMOL window to cover the visible portion of the screen.  It is worth noting that true 3D-capable LCDs (as distinct from 3D-capable HDTVs) do not suffer from this problem.&lt;br /&gt;
&lt;br /&gt;
Aside from the above concerns, the quality of the DLP stereo 3D effect is exceptional:  there is absolutely no ghosting or cross-talk between the two images. &lt;br /&gt;
&lt;br /&gt;
* [http://pages.samsung.com/us/dlp3d Samsung 3D-Ready DLP HDTVs] - work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Quadro driver support is still lacking as of Feb. 1st, 2009 - WLD&lt;br /&gt;
&lt;br /&gt;
* [http://www.mitsubishi-tv.com/ Mitsubishi 3D-Ready DLP HDTVs] - not yet tested, but are expected to work with PyMOL 1.2b3 &amp;amp; later without any special drivers.  - WLD&lt;br /&gt;
&lt;br /&gt;
See [http://www.3dmovielist.com/3dhdtvs.html The 3D HDTV List] for more 3D-capable HDTV options.&lt;br /&gt;
&lt;br /&gt;
== Passive Stereo 3D Displays == &lt;br /&gt;
&lt;br /&gt;
=== One Piece Multi-layer LCD Displays ===&lt;br /&gt;
&lt;br /&gt;
Affordable!&lt;br /&gt;
&lt;br /&gt;
* [http://www.zalman.co.kr/eng/product/Product_read.asp?Idx=219 Zalman 22-inch 3D LCD monitor] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  Great stereo quality provided that all drawn lines are at least 2 pixels thick.  Menus are a bit awkward to use while in stereo mode, but even so, this 650 USD display provides excellent 3D molecular visualization in both full-screen in windowed modes.  - WLD  ('''The Zalman ZM-M220W is DeLano Scientific's RECOMMENDED SOLUTION as of Feb 11, 2009!''').&lt;br /&gt;
* [http://www.zalman.co.kr/Eng/product/Product_Read.asp?idx=391 Zalman 24-inch 3D LCD monitor] - also works with PyMOL 1.2b3 &amp;amp; later under LINUX (Centos 5 x86_64 plain kernel + NVidia driver from ELRepo). I'm using an NVidia Quadro FX 580 (G96GL) graphics card (was £125) with&lt;br /&gt;
&lt;br /&gt;
    Option &amp;quot;Stereo&amp;quot; &amp;quot;7&amp;quot;&lt;br /&gt;
&lt;br /&gt;
in the Screen section of xorg.conf and an additional&lt;br /&gt;
&lt;br /&gt;
    Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option         &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
    EndSection&lt;br /&gt;
&lt;br /&gt;
Monitor cost around £350. PyMOL automagically detects that quad buffered stereo is available on startup.--[[User:Bosmith|Bosmith]] 16:32, 2 December 2010 (UTC)&lt;br /&gt;
* [http://www.iz3d.com IZ3D] - works with PyMOL 1.2b3 &amp;amp; later without any special drivers.  However, this display exhibits far too much cross-talk and interference between the two stereo images.  Not suitable for professional use.  - WLD&lt;br /&gt;
&lt;br /&gt;
=== Mirror-based Multi-LCD Solutions ===&lt;br /&gt;
&lt;br /&gt;
Expensive!&lt;br /&gt;
&lt;br /&gt;
* [http://www.planar3d.com Planar3D] &amp;quot;I have used these displays with nVidia Quadro graphics cards under both Windows and Linux running both PyMOL and Maestro.  They work well, and the stereo quality is excellent!&amp;quot; - WLD.&lt;br /&gt;
* [http://www.inition.co.uk/inition/product.php?URL_=product_stereovis_omnia_mimo&amp;amp;SubCatID_=3 Omnia MIMO]&lt;br /&gt;
&lt;br /&gt;
== Autostereoscopic LCD Displays ==&lt;br /&gt;
&lt;br /&gt;
Some autostereoscopic displays have the ability to switch between 2D and 3D display modes.  Others are built for 3D only.&lt;br /&gt;
&lt;br /&gt;
* [http://www.dti3d.com Dimension Technologies Inc.]&lt;br /&gt;
* [http://www.seereal.com SeeReal Technologies] &lt;br /&gt;
* [http://www.newsight.com/3d-products/displays.html NewSight Corp.]&lt;br /&gt;
&lt;br /&gt;
== Stereo 3D Projectors ==&lt;br /&gt;
&lt;br /&gt;
Although these displays require shutter glasses out of the box, when combined with the adapters below and a special &amp;quot;silvered&amp;quot; screen, they can be used to project Passive Stereo 3D to a large audience.&lt;br /&gt;
&lt;br /&gt;
=== Active Stereo 3D DLP Projectors ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.depthq.com DepthQ Stereoscopic] &amp;quot;The original DepthQ gave a very good stereo 3D effort with PyMOL, but I haven't seen their latest products.&amp;quot; - WLD.&lt;br /&gt;
* [http://www.christiedigital.com/AMEN/Products/christieMirageS4K.htm Christie MIRAGE S+4K SXGA+ 6500 LUMEN DLP™ STEREOSCOPIC PROJECTOR] &amp;quot;I have been very impressed with the stereo 3D effect produced by MIRAGE projectors equipped with StereoGraphic ZScreens running PyMOL under Windows with a high-end nVidia Quadro card.&amp;quot; - WLD.&lt;br /&gt;
&lt;br /&gt;
=== Passive Stereo 3D Adaptor Hardware for Active Stereo 3D Projectors ===&lt;br /&gt;
&lt;br /&gt;
These devices make it possible for a large audience to see projected stereo 3D using inexpensive polarized glasses.&lt;br /&gt;
&lt;br /&gt;
* [http://reald-corporate.com/scientific/projectorzscreen.asp RealD StereoGraphics Projection ZScreen]&lt;br /&gt;
&lt;br /&gt;
== Who Says What? ==&lt;br /&gt;
&lt;br /&gt;
If you provide a specific quote or endorsement above, please say who you are so that everyone can know the source of the information.&lt;br /&gt;
&lt;br /&gt;
* WLD = Warren L. DeLano of DeLano Scientific LLC&lt;br /&gt;
* SP = Sabuj Pattanayek of the Center For Structural Biology, Vanderbilt University&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware_Options]]&lt;br /&gt;
[[Category:Stereo_3D_Display]]&lt;br /&gt;
[[Category:Stereo]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Displaying_Biochemical_Properties&amp;diff=8183</id>
		<title>Displaying Biochemical Properties</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Displaying_Biochemical_Properties&amp;diff=8183"/>
		<updated>2007-10-05T13:04:53Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* Hydrogen bonds where find-&amp;gt;polar contacts doesn't do what you need */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Selecting secondary structures==&lt;br /&gt;
A few examples:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 select helix, (ss h)&lt;br /&gt;
 select sheet, (ss s)&lt;br /&gt;
 select loop, (ss l+'')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manually Assigning Secondary Structure===&lt;br /&gt;
You can manually assign secondary stuctures to your protein by&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;pre&amp;gt;&lt;br /&gt;
 alter 96-103/, ss='S'&lt;br /&gt;
 alter 96-103/, ss='H'&lt;br /&gt;
 alter 96-103/, ss='L'&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to set residues 96-103 to beta Strand, alpha Helix, and Loop respectively.&lt;br /&gt;
&lt;br /&gt;
===See Also===&lt;br /&gt;
[[Cmd dss]]&lt;br /&gt;
&lt;br /&gt;
[[:Category:FAQ|FAQ]] [[:Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;br /&gt;
&lt;br /&gt;
==Color by atom type from a script==&lt;br /&gt;
See [[Color]] for this.&lt;br /&gt;
 &lt;br /&gt;
==Displaying double bonds==&lt;br /&gt;
You can go into the lines mode and turning on the valence display:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide&lt;br /&gt;
show lines&lt;br /&gt;
set valence, 0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A higher value for valence spreads things out more. I don't know of a way to get the dotted notation.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
==Calculating dihedral angles==&lt;br /&gt;
The get_dihedral function requires four single-atom selections to work:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
get_dihedral prot1///9/C, prot1///10/N, prot1///10/CA, prot1///10/C&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Hydrogen bonds and Polar Contacts==&lt;br /&gt;
[[Image:Polar_contacts_small.png|thumb|Polar Contacts in PyMol|center|300px]]&lt;br /&gt;
Using the actions [A] button for an object or selection you can display Hydrogen bonds and Polar Contacts.&lt;br /&gt;
[A]-&amp;gt;find-&amp;gt;polar contacts-&amp;gt;&amp;lt;select from menu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command behind the menus is the &amp;lt;b&amp;gt;dist&amp;lt;/b&amp;gt;ance command called with the additional argument mode=2.&lt;br /&gt;
&lt;br /&gt;
Parameters that control the the identification of H-bonds are defined as&lt;br /&gt;
 set h_bond_cutoff_center, 3.6&lt;br /&gt;
with ideal geometry and&lt;br /&gt;
 set h_bond_cutoff_edge, 3.2&lt;br /&gt;
with minimally acceptable geometry.&lt;br /&gt;
&lt;br /&gt;
These settings can be changed *before* running the detection process (dist&lt;br /&gt;
command mode=2 or via the menus).&lt;br /&gt;
&lt;br /&gt;
Note that the hydrogen bond geometric criteria used in PyMOL was designed to&lt;br /&gt;
emulate that used by DSSP.&lt;br /&gt;
&lt;br /&gt;
=== Hydrogen bonds between specific atoms ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
dist name, sele1, sele2, mode=2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hydrogen bonds where find-&amp;gt;polar contacts doesn't do what you need ===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Two examples are below. For clarity, they draw dashes between the heavy atoms and hide the hydrogens.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# EXAMPLE 1: Show hydrogen bonds between protein &lt;br /&gt;
# and docked ligands (which must have hydrogens)&lt;br /&gt;
&lt;br /&gt;
load target.pdb,prot&lt;br /&gt;
load docked_ligs.sdf,lig&lt;br /&gt;
&lt;br /&gt;
# add hydrogens to protein&lt;br /&gt;
&lt;br /&gt;
h_add prot&lt;br /&gt;
&lt;br /&gt;
select don, (elem n,o and (neighbor hydro))&lt;br /&gt;
select acc, (elem o or (elem n and not (neighbor hydro)))&lt;br /&gt;
dist HBA, (lig and acc),(prot and don), 3.2&lt;br /&gt;
dist HBD, (lig and don),(prot and acc), 3.2&lt;br /&gt;
delete don&lt;br /&gt;
delete acc&lt;br /&gt;
hide (hydro)&lt;br /&gt;
&lt;br /&gt;
hide labels,HBA&lt;br /&gt;
hide labels,HBD&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# EXAMPLE 2&lt;br /&gt;
# Show hydrogen bonds between two proteins&lt;br /&gt;
&lt;br /&gt;
load prot1.pdb&lt;br /&gt;
load prot2.pdb&lt;br /&gt;
&lt;br /&gt;
h_add prot1&lt;br /&gt;
h_add prot2&lt;br /&gt;
&lt;br /&gt;
select don, (elem n,o and (neighbor hydro))&lt;br /&gt;
select acc, (elem o or (elem n and not (neighbor hydro)))&lt;br /&gt;
dist HBA, (prot1 and acc),(prot2 and don), 3.2&lt;br /&gt;
dist HBD, (prot1 and don),(prot2 and acc), 3.2&lt;br /&gt;
delete don&lt;br /&gt;
delete acc&lt;br /&gt;
hide (hydro)&lt;br /&gt;
&lt;br /&gt;
hide labels,HBA&lt;br /&gt;
hide labels,HBD&lt;br /&gt;
&lt;br /&gt;
# NOTE: that you could also use this approach between two&lt;br /&gt;
# non-overlapping selections within a single object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
There is also a [http://www.ebi.ac.uk/~gareth/pymol/downloads/scripts/hbond.py script] drawing nice hydrogen bonds from [http://www.ebi.ac.uk/~gareth Gareth Stockwell].&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;polar contacts&amp;quot; mentioned above are probably better at finding hydrogen bonds than these scripts. &amp;quot;Polar contacts&amp;quot; check geometry as well as distance.&lt;br /&gt;
&lt;br /&gt;
==Assign color by B-factor==&lt;br /&gt;
See section [[Color]] for this.&lt;br /&gt;
 &lt;br /&gt;
==Polar surface area==&lt;br /&gt;
For a solvent accessible PSA approximation:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
remove hydro&lt;br /&gt;
remove solvent&lt;br /&gt;
show dots&lt;br /&gt;
set dot_solvent, on&lt;br /&gt;
get_area elem N+O&lt;br /&gt;
get_area elem C+S&lt;br /&gt;
get_area all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For molecular PSA approximation&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
remove hydro&lt;br /&gt;
remove solvent&lt;br /&gt;
set dot_solvent, off&lt;br /&gt;
get_area elem N+O&lt;br /&gt;
get_area elem C+S&lt;br /&gt;
get_area all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Showing dots isn't mandatory, but it's a good idea to confirm that you're getting the value for the atom dot surface you think you're using.&lt;br /&gt;
Please realize that the resulting numbers are only approximate, reflecting the sum of partial surface areas for all the dots you see. To increase accuracy, set dot_density to 4, but be prepared to wait...&lt;br /&gt;
 &lt;br /&gt;
==Display solvent accessible surface==&lt;br /&gt;
Using the surface display mode, PyMOL doesn't show the solvent accessible surface, rather it shows the solvent/protein contact surface. The solvent accessible surface area is usually defined as the surface traced out by the center of a water sphere, having a radius of about 1.4 angstroms, rolled over the protein atoms. The contact surface is the surface traced out by the vdw surfaces of the water atoms when in contact with the protein.&lt;br /&gt;
&lt;br /&gt;
PyMOL can only show solvent accessible surfaces using the dot or sphere representations:&lt;br /&gt;
&lt;br /&gt;
for dots:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
show dots&lt;br /&gt;
set dot_mode,1&lt;br /&gt;
set dot_density,3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for spheres:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
alter all,vdw=vdw+1.4&lt;br /&gt;
show spheres&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Displaying the C-Alpha trace of proteins==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide&lt;br /&gt;
show ribbon&lt;br /&gt;
set ribbon_sampling,1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if your model only contains CA atoms, you'll also need to issue:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set ribbon_trace,1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Displaying the Amino Acid Backbone==&lt;br /&gt;
The easiest way to see the backbone of the protein is to do&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide all&lt;br /&gt;
show ribbon&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don't like the ribbon representation, you can also do something like&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide all&lt;br /&gt;
show sticks, name C+O+N+CA&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You can replace '''sticks''' in the above by other representations like '''spheres''' or '''lines'''.&lt;br /&gt;
&lt;br /&gt;
==Displaying the Phosphate backbone of nucleic acids==&lt;br /&gt;
&lt;br /&gt;
====Native Nucleic Acid Rendering in PyMol====&lt;br /&gt;
PyMol now better supports viewing nucleic acid structure. [[Nuccyl]] still seems to be the reigning champ for image quality, but see PyMol's native [[Cartoon]] command.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should you ever want to show the phosphate trace of a nucleic acid molecule:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def p_trace(selection=&amp;quot;(all)&amp;quot;):&lt;br /&gt;
    s = str(selection)&lt;br /&gt;
    cmd.hide('lines',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('spheres',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('sticks',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('ribbon',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.show('cartoon',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.set('cartoon_sampling',1,&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.set('cartoon_tube_radius',0.5,&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
cmd.extend('p_trace',p_trace)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
p_trace (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Align proteins with CA fit==&lt;br /&gt;
If two proteins have significant homology, you can use the [[Cmd align]] command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
align prot1////ca,prot2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will perform a sequence alignment of prot1 against prot2, and then an optimizing fit using the CA positions. I'm not sure if the help text for align got into 0.82, but the next version will definitely have it.&lt;br /&gt;
&lt;br /&gt;
[[Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Cmd_h_add&amp;diff=6718</id>
		<title>Cmd h add</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Cmd_h_add&amp;diff=6718"/>
		<updated>2007-10-05T13:03:54Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: Cmd h add moved to H add&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[H add]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6129</id>
		<title>H Add</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6129"/>
		<updated>2007-10-05T13:03:54Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: Cmd h add moved to H add&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;h_add&amp;quot; uses a primitive algorithm to add hydrogens onto a molecule.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;menus&amp;lt;/b&amp;gt;&lt;br /&gt;
[A]-&amp;gt;hydrogens-&amp;gt;add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;command line/console&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
   h_add (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;via python API&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.h_add( string selection=&amp;quot;(all)&amp;quot; )&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
see also [[h_fill]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|h]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6128</id>
		<title>H Add</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6128"/>
		<updated>2007-10-05T11:18:30Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;h_add&amp;quot; uses a primitive algorithm to add hydrogens onto a molecule.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;menus&amp;lt;/b&amp;gt;&lt;br /&gt;
[A]-&amp;gt;hydrogens-&amp;gt;add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;command line/console&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
   h_add (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;via python API&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.h_add( string selection=&amp;quot;(all)&amp;quot; )&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
see also [[h_fill]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|h]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6127</id>
		<title>H Add</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6127"/>
		<updated>2007-10-05T11:16:43Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;h_add&amp;quot; uses a primitive algorithm to add hydrogens onto a molecule.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;menus&amp;lt;/b&amp;gt;&lt;br /&gt;
[A]-&amp;gt;hydrogens-&amp;gt;add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;command line/console&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
   h_add (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;via python API&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.h_add( string selection=&amp;quot;(all)&amp;quot; )&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
see also [[h_fill]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6126</id>
		<title>H Add</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6126"/>
		<updated>2007-10-05T11:16:34Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;h_add&amp;quot; uses a primitive algorithm to add hydrogens onto a molecule.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;menus&amp;lt;/b&amp;gt;&lt;br /&gt;
[A]-&amp;gt;hydrogens-&amp;gt;add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;command line/console&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
   h_add (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;via python API&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.h_add( string selection=&amp;quot;(all)&amp;quot; )&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
see also [[h_fill]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6125</id>
		<title>H Add</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=H_Add&amp;diff=6125"/>
		<updated>2007-10-05T11:01:04Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: New page: &amp;quot;h_add&amp;quot; uses a primitive algorithm to add hydrogens onto a molecule.  &amp;lt;b&amp;gt;menus&amp;lt;/b&amp;gt; [A]-&amp;gt;hydrogens-&amp;gt;add  &amp;lt;b&amp;gt;command line/console&amp;lt;/b&amp;gt; &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;    h_add (selection) &amp;lt;/source&amp;gt;  &amp;lt;b&amp;gt;via python A...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;h_add&amp;quot; uses a primitive algorithm to add hydrogens onto a molecule.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;menus&amp;lt;/b&amp;gt;&lt;br /&gt;
[A]-&amp;gt;hydrogens-&amp;gt;add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;command line/console&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
   h_add (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;via python API&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.h_add( string selection=&amp;quot;(all)&amp;quot; )&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
see also [[h_fill]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Displaying_Biochemical_Properties&amp;diff=311</id>
		<title>Talk:Displaying Biochemical Properties</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Displaying_Biochemical_Properties&amp;diff=311"/>
		<updated>2007-10-05T10:42:49Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;3rd Oct 2007: Looks to me as if there is a strong case for updating the H-bonds/polar contacts section to present a more coherent picture.  Anyone object? [[User:Bosmith|Bosmith]]&lt;br /&gt;
&lt;br /&gt;
Nope, feel free to make the changes!&lt;br /&gt;
[[User:Inchoate|Tree]] 11:58, 3 October 2007 (CDT)&lt;br /&gt;
&lt;br /&gt;
Had a go - what do you reckon? [[User:Bosmith|Bosmith]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Displaying_Biochemical_Properties&amp;diff=8182</id>
		<title>Displaying Biochemical Properties</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Displaying_Biochemical_Properties&amp;diff=8182"/>
		<updated>2007-10-05T10:39:16Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Selecting secondary structures==&lt;br /&gt;
A few examples:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 select helix, (ss h)&lt;br /&gt;
 select sheet, (ss s)&lt;br /&gt;
 select loop, (ss l+'')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manually Assigning Secondary Structure===&lt;br /&gt;
You can manually assign secondary stuctures to your protein by&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;pre&amp;gt;&lt;br /&gt;
 alter 96-103/, ss='S'&lt;br /&gt;
 alter 96-103/, ss='H'&lt;br /&gt;
 alter 96-103/, ss='L'&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to set residues 96-103 to beta Strand, alpha Helix, and Loop respectively.&lt;br /&gt;
&lt;br /&gt;
===See Also===&lt;br /&gt;
[[Cmd dss]]&lt;br /&gt;
&lt;br /&gt;
[[:Category:FAQ|FAQ]] [[:Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;br /&gt;
&lt;br /&gt;
==Color by atom type from a script==&lt;br /&gt;
See [[Color]] for this.&lt;br /&gt;
 &lt;br /&gt;
==Displaying double bonds==&lt;br /&gt;
You can go into the lines mode and turning on the valence display:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide&lt;br /&gt;
show lines&lt;br /&gt;
set valence, 0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A higher value for valence spreads things out more. I don't know of a way to get the dotted notation.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
==Calculating dihedral angles==&lt;br /&gt;
The get_dihedral function requires four single-atom selections to work:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
get_dihedral prot1///9/C, prot1///10/N, prot1///10/CA, prot1///10/C&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Hydrogen bonds and Polar Contacts==&lt;br /&gt;
[[Image:Polar_contacts_small.png|thumb|Polar Contacts in PyMol|center|300px]]&lt;br /&gt;
Using the actions [A] button for an object or selection you can display Hydrogen bonds and Polar Contacts.&lt;br /&gt;
[A]-&amp;gt;find-&amp;gt;polar contacts-&amp;gt;&amp;lt;select from menu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command behind the menus is the &amp;lt;b&amp;gt;dist&amp;lt;/b&amp;gt;ance command called with the additional argument mode=2.&lt;br /&gt;
&lt;br /&gt;
Parameters that control the the identification of H-bonds are defined as&lt;br /&gt;
 set h_bond_cutoff_center, 3.6&lt;br /&gt;
with ideal geometry and&lt;br /&gt;
 set h_bond_cutoff_edge, 3.2&lt;br /&gt;
with minimally acceptable geometry.&lt;br /&gt;
&lt;br /&gt;
These settings can be changed *before* running the detection process (dist&lt;br /&gt;
command mode=2 or via the menus).&lt;br /&gt;
&lt;br /&gt;
Note that the hydrogen bond geometric criteria used in PyMOL was designed to&lt;br /&gt;
emulate that used by DSSP.&lt;br /&gt;
&lt;br /&gt;
=== Hydrogen bonds between specific atoms ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
dist name, sele1, sele2, mode=2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hydrogen bonds where find-&amp;gt;polar contacts doesn't do what you need ===&lt;br /&gt;
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 [[Cmd h_add]] on the proteins, or provide ligands with valence information and then use h_add.&lt;br /&gt;
&lt;br /&gt;
Two examples are below. For clarity, they draw dashes between the heavy atoms and hide the hydrogens.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# EXAMPLE 1: Show hydrogen bonds between protein &lt;br /&gt;
# and docked ligands (which must have hydrogens)&lt;br /&gt;
&lt;br /&gt;
load target.pdb,prot&lt;br /&gt;
load docked_ligs.sdf,lig&lt;br /&gt;
&lt;br /&gt;
# add hydrogens to protein&lt;br /&gt;
&lt;br /&gt;
h_add prot&lt;br /&gt;
&lt;br /&gt;
select don, (elem n,o and (neighbor hydro))&lt;br /&gt;
select acc, (elem o or (elem n and not (neighbor hydro)))&lt;br /&gt;
dist HBA, (lig and acc),(prot and don), 3.2&lt;br /&gt;
dist HBD, (lig and don),(prot and acc), 3.2&lt;br /&gt;
delete don&lt;br /&gt;
delete acc&lt;br /&gt;
hide (hydro)&lt;br /&gt;
&lt;br /&gt;
hide labels,HBA&lt;br /&gt;
hide labels,HBD&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# EXAMPLE 2&lt;br /&gt;
# Show hydrogen bonds between two proteins&lt;br /&gt;
&lt;br /&gt;
load prot1.pdb&lt;br /&gt;
load prot2.pdb&lt;br /&gt;
&lt;br /&gt;
h_add prot1&lt;br /&gt;
h_add prot2&lt;br /&gt;
&lt;br /&gt;
select don, (elem n,o and (neighbor hydro))&lt;br /&gt;
select acc, (elem o or (elem n and not (neighbor hydro)))&lt;br /&gt;
dist HBA, (prot1 and acc),(prot2 and don), 3.2&lt;br /&gt;
dist HBD, (prot1 and don),(prot2 and acc), 3.2&lt;br /&gt;
delete don&lt;br /&gt;
delete acc&lt;br /&gt;
hide (hydro)&lt;br /&gt;
&lt;br /&gt;
hide labels,HBA&lt;br /&gt;
hide labels,HBD&lt;br /&gt;
&lt;br /&gt;
# NOTE: that you could also use this approach between two&lt;br /&gt;
# non-overlapping selections within a single object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
There is also a [http://www.ebi.ac.uk/~gareth/pymol/downloads/scripts/hbond.py script] drawing nice hydrogen bonds from [http://www.ebi.ac.uk/~gareth Gareth Stockwell].&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;polar contacts&amp;quot; mentioned above are probably better at finding hydrogen bonds than these scripts. &amp;quot;Polar contacts&amp;quot; check geometry as well as distance.&lt;br /&gt;
&lt;br /&gt;
==Assign color by B-factor==&lt;br /&gt;
See section [[Color]] for this.&lt;br /&gt;
 &lt;br /&gt;
==Polar surface area==&lt;br /&gt;
For a solvent accessible PSA approximation:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
remove hydro&lt;br /&gt;
remove solvent&lt;br /&gt;
show dots&lt;br /&gt;
set dot_solvent, on&lt;br /&gt;
get_area elem N+O&lt;br /&gt;
get_area elem C+S&lt;br /&gt;
get_area all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For molecular PSA approximation&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
remove hydro&lt;br /&gt;
remove solvent&lt;br /&gt;
set dot_solvent, off&lt;br /&gt;
get_area elem N+O&lt;br /&gt;
get_area elem C+S&lt;br /&gt;
get_area all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Showing dots isn't mandatory, but it's a good idea to confirm that you're getting the value for the atom dot surface you think you're using.&lt;br /&gt;
Please realize that the resulting numbers are only approximate, reflecting the sum of partial surface areas for all the dots you see. To increase accuracy, set dot_density to 4, but be prepared to wait...&lt;br /&gt;
 &lt;br /&gt;
==Display solvent accessible surface==&lt;br /&gt;
Using the surface display mode, PyMOL doesn't show the solvent accessible surface, rather it shows the solvent/protein contact surface. The solvent accessible surface area is usually defined as the surface traced out by the center of a water sphere, having a radius of about 1.4 angstroms, rolled over the protein atoms. The contact surface is the surface traced out by the vdw surfaces of the water atoms when in contact with the protein.&lt;br /&gt;
&lt;br /&gt;
PyMOL can only show solvent accessible surfaces using the dot or sphere representations:&lt;br /&gt;
&lt;br /&gt;
for dots:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
show dots&lt;br /&gt;
set dot_mode,1&lt;br /&gt;
set dot_density,3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for spheres:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
alter all,vdw=vdw+1.4&lt;br /&gt;
show spheres&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Displaying the C-Alpha trace of proteins==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide&lt;br /&gt;
show ribbon&lt;br /&gt;
set ribbon_sampling,1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if your model only contains CA atoms, you'll also need to issue:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set ribbon_trace,1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Displaying the Amino Acid Backbone==&lt;br /&gt;
The easiest way to see the backbone of the protein is to do&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide all&lt;br /&gt;
show ribbon&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don't like the ribbon representation, you can also do something like&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide all&lt;br /&gt;
show sticks, name C+O+N+CA&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You can replace '''sticks''' in the above by other representations like '''spheres''' or '''lines'''.&lt;br /&gt;
&lt;br /&gt;
==Displaying the Phosphate backbone of nucleic acids==&lt;br /&gt;
&lt;br /&gt;
====Native Nucleic Acid Rendering in PyMol====&lt;br /&gt;
PyMol now better supports viewing nucleic acid structure. [[Nuccyl]] still seems to be the reigning champ for image quality, but see PyMol's native [[Cartoon]] command.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should you ever want to show the phosphate trace of a nucleic acid molecule:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def p_trace(selection=&amp;quot;(all)&amp;quot;):&lt;br /&gt;
    s = str(selection)&lt;br /&gt;
    cmd.hide('lines',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('spheres',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('sticks',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('ribbon',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.show('cartoon',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.set('cartoon_sampling',1,&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.set('cartoon_tube_radius',0.5,&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
cmd.extend('p_trace',p_trace)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
p_trace (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Align proteins with CA fit==&lt;br /&gt;
If two proteins have significant homology, you can use the [[Cmd align]] command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
align prot1////ca,prot2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will perform a sequence alignment of prot1 against prot2, and then an optimizing fit using the CA positions. I'm not sure if the help text for align got into 0.82, but the next version will definitely have it.&lt;br /&gt;
&lt;br /&gt;
[[Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Displaying_Biochemical_Properties&amp;diff=8181</id>
		<title>Displaying Biochemical Properties</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Displaying_Biochemical_Properties&amp;diff=8181"/>
		<updated>2007-10-05T09:01:22Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* Polar Contacts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Selecting secondary structures==&lt;br /&gt;
A few examples:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 select helix, (ss h)&lt;br /&gt;
 select sheet, (ss s)&lt;br /&gt;
 select loop, (ss l+'')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manually Assigning Secondary Structure===&lt;br /&gt;
You can manually assign secondary stuctures to your protein by&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;pre&amp;gt;&lt;br /&gt;
 alter 96-103/, ss='S'&lt;br /&gt;
 alter 96-103/, ss='H'&lt;br /&gt;
 alter 96-103/, ss='L'&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to set residues 96-103 to beta Strand, alpha Helix, and Loop respectively.&lt;br /&gt;
&lt;br /&gt;
===See Also===&lt;br /&gt;
[[Cmd dss]]&lt;br /&gt;
&lt;br /&gt;
[[:Category:FAQ|FAQ]] [[:Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;br /&gt;
&lt;br /&gt;
==Color by atom type from a script==&lt;br /&gt;
See [[Color]] for this.&lt;br /&gt;
 &lt;br /&gt;
==Displaying double bonds==&lt;br /&gt;
You can go into the lines mode and turning on the valence display:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide&lt;br /&gt;
show lines&lt;br /&gt;
set valence, 0.1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A higher value for valence spreads things out more. I don't know of a way to get the dotted notation.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
==Calculating dihedral angles==&lt;br /&gt;
The get_dihedral function requires four single-atom selections to work:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
get_dihedral prot1///9/C, prot1///10/N, prot1///10/CA, prot1///10/C&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Hydrogen bonds and Polar Contacts==&lt;br /&gt;
[[Image:Polar_contacts_small.png|thumb|Polar Contacts in PyMol|center|300px]]&lt;br /&gt;
Using the actions [A] button for an object or selection you can display Hydrogen bonds and Polar Contacts.&lt;br /&gt;
[A]-&amp;gt;find-&amp;gt;polar contacts-&amp;gt;&amp;lt;select from menu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The command behind the menus is the &amp;lt;b&amp;gt;dist&amp;lt;/b&amp;gt;ance command called with the additional argument mode=2.&lt;br /&gt;
&lt;br /&gt;
Parameters that control the the identification of H-bonds are defined as&lt;br /&gt;
 set h_bond_cutoff_center, 3.6&lt;br /&gt;
with ideal geometry and&lt;br /&gt;
 set h_bond_cutoff_edge, 3.2&lt;br /&gt;
with minimally acceptable geometry.&lt;br /&gt;
&lt;br /&gt;
These settings can be changed *before* running the detection process (dist&lt;br /&gt;
command mode=2 or via the menus).&lt;br /&gt;
&lt;br /&gt;
Note that the hydrogen bond geometric criteria used in PyMOL was designed to&lt;br /&gt;
emulate that used by DSSP.&lt;br /&gt;
&lt;br /&gt;
==Adding hydrogen bonds==&lt;br /&gt;
Regarding H-bonds. There isn't a built-in function yet, but 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 [[Cmd h_add]] on the proteins, or provide ligands with valence information and then use h_add.&lt;br /&gt;
&lt;br /&gt;
Two examples are below. For clarity, they draw dashes between the heavy atoms and hide the hydrogens.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# EXAMPLE 1: Show hydrogen bonds between protein &lt;br /&gt;
# and docked ligands (which must have hydrogens)&lt;br /&gt;
&lt;br /&gt;
load target.pdb,prot&lt;br /&gt;
load docked_ligs.sdf,lig&lt;br /&gt;
&lt;br /&gt;
# add hydrogens to protein&lt;br /&gt;
&lt;br /&gt;
h_add prot&lt;br /&gt;
&lt;br /&gt;
select don, (elem n,o and (neighbor hydro))&lt;br /&gt;
select acc, (elem o or (elem n and not (neighbor hydro)))&lt;br /&gt;
dist HBA, (lig and acc),(prot and don), 3.2&lt;br /&gt;
dist HBD, (lig and don),(prot and acc), 3.2&lt;br /&gt;
delete don&lt;br /&gt;
delete acc&lt;br /&gt;
hide (hydro)&lt;br /&gt;
&lt;br /&gt;
hide labels,HBA&lt;br /&gt;
hide labels,HBD&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# EXAMPLE 2&lt;br /&gt;
# Show hydrogen bonds between two proteins&lt;br /&gt;
&lt;br /&gt;
load prot1.pdb&lt;br /&gt;
load prot2.pdb&lt;br /&gt;
&lt;br /&gt;
h_add prot1&lt;br /&gt;
h_add prot2&lt;br /&gt;
&lt;br /&gt;
select don, (elem n,o and (neighbor hydro))&lt;br /&gt;
select acc, (elem o or (elem n and not (neighbor hydro)))&lt;br /&gt;
dist HBA, (prot1 and acc),(prot2 and don), 3.2&lt;br /&gt;
dist HBD, (prot1 and don),(prot2 and acc), 3.2&lt;br /&gt;
delete don&lt;br /&gt;
delete acc&lt;br /&gt;
hide (hydro)&lt;br /&gt;
&lt;br /&gt;
hide labels,HBA&lt;br /&gt;
hide labels,HBD&lt;br /&gt;
&lt;br /&gt;
# NOTE: that you could also use this approach between two&lt;br /&gt;
# non-overlapping selections within a single object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
There is also a script drawing nice hydrogen bonds from Gareth Stockwell&lt;br /&gt;
&lt;br /&gt;
(The &amp;quot;polar contacts&amp;quot; mentioned above are probably better at finding hydrogen bonds than these scripts. &amp;quot;Polar contacts&amp;quot; check geometry as well as distance.)&lt;br /&gt;
&lt;br /&gt;
=== Easy Hydrogen Bonds ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
dist name, sele1, sele2, mode=2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Assign color by B-factor==&lt;br /&gt;
See section [[Color]] for this.&lt;br /&gt;
 &lt;br /&gt;
==Polar surface area==&lt;br /&gt;
For a solvent accessible PSA approximation:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
remove hydro&lt;br /&gt;
remove solvent&lt;br /&gt;
show dots&lt;br /&gt;
set dot_solvent, on&lt;br /&gt;
get_area elem N+O&lt;br /&gt;
get_area elem C+S&lt;br /&gt;
get_area all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For molecular PSA approximation&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set dot_density, 3&lt;br /&gt;
remove hydro&lt;br /&gt;
remove solvent&lt;br /&gt;
set dot_solvent, off&lt;br /&gt;
get_area elem N+O&lt;br /&gt;
get_area elem C+S&lt;br /&gt;
get_area all&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Showing dots isn't mandatory, but it's a good idea to confirm that you're getting the value for the atom dot surface you think you're using.&lt;br /&gt;
Please realize that the resulting numbers are only approximate, reflecting the sum of partial surface areas for all the dots you see. To increase accuracy, set dot_density to 4, but be prepared to wait...&lt;br /&gt;
 &lt;br /&gt;
==Display solvent accessible surface==&lt;br /&gt;
Using the surface display mode, PyMOL doesn't show the solvent accessible surface, rather it shows the solvent/protein contact surface. The solvent accessible surface area is usually defined as the surface traced out by the center of a water sphere, having a radius of about 1.4 angstroms, rolled over the protein atoms. The contact surface is the surface traced out by the vdw surfaces of the water atoms when in contact with the protein.&lt;br /&gt;
&lt;br /&gt;
PyMOL can only show solvent accessible surfaces using the dot or sphere representations:&lt;br /&gt;
&lt;br /&gt;
for dots:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
show dots&lt;br /&gt;
set dot_mode,1&lt;br /&gt;
set dot_density,3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for spheres:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
alter all,vdw=vdw+1.4&lt;br /&gt;
show spheres&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Displaying the C-Alpha trace of proteins==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide&lt;br /&gt;
show ribbon&lt;br /&gt;
set ribbon_sampling,1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And if your model only contains CA atoms, you'll also need to issue:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set ribbon_trace,1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Displaying the Amino Acid Backbone==&lt;br /&gt;
The easiest way to see the backbone of the protein is to do&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide all&lt;br /&gt;
show ribbon&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don't like the ribbon representation, you can also do something like&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide all&lt;br /&gt;
show sticks, name C+O+N+CA&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
You can replace '''sticks''' in the above by other representations like '''spheres''' or '''lines'''.&lt;br /&gt;
&lt;br /&gt;
==Displaying the Phosphate backbone of nucleic acids==&lt;br /&gt;
&lt;br /&gt;
====Native Nucleic Acid Rendering in PyMol====&lt;br /&gt;
PyMol now better supports viewing nucleic acid structure. [[Nuccyl]] still seems to be the reigning champ for image quality, but see PyMol's native [[Cartoon]] command.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should you ever want to show the phosphate trace of a nucleic acid molecule:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
def p_trace(selection=&amp;quot;(all)&amp;quot;):&lt;br /&gt;
    s = str(selection)&lt;br /&gt;
    cmd.hide('lines',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('spheres',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('sticks',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.hide('ribbon',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.show('cartoon',&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.set('cartoon_sampling',1,&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
    cmd.set('cartoon_tube_radius',0.5,&amp;quot;(&amp;quot;+s+&amp;quot;)&amp;quot;)&lt;br /&gt;
cmd.extend('p_trace',p_trace)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and then:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
p_trace (selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Align proteins with CA fit==&lt;br /&gt;
If two proteins have significant homology, you can use the [[Cmd align]] command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
align prot1////ca,prot2&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will perform a sequence alignment of prot1 against prot2, and then an optimizing fit using the CA positions. I'm not sure if the help text for align got into 0.82, but the next version will definitely have it.&lt;br /&gt;
&lt;br /&gt;
[[Category:Objects_and_Selections|Displaying Biochemical Properties]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Displaying_Biochemical_Properties&amp;diff=308</id>
		<title>Talk:Displaying Biochemical Properties</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Displaying_Biochemical_Properties&amp;diff=308"/>
		<updated>2007-10-03T15:06:16Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: New page: 3rd Oct 2007: Looks to me as if there is a strong case for updating the H-bonds/polar contacts section to present a more coherent picture.  Anyone object?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;3rd Oct 2007: Looks to me as if there is a strong case for updating the H-bonds/polar contacts section to present a more coherent picture.  Anyone object?&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=DynoPlot&amp;diff=8237</id>
		<title>DynoPlot</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=DynoPlot&amp;diff=8237"/>
		<updated>2007-07-25T11:39:09Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: /* SETUP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
===IMAGES===&lt;br /&gt;
[[Image:RamaPlotInitComposite.png|thumb|left|Initial Ramachandran plot of 1ENV]]&lt;br /&gt;
[[Image:RamaPlotBentComposite.png|thumb|left|Modified pose and plot of 1ENV]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SETUP===&lt;br /&gt;
place the DynoPlot.py script into the appropriate startup directory then restart PyMol&lt;br /&gt;
&lt;br /&gt;
==== LINUX old-style installation ====&lt;br /&gt;
&lt;br /&gt;
$PYMOL_PATH/modules/pmg_tk/startup/&lt;br /&gt;
&lt;br /&gt;
==== LINUX distutils installation ====&lt;br /&gt;
&lt;br /&gt;
/usr/lib/pythonX.X/site-packages/pmg_tk/startup/&lt;br /&gt;
&lt;br /&gt;
==== Windows ====&lt;br /&gt;
&lt;br /&gt;
PYMOL_PATH/modules/pmg_tk/startup/ , where PYMOL_PATH on Windows is defaulted to C:/Program Files/DeLano Scientific/PyMol/start/&lt;br /&gt;
&lt;br /&gt;
===NOTES / STATUS===&lt;br /&gt;
*Tested on Windows, PyMol version 0.97&lt;br /&gt;
*This is an initial version, which needs some work.  &lt;br /&gt;
*Left, Right mouse buttons do different things; Right = identify data point, Left = drag data point around&lt;br /&gt;
*Post comments/questions or send them to: dwkulp@mail.med.upenn.edu&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
rama SELECTION&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===    &lt;br /&gt;
*load pdb file 1ENV (download it or use the PDB loader plugin)&lt;br /&gt;
*select resi 129-136&lt;br /&gt;
*rama sel01&lt;br /&gt;
*rock   # the object needs to be moving in order for the angles to be updated.&lt;br /&gt;
&lt;br /&gt;
===REFERENCES===&lt;br /&gt;
&lt;br /&gt;
===SCRIPTS (DynoPlot.py)===&lt;br /&gt;
DynoPlot.py&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
###############################################&lt;br /&gt;
#  File:          DynoPlot.py&lt;br /&gt;
#  Author:        Dan Kulp&lt;br /&gt;
#  Creation Date: 8/29/05&lt;br /&gt;
#&lt;br /&gt;
#  Notes:&lt;br /&gt;
#  Draw plots that display interactive data. &lt;br /&gt;
#   Phi,Psi plot shown.&lt;br /&gt;
###############################################&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
from __future__ import division&lt;br /&gt;
from __future__ import generators&lt;br /&gt;
&lt;br /&gt;
import os,math&lt;br /&gt;
import Tkinter&lt;br /&gt;
from Tkinter import *&lt;br /&gt;
import Pmw&lt;br /&gt;
import distutils.spawn # used for find_executable&lt;br /&gt;
import random&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
&lt;br /&gt;
try:&lt;br /&gt;
    import pymol&lt;br /&gt;
    REAL_PYMOL = True&lt;br /&gt;
except ImportError:&lt;br /&gt;
	print &amp;quot;Nope&amp;quot;&lt;br /&gt;
&lt;br /&gt;
canvas = None&lt;br /&gt;
init = 0&lt;br /&gt;
&lt;br /&gt;
class SimplePlot(Tkinter.Canvas):&lt;br /&gt;
&lt;br /&gt;
	# Class variables&lt;br /&gt;
	mark = 'Oval' # Only 'Oval' for now..&lt;br /&gt;
	mark_size = 5&lt;br /&gt;
	xlabels = []   # axis labels&lt;br /&gt;
	ylabels = []&lt;br /&gt;
	spacingx = 0   # spacing in x direction&lt;br /&gt;
	spacingy = 0    &lt;br /&gt;
	xmin = 0       # min value from each axis&lt;br /&gt;
	ymin = 0&lt;br /&gt;
	lastx = 0      # previous x,y pos of mouse   &lt;br /&gt;
	lasty = 0&lt;br /&gt;
	down  = 0      # flag for mouse pressed&lt;br /&gt;
	item = (0,)    # items array used for clickable events&lt;br /&gt;
	shapes = {}    # store plot data, x,y etc..&lt;br /&gt;
&lt;br /&gt;
	def axis(self,xmin=40,xmax=300,ymin=10,ymax=290,xint=290,yint=40,xlabels=[],ylabels=[]):&lt;br /&gt;
&lt;br /&gt;
		# Store variables in self object&lt;br /&gt;
		self.xlabels = xlabels&lt;br /&gt;
		self.ylabels = ylabels&lt;br /&gt;
		self.spacingx = (xmax-xmin) / (len(xlabels) - 1)&lt;br /&gt;
		self.spacingy = (ymax-ymin) / (len(ylabels) - 1)&lt;br /&gt;
		self.xmin = xmin&lt;br /&gt;
		self.ymin = ymin&lt;br /&gt;
&lt;br /&gt;
		# Create axis lines&lt;br /&gt;
		self.create_line((xmin,xint,xmax,xint),fill=&amp;quot;black&amp;quot;,width=3)&lt;br /&gt;
		self.create_line((yint,ymin,yint,ymax),fill=&amp;quot;black&amp;quot;,width=3)&lt;br /&gt;
&lt;br /&gt;
		# Create tick marks and labels&lt;br /&gt;
		nextspot = xmin&lt;br /&gt;
		for label in xlabels:&lt;br /&gt;
		    self.create_line((nextspot, xint+5,nextspot, xint-5),fill=&amp;quot;black&amp;quot;,width=2)&lt;br /&gt;
		    self.create_text(nextspot, xint-15, text=label)&lt;br /&gt;
		    if len(xlabels) == 1:&lt;br /&gt;
			nextspot = xmax&lt;br /&gt;
		    else:&lt;br /&gt;
		        nextspot = nextspot + (xmax - xmin)/ (len(xlabels) - 1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
		nextspot = ymax&lt;br /&gt;
    		for label in ylabels:&lt;br /&gt;
		    self.create_line((yint+5,nextspot,yint-5,nextspot),fill=&amp;quot;black&amp;quot;,width=2)&lt;br /&gt;
		    self.create_text(yint-20,nextspot,text=label)&lt;br /&gt;
		    if len(ylabels) == 1:&lt;br /&gt;
			nextspot = ymin&lt;br /&gt;
		    else:&lt;br /&gt;
		        nextspot = nextspot - (ymax - ymin)/ (len(ylabels) - 1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	# Plot a point&lt;br /&gt;
	def plot(self,xp,yp,meta):&lt;br /&gt;
		&lt;br /&gt;
		# Convert from 'label' space to 'pixel' space&lt;br /&gt;
		x = self.convertToPixel(&amp;quot;X&amp;quot;,xp)&lt;br /&gt;
		y = self.convertToPixel(&amp;quot;Y&amp;quot;,yp)&lt;br /&gt;
&lt;br /&gt;
		if self.mark == &amp;quot;Oval&amp;quot;:&lt;br /&gt;
		    oval = self.create_oval(x-self.mark_size,y-self.mark_size,x+self.mark_size,y+self.mark_size,width=1,outline=&amp;quot;black&amp;quot;,fill=&amp;quot;SkyBlue2&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
		    self.shapes[oval] = [x,y,0,xp,yp,meta]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	# Repaint all points		&lt;br /&gt;
	def repaint(self):&lt;br /&gt;
		for key,value in self.shapes.items():&lt;br /&gt;
			x = value[0]&lt;br /&gt;
			y = value[1]&lt;br /&gt;
			self.create_oval(x-self.mark_size,y-self.mark_size,x+self.mark_size,y+self.mark_size,width=1,outline=&amp;quot;black&amp;quot;,fill=&amp;quot;SkyBlue2&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	# Convert from pixel space to label space&lt;br /&gt;
	def convertToLabel(self,axis, value):&lt;br /&gt;
&lt;br /&gt;
		# Defaultly use X-axis info&lt;br /&gt;
		label0  = self.xlabels[0]&lt;br /&gt;
		label1  = self.xlabels[1]&lt;br /&gt;
		spacing = self.spacingx&lt;br /&gt;
		min     = self.xmin&lt;br /&gt;
&lt;br /&gt;
		# Set info for Y-axis use&lt;br /&gt;
		if axis == &amp;quot;Y&amp;quot;:&lt;br /&gt;
	  	    label0    = self.ylabels[0]&lt;br /&gt;
  		    label1    = self.ylabels[1]&lt;br /&gt;
		    spacing   = self.spacingy&lt;br /&gt;
		    min       = self.ymin	&lt;br /&gt;
&lt;br /&gt;
		pixel = value - min&lt;br /&gt;
		label = pixel / spacing&lt;br /&gt;
		label = label0 + label * abs(label1 - label0)&lt;br /&gt;
&lt;br /&gt;
		if axis == &amp;quot;Y&amp;quot;:&lt;br /&gt;
			label = - label&lt;br /&gt;
&lt;br /&gt;
		return label&lt;br /&gt;
&lt;br /&gt;
	# Converts value from 'label' space to 'pixel' space&lt;br /&gt;
	def convertToPixel(self,axis, value):&lt;br /&gt;
&lt;br /&gt;
		# Defaultly use X-axis info&lt;br /&gt;
		label0  = self.xlabels[0]&lt;br /&gt;
		label1  = self.xlabels[1]&lt;br /&gt;
		spacing = self.spacingx&lt;br /&gt;
		min     = self.xmin&lt;br /&gt;
&lt;br /&gt;
		# Set info for Y-axis use&lt;br /&gt;
		if axis == &amp;quot;Y&amp;quot;:&lt;br /&gt;
	  	    label0    = self.ylabels[0]&lt;br /&gt;
  		    label1    = self.ylabels[1]&lt;br /&gt;
		    spacing   = self.spacingy&lt;br /&gt;
		    min       = self.ymin	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
		# Get axis increment in 'label' space&lt;br /&gt;
		inc = abs(label1 - label0)&lt;br /&gt;
&lt;br /&gt;
		# 'Label' difference from value and smallest label (label0)&lt;br /&gt;
		diff = float(value - label0)&lt;br /&gt;
		&lt;br /&gt;
		# Get whole number in 'label' space&lt;br /&gt;
		whole = int(diff / inc)&lt;br /&gt;
&lt;br /&gt;
		# Get fraction number in 'label' space&lt;br /&gt;
		part = float(float(diff/inc) - whole)&lt;br /&gt;
&lt;br /&gt;
		# Return 'pixel' position value&lt;br /&gt;
		pixel = whole * spacing + part * spacing&lt;br /&gt;
&lt;br /&gt;
#		print &amp;quot;Pixel: %f * %f + %f * %f = %f&amp;quot; % (whole, spacing, part, spacing,pixel)&lt;br /&gt;
&lt;br /&gt;
		# Reverse number by subtracting total number of pixels - value pixels&lt;br /&gt;
		if axis == &amp;quot;Y&amp;quot;:&lt;br /&gt;
		   tot_label_diff = float(self.ylabels[len(self.ylabels)- 1] - label0)&lt;br /&gt;
		   tot_label_whole = int(tot_label_diff / inc)&lt;br /&gt;
		   tot_label_part = float(float(tot_label_diff / inc) - tot_label_whole)&lt;br /&gt;
		   tot_label_pix  = tot_label_whole * spacing + tot_label_part *spacing&lt;br /&gt;
&lt;br /&gt;
		   pixel = tot_label_pix - pixel&lt;br /&gt;
&lt;br /&gt;
		# Add min edge pixels&lt;br /&gt;
		pixel = pixel + min&lt;br /&gt;
		&lt;br /&gt;
		return pixel&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
	# Print out which data point you just clicked on..&lt;br /&gt;
	def pickWhich(self,event):&lt;br /&gt;
			&lt;br /&gt;
	    # Find closest data point		    &lt;br /&gt;
	    x = event.widget.canvasx(event.x)&lt;br /&gt;
            y = event.widget.canvasx(event.y)&lt;br /&gt;
	    spot = event.widget.find_closest(x,y)&lt;br /&gt;
&lt;br /&gt;
	    # Print the shape's meta information corresponding with the shape that was picked&lt;br /&gt;
	    if self.shapes.has_key(spot[0]):&lt;br /&gt;
		print &amp;quot;Residue(Ca): %s\n&amp;quot; % str(self.shapes[spot[0]][5][2])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        # Mouse Down Event&lt;br /&gt;
	def down(self,event):&lt;br /&gt;
&lt;br /&gt;
	    # Store x,y position&lt;br /&gt;
	    self.lastx = event.x&lt;br /&gt;
	    self.lasty = event.y&lt;br /&gt;
&lt;br /&gt;
	    # Find the currently selected item&lt;br /&gt;
	    x = event.widget.canvasx(event.x)&lt;br /&gt;
            y = event.widget.canvasx(event.y)&lt;br /&gt;
	    self.item = event.widget.find_closest(x,y)&lt;br /&gt;
	&lt;br /&gt;
	    # Identify that the mouse is down&lt;br /&gt;
	    self.down  = 1&lt;br /&gt;
&lt;br /&gt;
	# Mouse Up Event&lt;br /&gt;
	def up(self,event):&lt;br /&gt;
&lt;br /&gt;
	    # Get label space version of x,y&lt;br /&gt;
	    labelx = self.convertToLabel(&amp;quot;X&amp;quot;,event.x)&lt;br /&gt;
	    labely = self.convertToLabel(&amp;quot;Y&amp;quot;,event.y)&lt;br /&gt;
&lt;br /&gt;
	    # Convert new position into label space..&lt;br /&gt;
	    if self.shapes.has_key(self.item[0]):&lt;br /&gt;
	        self.shapes[self.item[0]][0] = event.x&lt;br /&gt;
	        self.shapes[self.item[0]][1] = event.y&lt;br /&gt;
	        self.shapes[self.item[0]][2] =  1&lt;br /&gt;
	        self.shapes[self.item[0]][3] = labelx&lt;br /&gt;
	        self.shapes[self.item[0]][4] = labely&lt;br /&gt;
&lt;br /&gt;
	    # Reset Flags&lt;br /&gt;
	    self.item = (0,)&lt;br /&gt;
            self.down = 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	# Mouse Drag(Move) Event&lt;br /&gt;
	def drag(self,event):&lt;br /&gt;
		&lt;br /&gt;
	 	# Check that mouse is down and item clicked is a valid data point&lt;br /&gt;
		if self.down and self.shapes.has_key(self.item[0]):&lt;br /&gt;
			&lt;br /&gt;
		    self.move(self.item, event.x - self.lastx, event.y - self.lasty)&lt;br /&gt;
&lt;br /&gt;
		    self.lastx = event.x&lt;br /&gt;
		    self.lasty = event.y&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def __init__(self):&lt;br /&gt;
&lt;br /&gt;
        self.menuBar.addcascademenu('Plugin', 'PlotTools', 'Plot Tools',&lt;br /&gt;
                                    label='Plot Tools')&lt;br /&gt;
        self.menuBar.addmenuitem('PlotTools', 'command',&lt;br /&gt;
                                 'Launch Rama Plot',&lt;br /&gt;
                                 label='Rama Plot',&lt;br /&gt;
                                 command = lambda s=self: ramaplot())&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def ramaplot(x=0,y=0,meta=[],clear=0):&lt;br /&gt;
    global canvas&lt;br /&gt;
    global init&lt;br /&gt;
&lt;br /&gt;
    # If no window is open&lt;br /&gt;
    if init == 0:&lt;br /&gt;
        rootframe=Tk()&lt;br /&gt;
        rootframe.title(' Dynamic Angle Plotting ')&lt;br /&gt;
&lt;br /&gt;
        canvas = SimplePlot(rootframe,width=320,height=320)&lt;br /&gt;
        canvas.bind(&amp;quot;&amp;lt;Button-2&amp;gt;&amp;quot;,canvas.pickWhich)&lt;br /&gt;
        canvas.bind(&amp;quot;&amp;lt;Button-3&amp;gt;&amp;quot;,canvas.pickWhich)&lt;br /&gt;
        canvas.bind(&amp;quot;&amp;lt;ButtonPress-1&amp;gt;&amp;quot;,canvas.down)&lt;br /&gt;
        canvas.bind(&amp;quot;&amp;lt;ButtonRelease-1&amp;gt;&amp;quot;,canvas.up)&lt;br /&gt;
        canvas.bind(&amp;quot;&amp;lt;Motion&amp;gt;&amp;quot;,canvas.drag)&lt;br /&gt;
        canvas.pack(side=Tkinter.LEFT,fill=&amp;quot;both&amp;quot;,expand=1)&lt;br /&gt;
        canvas.axis(xint=150,xlabels=[-180,-150,-120,-90,-60,-30,0,30,60,90,120,150,180],ylabels=[-180,-150,-120,-90,-60,-30,0,30,60,90,120,150,180])&lt;br /&gt;
        canvas.update()&lt;br /&gt;
	init = 1&lt;br /&gt;
    else:&lt;br /&gt;
      canvas.plot(int(x), int(y),meta)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# New Callback object, so that we can update the structure when phi,psi points are moved.&lt;br /&gt;
class DynoRamaObject:&lt;br /&gt;
	global canvas&lt;br /&gt;
&lt;br /&gt;
	def start(self,sel):&lt;br /&gt;
&lt;br /&gt;
	    # Get selection model&lt;br /&gt;
  	    model = cmd.get_model(sel)&lt;br /&gt;
	    residues = ['dummy']&lt;br /&gt;
	    resnames = ['dummy']&lt;br /&gt;
	    phi = []&lt;br /&gt;
 	    psi = []&lt;br /&gt;
	    dummy = []&lt;br /&gt;
	    i = 0&lt;br /&gt;
&lt;br /&gt;
            # Loop through each atom&lt;br /&gt;
	    for at in model.atom:&lt;br /&gt;
&lt;br /&gt;
		# Only plot once per residue&lt;br /&gt;
    		if not at.chain+&amp;quot;:&amp;quot;+at.resn+&amp;quot;:&amp;quot;+at.resi in residues:&lt;br /&gt;
	     	    residues.append(at.chain+&amp;quot;:&amp;quot;+at.resn+&amp;quot;:&amp;quot;+at.resi)&lt;br /&gt;
	    	    resnames.append(at.resn+at.resi)&lt;br /&gt;
	    	    dummy.append(i)&lt;br /&gt;
	    	    i += 1&lt;br /&gt;
&lt;br /&gt;
    	    	    # Check for a null chain id (some PDBs contain this) &lt;br /&gt;
	    	    unit_select = &amp;quot;&amp;quot;&lt;br /&gt;
	    	    if not at.chain == &amp;quot;&amp;quot;:&lt;br /&gt;
	    		unit_select = &amp;quot;chain &amp;quot;+str(at.chain)+&amp;quot; and &amp;quot;&lt;br /&gt;
&lt;br /&gt;
    		    # Define selections for residue i-1, i and i+1    &lt;br /&gt;
		    residue_def = unit_select+'resi '+str(at.resi)&lt;br /&gt;
  		    residue_def_prev = unit_select+'resi '+str(int(at.resi)-1)&lt;br /&gt;
		    residue_def_next = unit_select+'resi '+str(int(at.resi)+1)&lt;br /&gt;
&lt;br /&gt;
		    try:&lt;br /&gt;
			# Store phi,psi residue definitions to pass on to plot routine&lt;br /&gt;
			phi_psi = [&lt;br /&gt;
				# Phi angles&lt;br /&gt;
 				   residue_def_prev+' and name C',&lt;br /&gt;
				   residue_def+' and name N',&lt;br /&gt;
				   residue_def+' and name CA',&lt;br /&gt;
				   residue_def+' and name C',&lt;br /&gt;
				# Psi angles&lt;br /&gt;
				   residue_def+' and name N',&lt;br /&gt;
				   residue_def+' and name CA',&lt;br /&gt;
				   residue_def+' and name C',&lt;br /&gt;
			  	   residue_def_next+' and name N']&lt;br /&gt;
&lt;br /&gt;
  		        # Compute phi/psi angle&lt;br /&gt;
		        phi = cmd.get_dihedral(phi_psi[0],phi_psi[1],phi_psi[2],phi_psi[3])&lt;br /&gt;
		        psi = cmd.get_dihedral(phi_psi[4],phi_psi[5],phi_psi[6],phi_psi[7])&lt;br /&gt;
			&lt;br /&gt;
			print &amp;quot;Plotting Phi,Psi: &amp;quot;+str(phi)+&amp;quot;,&amp;quot;+str(psi)    &lt;br /&gt;
		        ramaplot(phi,psi,meta=phi_psi)&lt;br /&gt;
		    except:&lt;br /&gt;
			continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	def __call__(self):&lt;br /&gt;
&lt;br /&gt;
	    # Loop through each item on plot to see if updated&lt;br /&gt;
	    for key,value in canvas.shapes.items():&lt;br /&gt;
		dihedrals = value[5]&lt;br /&gt;
&lt;br /&gt;
		# Look for update flag...&lt;br /&gt;
		if value[2]:&lt;br /&gt;
&lt;br /&gt;
		    # Set residue's phi,psi to new values&lt;br /&gt;
		    print &amp;quot;Re-setting Phi,Psi: &amp;quot;+str(value[3])+&amp;quot;,&amp;quot;+str(value[4])    &lt;br /&gt;
		    cmd.set_dihedral(dihedrals[0],dihedrals[1],dihedrals[2],dihedrals[3],value[3])		    	&lt;br /&gt;
		    cmd.set_dihedral(dihedrals[4],dihedrals[5],dihedrals[6],dihedrals[7],value[4])		    	&lt;br /&gt;
&lt;br /&gt;
		    value[2] = 0&lt;br /&gt;
&lt;br /&gt;
		&lt;br /&gt;
	&lt;br /&gt;
# The wrapper function, used to create the Ploting window and the PyMol callback object	    		&lt;br /&gt;
def rama(sel):&lt;br /&gt;
	rama = DynoRamaObject()&lt;br /&gt;
	rama.start(sel)&lt;br /&gt;
	cmd.load_callback(rama, &amp;quot;DynoRamaObject&amp;quot;)&lt;br /&gt;
	cmd.zoom(&amp;quot;all&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Extend these commands&lt;br /&gt;
cmd.extend('rama',rama)		    			&lt;br /&gt;
cmd.extend('ramaplot',ramaplot)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ADDITIONAL RESOURCES===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library|DynoPlot]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Structural_Biology_Scripts|DynoPlot]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8714</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8714"/>
		<updated>2006-08-04T09:39:03Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Asides: &lt;br /&gt;
A. The &amp;quot;endianness&amp;quot; of SURFNET is set to big endian by default - see the &lt;br /&gt;
remarks about the SGI flag.  Change this if you're on a little endian machine, &lt;br /&gt;
e.g. LINUX/i386.&lt;br /&gt;
B.SURFNET can be compiled against ccp4 version 5 and 6 libraries &lt;br /&gt;
by following the instructions in the SURFNET distribution and modifiying &lt;br /&gt;
the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isomesh gaps_mesh, gaps, 100.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Surfaces and Voids]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8713</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8713"/>
		<updated>2006-08-04T09:38:06Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Asides: &lt;br /&gt;
A. The &amp;quot;endianness&amp;quot; of SURFNET is set to big endian by default - see the &lt;br /&gt;
remarks about the SGI flag.&lt;br /&gt;
B.SURFNET can be compiled against ccp4 version 5 and 6 libraries &lt;br /&gt;
by following the instructions in the SURFNET distribution and modifiying &lt;br /&gt;
the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isomesh gaps_mesh, gaps, 100.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Surfaces and Voids]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8712</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8712"/>
		<updated>2006-08-04T09:27:56Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries &lt;br /&gt;
by following the instructions in the SURFNET distribution and modifiying &lt;br /&gt;
the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isomesh gaps_mesh, gaps, 100.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Surfaces and Voids]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8711</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8711"/>
		<updated>2006-08-04T09:25:16Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries &lt;br /&gt;
by following the instructions in the SURFNET distribution and modifiying &lt;br /&gt;
the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isomesh gaps_mesh gaps 100.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Surfaces and Voids]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8710</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8710"/>
		<updated>2006-08-04T09:24:12Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries &lt;br /&gt;
by following the instructions in the SURFNET distribution and modifiying &lt;br /&gt;
the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isomesh gaps_mesh gaps 100.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Third_Party_Software|Surfaces and Voids]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8709</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8709"/>
		<updated>2006-08-04T09:20:08Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries &lt;br /&gt;
by following the instructions in the SURFNET distribution and modifiying &lt;br /&gt;
the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
isomesh gaps_mesh gaps 100.0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Third_Party_Software]]&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8708</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8708"/>
		<updated>2006-08-04T09:11:57Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from [http://www.ebi.ac.uk/~roman/ Roman Laskowski]'s [http://www.biochem.ucl.ac.uk/~roman/surfnet/surfnet.html SURFNET] program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of &amp;lt;tt&amp;gt;ccp4link.scr&amp;lt;/tt&amp;gt; to replace &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use [http://xray.bmc.uu.se/gerard Gerard Kleywegt]'s mapman from the [http://alpha2.bmc.uu.se/usf/ USF] [http://alpha2.bmc.uu.se/usf/rave.html RAVE] package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. on the PyMol command line&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
isomesh gaps_mesh gaps 100.0&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8707</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8707"/>
		<updated>2006-08-04T09:02:57Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of &amp;lt;tt&amp;gt;ccp4link.scr&amp;lt;/tt&amp;gt; to replace &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;br /&gt;
&lt;br /&gt;
e.g. isomesh gaps_mesh gaps 100.0&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8706</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8706"/>
		<updated>2006-08-04T08:30:39Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of &amp;lt;tt&amp;gt;ccp4link.scr&amp;lt;/tt&amp;gt; to replace &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;tt&amp;gt;&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&amp;lt;/tt&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8705</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8705"/>
		<updated>2006-08-04T08:28:38Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of &amp;lt;tt&amp;gt;ccp4link.scr&amp;lt;/tt&amp;gt; to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&lt;br /&gt;
2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8704</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8704"/>
		<updated>2006-08-04T08:27:53Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&lt;br /&gt;
2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
e.g. in a shell on LINUX:&lt;br /&gt;
&lt;br /&gt;
$ lx_mapman&lt;br /&gt;
MAPMAN &amp;gt; READ map1 gaps.den&lt;br /&gt;
MAPMAN &amp;gt; WRITE map1 gaps.xplor XPLOR &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8703</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8703"/>
		<updated>2006-08-04T08:24:40Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
1. Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;br /&gt;
&lt;br /&gt;
2. Use Gerard Kleywegt's mapman from the USF RAVE package to convert the CCP4 density map to XPLOR format&lt;br /&gt;
&lt;br /&gt;
3. Open the XPLOR map in PyMol&lt;br /&gt;
&lt;br /&gt;
4. Generate a mesh or surface object from the map using isomesh or isosurface.&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8702</id>
		<title>SURFNET</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=SURFNET&amp;diff=8702"/>
		<updated>2006-08-04T08:21:22Z</updated>

		<summary type="html">&lt;p&gt;Bosmith: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A recipe for reading surfaces from Roman Laskowski's SURFNET program (for finding cavities in macromolecules) into PyMol for visualisation.&lt;br /&gt;
&lt;br /&gt;
Create your surfaces in &amp;quot;CCP4&amp;quot; format in SURFNET.&lt;br /&gt;
&lt;br /&gt;
Aside: SURFNET can be compiled against ccp4 version 5 and 6 libraries by following the instructions in the SURFNET distribution and modifiying the link lines at the end of ccp4link.scr to replace &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4.a &lt;br /&gt;
&lt;br /&gt;
with &lt;br /&gt;
&lt;br /&gt;
$CLIB/libccp4f.a $CLIB/libccp4c.a&lt;/div&gt;</summary>
		<author><name>Bosmith</name></author>
	</entry>
</feed>