<?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=Vinnyrose</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=Vinnyrose"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Vinnyrose"/>
	<updated>2026-05-07T11:31:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ray&amp;diff=9970</id>
		<title>Ray</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ray&amp;diff=9970"/>
		<updated>2010-08-03T19:36:21Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Describing the behavior of width and height.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''ray''' creates a ray-traced image of the current frame. &lt;br /&gt;
[[Image:Gslike.png|right|350px|thumb|Varying settings to play with rendering options]]&lt;br /&gt;
&lt;br /&gt;
=Details= &lt;br /&gt;
This command is used to make high-resolution photos fit for publication and formal movies.  Please note, the '''ray''' command can take some time (up to several minutes, depending on image complexity and size).&lt;br /&gt;
&lt;br /&gt;
For those who are making movies with PyMOL, '''Ray''' is one of the most commonly used last steps before stitching the frames together to compile the movie.  '''Ray''' has many powerful features such as setting the size of the image -- and it still works even if the [[Viewport]] or screen is smaller than the requested output file dimensions.&lt;br /&gt;
&lt;br /&gt;
[[Image:No_ray_trace.png|Image, not ray traced.|thumb|200px]] [[Image:ray_traced.png|Image, ray traced.|thumb|200px]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 ray [width,height [,renderer [,angle [,shift ]]]&lt;br /&gt;
'''angle''' and '''shift''' can be used to generate matched stereo pairs&lt;br /&gt;
&lt;br /&gt;
'''width''' and '''height''' can be set to any non-negative integer. If both are set to zero than the current window size is used and is equivalent to just using '''ray''' with no arguments. If one is set to zero (or missing) while the other is a positive integer, then the argument set to zero (or missing) will be scaled to preserve the current aspect ratio.&lt;br /&gt;
&lt;br /&gt;
==PyMol API==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.ray(int width,int height,int renderer=-1,float shift=0)&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
===Modes===&lt;br /&gt;
Setting the '''[[Ray_trace_mode]]''' variable in PyMOL changes the way PyMOL's internal renderer represents proteins in the final output.  New modes were recently added to give the user more options of molecular representation.  New modes are: normal rendering, but with a black outline (nice for presentations); black and white only; quantized color with black outline (also, very nice for presentations; more of a ''cartoony'' appearance).  &lt;br /&gt;
&lt;br /&gt;
'''Note:''' Mode 3, the quantized color one, sort of '''burns''' the background if you're using this setting.  This will make a pure white background somewhat &amp;quot;offwhite&amp;quot;; thus, a poster would look poor because you could see the border for the image.  If you'll be using this mode, try the [[ray_opaque_background]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# normal color&lt;br /&gt;
set ray_trace_mode, 0&lt;br /&gt;
&lt;br /&gt;
# normal color + black outline&lt;br /&gt;
set ray_trace_mode,  1&lt;br /&gt;
&lt;br /&gt;
# black outline only&lt;br /&gt;
set ray_trace_mode,  2&lt;br /&gt;
&lt;br /&gt;
# quantized color + black outline&lt;br /&gt;
set ray_trace_mode,  3&lt;br /&gt;
&lt;br /&gt;
set ray_trace_mode, 1 # (or 2 or 3; best with &amp;quot;bg_color white;set antialias,2&amp;quot;)&lt;br /&gt;
# These two new modes -- 2 and 3 -- are cool cartoon looking modes.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the example images for the new modes&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Ray_mode_1_ex.png|set ray_trace_mode,1&lt;br /&gt;
Image:Ray_mode_2_ex.png|set ray_trace_mode,2&lt;br /&gt;
Image:Ray_mode_3_ex.png|set ray_trace_mode,3&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Perspective===&lt;br /&gt;
====Perspective Example Images====&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:No_persp.png|Example with Perspective Turned Off&lt;br /&gt;
Image:Persp1.png|Example with Perspective Turned On&lt;br /&gt;
Image:Persp2.png|Example with Perspective Turned On and Field of View Set High (70).&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Notes=====&lt;br /&gt;
PyMol 0.97 and prior used '''orthoscopic''' rendering -- that is, no perspective.  Upon the arrival of 0.98 and later, we get perspective based rendering at a cost of a 4x decrease in render speed.  If you want perspective&lt;br /&gt;
 set orthoscopic, off&lt;br /&gt;
Otherwise&lt;br /&gt;
 set orthoscopic, on&lt;br /&gt;
To magnify the effect of perspective on the scene,&lt;br /&gt;
 set field_of_view, X&lt;br /&gt;
where 50&amp;lt;X&amp;lt;70.  Default is 20.  50-70 gives a very strong perspective effect.  Nb. the field of view is in Y, not X as one would expect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Renderer===&lt;br /&gt;
'''renderer = -1''' is default (use value in ray_default_renderer)&lt;br /&gt;
&lt;br /&gt;
'''renderer =  0''' uses PyMOL's internal renderer&lt;br /&gt;
&lt;br /&gt;
'''renderer =  1''' uses PovRay's renderer.  This is Unix-only and you must have &amp;quot;x-povray&amp;quot; in your path.  It utilizes two temporary files: &amp;quot;tmp_pymol.pov&amp;quot; and &amp;quot;tmp_pymol.png&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Performance==&lt;br /&gt;
*The ray performance depends on distance between camera and molecule.&lt;br /&gt;
If the distance is big rendering takes much time. If the distance is too small distant parts of molecule dissolve.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Close_ray.png|Too close to molecule&lt;br /&gt;
Image:Middle_ray.png|Normal distance&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
* Tip: If you have a rather complicated scene that is zoomed into only a part of the molecule, you can speed up the ray tracing by hiding everything else outside of a certain range of the zoomed-on point.  For example, if I have a large molecule and I'm looking only at the 30-atom ligand bound to it, then I can do something like the following:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# setup your complex scene&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
# zoom on the hetero atom (ligand and not water) within 5 Angstroms&lt;br /&gt;
select hh, het and not resn HOH&lt;br /&gt;
zoom hh, 5&lt;br /&gt;
&lt;br /&gt;
# turn on depth cueing&lt;br /&gt;
set depth_cue, 1&lt;br /&gt;
&lt;br /&gt;
# now, select stuff to hide; we select everything that is &lt;br /&gt;
# farther than 8 Ang from our main selection&lt;br /&gt;
select th, (all) and not ( (all) within 8 of hh) )&lt;br /&gt;
&lt;br /&gt;
hide everything, th&lt;br /&gt;
&lt;br /&gt;
# any additional commands you want&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
ray&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
As an example of the efficacy of this method, I ray traced a rather complex scene with all the atoms visible here's the output of ray:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;ray&lt;br /&gt;
 Ray: render time: 24.50 sec. = 146.9 frames/hour (941.88 sec. accum.).&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and here is the result when I soft-clipped everything else using the above method:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;ray&lt;br /&gt;
 Ray: render time: 47.93 sec. = 75.1 frames/hour (989.80 sec. accum.).&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The two images in the following gallery show the results of the rendering.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Ray_method_off.png|normal ray tracing.  This took twice as long to make as the image to the right.  Same size, and DPI.&lt;br /&gt;
Image:Ray_method_on.png|manually hiding things you won't see anyway.  This took 1/2 the time to render as compared to the same sized &amp;amp; DPId image at left.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Memory===&lt;br /&gt;
If memory is an issue for you in PyMOL, try executing your rendering from a script rather than a PyMOL session file.  An unfortunate unavoidable consequence of the fact that we use Python's portable, platform-independent &amp;quot;pickle&amp;quot; machinery for PyMOL session files.  Packing or unpacking a Session or Scene file thus requires that there be two simultanous copies of the information to reside in RAM simultaneously:  one native and a second in Python itself.&lt;br /&gt;
&lt;br /&gt;
So when memory is a limiting factor, scripts are recommended over sessions.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Simple===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# ray trace the current scene using the default size of the viewport&lt;br /&gt;
ray&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Specify Image Size===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# ray trace the current scene, but scaled to 1024x768 pixels&lt;br /&gt;
ray 1024,768&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Specify Renderer===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# ray trace with an external renderer.&lt;br /&gt;
ray renderer=0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===High Quality B&amp;amp;W Rendering===&lt;br /&gt;
[[Image:1l9l.png|thumb|center|Black and White (ray_trace_mode,2); click to see full image]]&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Black and White Script&lt;br /&gt;
load /tmp/3fib.pdb;&lt;br /&gt;
show cartoon;&lt;br /&gt;
set ray_trace_mode, 2;  # black and white cartoon&lt;br /&gt;
bg_color white;&lt;br /&gt;
set antialias, 2;&lt;br /&gt;
ray 600,600&lt;br /&gt;
png /tmp/1l9l.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===High Quality Color===&lt;br /&gt;
[[Image:1l9l_2.png|thumb|center|Color mode (ray_trace_mode,3); click to see full image]]&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Color Script&lt;br /&gt;
load /tmp/thy_model/1l9l.pdb;&lt;br /&gt;
hide lines;&lt;br /&gt;
show cartoon;&lt;br /&gt;
set ray_trace_mode, 3; # color&lt;br /&gt;
bg_color white;&lt;br /&gt;
set antialias, 2;&lt;br /&gt;
remove resn HOH&lt;br /&gt;
remove resn HET&lt;br /&gt;
ray 600,600&lt;br /&gt;
png /tmp/1l9l.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ray Tracing Stereo Images===&lt;br /&gt;
:''See [[Stereo_Ray]]''&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
# &amp;quot;help faster&amp;quot; for optimization tips with the builtin renderer. &amp;quot;help povray&amp;quot; for how to use PovRay instead of PyMOL's built-in    ray-tracing engine.  For high-quality photos, please also see the [[Antialias]] command.  [[Ray shadows]] for controlling shadows.&lt;br /&gt;
# See also [[Ray Tracing]].&lt;br /&gt;
# [http://www.gimp.org/tutorials/Color2BW Desaturation Tutorial] -- A good resource for making nice B&amp;amp;W images from color images (desaturation).&lt;br /&gt;
&lt;br /&gt;
==User comments==&lt;br /&gt;
;How do I ray trace a publication-ready (~300dpi) image using PyMol?&lt;br /&gt;
:This answer is in the [[:Category:Advanced_Issues|Advanced Issues]] (Image Manipulation Section).&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Ray]]&lt;br /&gt;
[[Category:Publication_Quality|Ray]]&lt;br /&gt;
[[Category:Performance|Ray]]&lt;br /&gt;
[[Category:Movies|Ray]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ray&amp;diff=9969</id>
		<title>Ray</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ray&amp;diff=9969"/>
		<updated>2010-08-03T19:34:18Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''ray''' creates a ray-traced image of the current frame. &lt;br /&gt;
[[Image:Gslike.png|right|350px|thumb|Varying settings to play with rendering options]]&lt;br /&gt;
&lt;br /&gt;
=Details= &lt;br /&gt;
This command is used to make high-resolution photos fit for publication and formal movies.  Please note, the '''ray''' command can take some time (up to several minutes, depending on image complexity and size).&lt;br /&gt;
&lt;br /&gt;
For those who are making movies with PyMOL, '''Ray''' is one of the most commonly used last steps before stitching the frames together to compile the movie.  '''Ray''' has many powerful features such as setting the size of the image -- and it still works even if the [[Viewport]] or screen is smaller than the requested output file dimensions.&lt;br /&gt;
&lt;br /&gt;
[[Image:No_ray_trace.png|Image, not ray traced.|thumb|200px]] [[Image:ray_traced.png|Image, ray traced.|thumb|200px]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 ray [width,height [,renderer [,angle [,shift ]]]&lt;br /&gt;
'''angle''' and '''shift''' can be used to generate matched stereo pairs&lt;br /&gt;
&lt;br /&gt;
'''width''' and '''height''' can be set to any non-negative numbers. If both are set to zero than the current window size is used and is equivalent to just using &amp;quot;ray&amp;quot; with no arguments. If one is set to zero (or missing) while the other is non-zero and positive, then the argument set to zero (or missing) will be scaled to preserve the current aspect ratio.&lt;br /&gt;
&lt;br /&gt;
==PyMol API==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;cmd.ray(int width,int height,int renderer=-1,float shift=0)&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
===Modes===&lt;br /&gt;
Setting the '''[[Ray_trace_mode]]''' variable in PyMOL changes the way PyMOL's internal renderer represents proteins in the final output.  New modes were recently added to give the user more options of molecular representation.  New modes are: normal rendering, but with a black outline (nice for presentations); black and white only; quantized color with black outline (also, very nice for presentations; more of a ''cartoony'' appearance).  &lt;br /&gt;
&lt;br /&gt;
'''Note:''' Mode 3, the quantized color one, sort of '''burns''' the background if you're using this setting.  This will make a pure white background somewhat &amp;quot;offwhite&amp;quot;; thus, a poster would look poor because you could see the border for the image.  If you'll be using this mode, try the [[ray_opaque_background]] setting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# normal color&lt;br /&gt;
set ray_trace_mode, 0&lt;br /&gt;
&lt;br /&gt;
# normal color + black outline&lt;br /&gt;
set ray_trace_mode,  1&lt;br /&gt;
&lt;br /&gt;
# black outline only&lt;br /&gt;
set ray_trace_mode,  2&lt;br /&gt;
&lt;br /&gt;
# quantized color + black outline&lt;br /&gt;
set ray_trace_mode,  3&lt;br /&gt;
&lt;br /&gt;
set ray_trace_mode, 1 # (or 2 or 3; best with &amp;quot;bg_color white;set antialias,2&amp;quot;)&lt;br /&gt;
# These two new modes -- 2 and 3 -- are cool cartoon looking modes.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are the example images for the new modes&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Ray_mode_1_ex.png|set ray_trace_mode,1&lt;br /&gt;
Image:Ray_mode_2_ex.png|set ray_trace_mode,2&lt;br /&gt;
Image:Ray_mode_3_ex.png|set ray_trace_mode,3&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Perspective===&lt;br /&gt;
====Perspective Example Images====&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:No_persp.png|Example with Perspective Turned Off&lt;br /&gt;
Image:Persp1.png|Example with Perspective Turned On&lt;br /&gt;
Image:Persp2.png|Example with Perspective Turned On and Field of View Set High (70).&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Notes=====&lt;br /&gt;
PyMol 0.97 and prior used '''orthoscopic''' rendering -- that is, no perspective.  Upon the arrival of 0.98 and later, we get perspective based rendering at a cost of a 4x decrease in render speed.  If you want perspective&lt;br /&gt;
 set orthoscopic, off&lt;br /&gt;
Otherwise&lt;br /&gt;
 set orthoscopic, on&lt;br /&gt;
To magnify the effect of perspective on the scene,&lt;br /&gt;
 set field_of_view, X&lt;br /&gt;
where 50&amp;lt;X&amp;lt;70.  Default is 20.  50-70 gives a very strong perspective effect.  Nb. the field of view is in Y, not X as one would expect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Renderer===&lt;br /&gt;
'''renderer = -1''' is default (use value in ray_default_renderer)&lt;br /&gt;
&lt;br /&gt;
'''renderer =  0''' uses PyMOL's internal renderer&lt;br /&gt;
&lt;br /&gt;
'''renderer =  1''' uses PovRay's renderer.  This is Unix-only and you must have &amp;quot;x-povray&amp;quot; in your path.  It utilizes two temporary files: &amp;quot;tmp_pymol.pov&amp;quot; and &amp;quot;tmp_pymol.png&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Performance==&lt;br /&gt;
*The ray performance depends on distance between camera and molecule.&lt;br /&gt;
If the distance is big rendering takes much time. If the distance is too small distant parts of molecule dissolve.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Close_ray.png|Too close to molecule&lt;br /&gt;
Image:Middle_ray.png|Normal distance&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
* Tip: If you have a rather complicated scene that is zoomed into only a part of the molecule, you can speed up the ray tracing by hiding everything else outside of a certain range of the zoomed-on point.  For example, if I have a large molecule and I'm looking only at the 30-atom ligand bound to it, then I can do something like the following:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# setup your complex scene&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
# zoom on the hetero atom (ligand and not water) within 5 Angstroms&lt;br /&gt;
select hh, het and not resn HOH&lt;br /&gt;
zoom hh, 5&lt;br /&gt;
&lt;br /&gt;
# turn on depth cueing&lt;br /&gt;
set depth_cue, 1&lt;br /&gt;
&lt;br /&gt;
# now, select stuff to hide; we select everything that is &lt;br /&gt;
# farther than 8 Ang from our main selection&lt;br /&gt;
select th, (all) and not ( (all) within 8 of hh) )&lt;br /&gt;
&lt;br /&gt;
hide everything, th&lt;br /&gt;
&lt;br /&gt;
# any additional commands you want&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
ray&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
As an example of the efficacy of this method, I ray traced a rather complex scene with all the atoms visible here's the output of ray:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;ray&lt;br /&gt;
 Ray: render time: 24.50 sec. = 146.9 frames/hour (941.88 sec. accum.).&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and here is the result when I soft-clipped everything else using the above method:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;ray&lt;br /&gt;
 Ray: render time: 47.93 sec. = 75.1 frames/hour (989.80 sec. accum.).&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The two images in the following gallery show the results of the rendering.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Ray_method_off.png|normal ray tracing.  This took twice as long to make as the image to the right.  Same size, and DPI.&lt;br /&gt;
Image:Ray_method_on.png|manually hiding things you won't see anyway.  This took 1/2 the time to render as compared to the same sized &amp;amp; DPId image at left.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Memory===&lt;br /&gt;
If memory is an issue for you in PyMOL, try executing your rendering from a script rather than a PyMOL session file.  An unfortunate unavoidable consequence of the fact that we use Python's portable, platform-independent &amp;quot;pickle&amp;quot; machinery for PyMOL session files.  Packing or unpacking a Session or Scene file thus requires that there be two simultanous copies of the information to reside in RAM simultaneously:  one native and a second in Python itself.&lt;br /&gt;
&lt;br /&gt;
So when memory is a limiting factor, scripts are recommended over sessions.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Simple===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# ray trace the current scene using the default size of the viewport&lt;br /&gt;
ray&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Specify Image Size===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# ray trace the current scene, but scaled to 1024x768 pixels&lt;br /&gt;
ray 1024,768&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Specify Renderer===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# ray trace with an external renderer.&lt;br /&gt;
ray renderer=0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===High Quality B&amp;amp;W Rendering===&lt;br /&gt;
[[Image:1l9l.png|thumb|center|Black and White (ray_trace_mode,2); click to see full image]]&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Black and White Script&lt;br /&gt;
load /tmp/3fib.pdb;&lt;br /&gt;
show cartoon;&lt;br /&gt;
set ray_trace_mode, 2;  # black and white cartoon&lt;br /&gt;
bg_color white;&lt;br /&gt;
set antialias, 2;&lt;br /&gt;
ray 600,600&lt;br /&gt;
png /tmp/1l9l.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===High Quality Color===&lt;br /&gt;
[[Image:1l9l_2.png|thumb|center|Color mode (ray_trace_mode,3); click to see full image]]&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# Color Script&lt;br /&gt;
load /tmp/thy_model/1l9l.pdb;&lt;br /&gt;
hide lines;&lt;br /&gt;
show cartoon;&lt;br /&gt;
set ray_trace_mode, 3; # color&lt;br /&gt;
bg_color white;&lt;br /&gt;
set antialias, 2;&lt;br /&gt;
remove resn HOH&lt;br /&gt;
remove resn HET&lt;br /&gt;
ray 600,600&lt;br /&gt;
png /tmp/1l9l.png&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Ray Tracing Stereo Images===&lt;br /&gt;
:''See [[Stereo_Ray]]''&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
# &amp;quot;help faster&amp;quot; for optimization tips with the builtin renderer. &amp;quot;help povray&amp;quot; for how to use PovRay instead of PyMOL's built-in    ray-tracing engine.  For high-quality photos, please also see the [[Antialias]] command.  [[Ray shadows]] for controlling shadows.&lt;br /&gt;
# See also [[Ray Tracing]].&lt;br /&gt;
# [http://www.gimp.org/tutorials/Color2BW Desaturation Tutorial] -- A good resource for making nice B&amp;amp;W images from color images (desaturation).&lt;br /&gt;
&lt;br /&gt;
==User comments==&lt;br /&gt;
;How do I ray trace a publication-ready (~300dpi) image using PyMol?&lt;br /&gt;
:This answer is in the [[:Category:Advanced_Issues|Advanced Issues]] (Image Manipulation Section).&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Ray]]&lt;br /&gt;
[[Category:Publication_Quality|Ray]]&lt;br /&gt;
[[Category:Performance|Ray]]&lt;br /&gt;
[[Category:Movies|Ray]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:ProMOL&amp;diff=118</id>
		<title>Talk:ProMOL</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:ProMOL&amp;diff=118"/>
		<updated>2009-07-30T17:15:00Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3735</id>
		<title>Category:Colour Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3735"/>
		<updated>2009-06-22T21:43:44Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT[[:Category:Color_Module]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3734</id>
		<title>Category:Colour Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3734"/>
		<updated>2009-06-20T15:22:24Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Redirected page to Category:Color Module&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT[[Category:Color_Module]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3733</id>
		<title>Category:Colour Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3733"/>
		<updated>2009-06-20T15:21:30Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [Category:Color_Module].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3732</id>
		<title>Category:Colour Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3732"/>
		<updated>2009-06-20T15:19:51Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Redirected page to Category:Color Module&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Category:Color_Module]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3731</id>
		<title>Category:Colour Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Colour_Module&amp;diff=3731"/>
		<updated>2009-06-20T15:19:10Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Redirected page to Color Module&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Color Module]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Language_Module&amp;diff=3759</id>
		<title>Category:Language Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Language_Module&amp;diff=3759"/>
		<updated>2009-06-20T15:17:06Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Language Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Language Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Scripts_Module&amp;diff=3780</id>
		<title>Category:Scripts Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Scripts_Module&amp;diff=3780"/>
		<updated>2009-06-20T15:16:25Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Scripts Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Scripts Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Symmetry_Module&amp;diff=3805</id>
		<title>Category:Symmetry Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Symmetry_Module&amp;diff=3805"/>
		<updated>2009-06-20T15:16:01Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Symmetry Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Symmetry Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Stereo_Module&amp;diff=4067</id>
		<title>Category:Stereo Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Stereo_Module&amp;diff=4067"/>
		<updated>2009-06-20T15:15:34Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Stereo Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Stereo Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Distances_Module&amp;diff=3983</id>
		<title>Category:Distances Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Distances_Module&amp;diff=3983"/>
		<updated>2009-06-20T15:15:12Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Distances Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Distances Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Help_Module&amp;diff=3755</id>
		<title>Category:Help Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Help_Module&amp;diff=3755"/>
		<updated>2009-06-20T15:14:44Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Help Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Help Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Color_Module&amp;diff=3818</id>
		<title>Category:Color Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Color_Module&amp;diff=3818"/>
		<updated>2009-06-20T15:14:25Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Color Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Color Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Fitting_Module&amp;diff=3753</id>
		<title>Category:Fitting Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Fitting_Module&amp;diff=3753"/>
		<updated>2009-06-20T15:13:49Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Fitting Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Fitting Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Atoms_Module&amp;diff=3816</id>
		<title>Category:Atoms Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Atoms_Module&amp;diff=3816"/>
		<updated>2009-06-20T15:13:22Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Atoms Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Atoms Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Settings_Module&amp;diff=3947</id>
		<title>Category:Settings Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Settings_Module&amp;diff=3947"/>
		<updated>2009-06-20T15:13:02Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Settings Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Settings Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Selections_Module&amp;diff=3782</id>
		<title>Category:Selections Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Selections_Module&amp;diff=3782"/>
		<updated>2009-06-20T15:12:06Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Selections Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Selections Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Display_Module&amp;diff=3826</id>
		<title>Category:Display Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Display_Module&amp;diff=3826"/>
		<updated>2009-06-20T15:11:35Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Display Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Display Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Maps_Module&amp;diff=4037</id>
		<title>Category:Maps Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Maps_Module&amp;diff=4037"/>
		<updated>2009-06-20T15:11:16Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Maps Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Maps Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Ray_Tracing_Module&amp;diff=3859</id>
		<title>Category:Ray Tracing Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Ray_Tracing_Module&amp;diff=3859"/>
		<updated>2009-06-20T15:10:52Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Ray Tracing Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Ray Tracing Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Imaging_Module&amp;diff=4032</id>
		<title>Category:Imaging Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Imaging_Module&amp;diff=4032"/>
		<updated>2009-06-20T15:10:14Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Imaging Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Imaging Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Movies_Module&amp;diff=3763</id>
		<title>Category:Movies Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Movies_Module&amp;diff=3763"/>
		<updated>2009-06-20T15:09:35Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Movies Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Movies Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10169</id>
		<title>Show as</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_as&amp;diff=10169"/>
		<updated>2009-06-20T15:08:52Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== DESCRIPTION ==&lt;br /&gt;
(History: Python 2.6 came out with the keyword [[as]] which is also a PyMOL keyword.  So, we had to change the PyMOL-named keyword to [[show_as]].)&lt;br /&gt;
&lt;br /&gt;
[[show_as]] turns on and off atom and bond [[:Category:Representations|representations]], where the available representations are the usual:&lt;br /&gt;
*[[lines]]&lt;br /&gt;
*[[spheres]]&lt;br /&gt;
*[[mesh]]&lt;br /&gt;
*[[ribbon]]&lt;br /&gt;
*[[cartoon]]&lt;br /&gt;
*[[sticks]]&lt;br /&gt;
*[[dots]]&lt;br /&gt;
*[[surface]]&lt;br /&gt;
*[[labels]]&lt;br /&gt;
*[[extent]]&lt;br /&gt;
*[[nonbonded]]&lt;br /&gt;
*[[nb_spheres]]&lt;br /&gt;
*[[slice]]&lt;br /&gt;
 &lt;br /&gt;
== USAGE ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
show_as representation [, selection ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== ARGUMENTS ==&lt;br /&gt;
*'''representation''' = lines, spheres, mesh, ribbon, cartoon, sticks, dots, surface, labels, extent, nonbonded, nb_spheres, slice, extent, slice, dashes, angles, dihedrals, cgo, cell, callback, everything&lt;br /&gt;
*'''selection''' = string {default: all}&lt;br /&gt;
 &lt;br /&gt;
== EXAMPLES ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; &lt;br /&gt;
# show the backbone as lines&lt;br /&gt;
show_as lines, name ca or name c or name n&lt;br /&gt;
&lt;br /&gt;
# show everything as a ribbon&lt;br /&gt;
show_as ribbon&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
== PYMOL API ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; &lt;br /&gt;
cmd.show_as(string representation, string selection)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== NOTES ==&lt;br /&gt;
*'''selection''' can be an object name&lt;br /&gt;
*'''as''' alone will turn on lines and nonbonded and hide everything else.&lt;br /&gt;
 &lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
[[show]],  [[hide]], [[enable]], [[disable]], [[:Category:Representations|All PyMOL Representations]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* PyMOL Source code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Show As]]&lt;br /&gt;
[[Category:View Module|Show As]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show&amp;diff=8850</id>
		<title>Show</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show&amp;diff=8850"/>
		<updated>2009-06-20T15:07:52Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;gallery widths=&amp;quot;125px&amp;quot; heights=&amp;quot;125px&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&lt;br /&gt;
Image:Ray2.png|Example of a shown surface.&lt;br /&gt;
Image:Ray_trace_gain2.png|Ball and sticks shown.&lt;br /&gt;
Image:Mesh_w05.png|A cartoon inside a mesh shown.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
'''Show''' displays atom and bond representations for certain selections.  The '''Show''' command, is one of the most often used commands in PyMOL.  For example, you can ''show'' certain atoms as ''[[Lines]]'' or ''[[Sticks]]'' or ''[[Cartoon]]s'' or any of the following representations: &lt;br /&gt;
*[[lines]]&lt;br /&gt;
*[[spheres]]&lt;br /&gt;
*[[mesh]]&lt;br /&gt;
*[[ribbon]]&lt;br /&gt;
*[[cartoon]]&lt;br /&gt;
*[[sticks]]&lt;br /&gt;
*[[dots]]&lt;br /&gt;
*[[surface]]&lt;br /&gt;
*[[Label|label]]&lt;br /&gt;
*[[extent]]&lt;br /&gt;
*[[nonbonded]]&lt;br /&gt;
*[[nb_spheres]]&lt;br /&gt;
*[[slice]]&lt;br /&gt;
*[[cell]]&lt;br /&gt;
&lt;br /&gt;
==USAGE==&lt;br /&gt;
 show&lt;br /&gt;
 show reprentation [,object]&lt;br /&gt;
 show reprentation [,(selection)]&lt;br /&gt;
 show (selection)&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.show( string representation=&amp;quot;&amp;quot;, string selection=&amp;quot;&amp;quot; )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXAMPLES==&lt;br /&gt;
====Example====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# show the backbone using lines.&lt;br /&gt;
show lines,(name ca or name c or name n)&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;
# show the ribbon representation for all objects&lt;br /&gt;
show ribbon&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;
# show all hetero atoms as spheres&lt;br /&gt;
show spheres, het&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;
# show only polar hydrogens&lt;br /&gt;
hide everything, ele h&lt;br /&gt;
show lines, ele h and neighbor (ele n+o)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOTES==&lt;br /&gt;
'''selection''' can be an object name.&lt;br /&gt;
&lt;br /&gt;
'''show''' alone will turn on lines and nonbonded for all bonds.&lt;br /&gt;
&lt;br /&gt;
'''show cell''' will show the triclinic unit cell, provided it's described in the PDB. For cell packing, you need a script.  See [[:Category:Script_Library|The Script Library]] or [http://adelie.biochem.queensu.ca/~rlc/work/pymol/ Robert Campbell's Site]&lt;br /&gt;
&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[Hide]], [[Enable]], [[Disable]], [[Lines]], [[Cartoon]], [[Spheres]], [[Mesh]], [[Ribbon]], [[Sticks]], [[Dots]], [[Surface]], [[Label]], [[Extent]], [[Slice]], [[Cell]], [[Select]], [[Show_as]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Show]]&lt;br /&gt;
[[Category:View Module|Show]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Set_View&amp;diff=9838</id>
		<title>Set View</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Set_View&amp;diff=9838"/>
		<updated>2009-06-20T15:07:17Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''set_view''' sets viewing information for the current scene, including the rotation matrix, position, origin of rotation, clipping planes, and the orthoscopic flag.&lt;br /&gt;
&lt;br /&gt;
This command is extremely useful for making movies.  One may set up the scene to be rendered, then save the exact orientation, with respect to the camera, of the scene using, the [[Get_View]] command.  The output from the [[Get_View]] command may then be used by the '''set_view''' command to restore the orientation of the scene.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 set_view (...)  where ... is 18 floating point numbers&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.set_view(string-or-sequence view)  &lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
Contents of the view matrix&lt;br /&gt;
*0  -  8 = 3x3 rotation matrix which transforms model to camera space&lt;br /&gt;
*9  - 11 = camera position (in model space and relative to the origin of rotation)&lt;br /&gt;
*12 - 14 = origin of rotation (in model space)&lt;br /&gt;
*15      = front plane distance from the camera&lt;br /&gt;
*16      = rear plane distance from the camera&lt;br /&gt;
*17      = not implemented (the online help says that this should be the orthoscopic view flag, but PyMol as of v0.99 does not implement this)&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Get View]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Set View]]&lt;br /&gt;
[[Category:View Module|Set View]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_View&amp;diff=6014</id>
		<title>Get View</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_View&amp;diff=6014"/>
		<updated>2009-06-20T15:07:01Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''get_view''' returns and optionally prints out the current view information in a format which can be embedded into a command script and can be used in subsequent calls to '''set_view'''.&lt;br /&gt;
&lt;br /&gt;
If a log file is currently open, get_view will not write the view matrix to the screen unless the &amp;quot;output&amp;quot; parameter is 2.&lt;br /&gt;
&lt;br /&gt;
This command is very useful for saving the orientation of a scene for later.  Authors of molecular movies may find this command very powerful.&lt;br /&gt;
&lt;br /&gt;
===USAGE=== &lt;br /&gt;
 get_view&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_view(output=1,quiet=1)&lt;br /&gt;
   &lt;br /&gt;
my_view= cmd.get_view()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
output control:&lt;br /&gt;
*0 = output matrix to screen&lt;br /&gt;
*1 = don't output matrix to screen&lt;br /&gt;
*2 = force output to screen even if log file is open&lt;br /&gt;
*3 = return formatted string instead of a list&lt;br /&gt;
        &lt;br /&gt;
===API USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.get_view(0) # zero option suppresses output (LEGACY approach)&lt;br /&gt;
cmd.get_view(quiet=1) # suppresses output using PyMOL's normal &amp;quot;quiet&amp;quot; parameter.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
Contents of the view matrix&lt;br /&gt;
*0  -  8 = 3x3 rotation matrix which transforms model to camera space&lt;br /&gt;
*9  - 11 = camera position (in model space and relative to the origin of rotation)&lt;br /&gt;
*12 - 14 = origin of rotation (in model space)&lt;br /&gt;
*15      = front plane distance from the camera&lt;br /&gt;
*16      = rear plane distance from the camera&lt;br /&gt;
*17      = orthoscopic flag &lt;br /&gt;
 &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Set View]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Get View]]&lt;br /&gt;
[[Category:View Module|Get View]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=View&amp;diff=5760</id>
		<title>View</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=View&amp;diff=5760"/>
		<updated>2009-06-20T15:06:48Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''view''' makes it possible to save and restore viewpoints on a given scene within a single session.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
view key[,action]&lt;br /&gt;
view *&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
key can be any string&lt;br /&gt;
action should be 'store' or 'recall' (default: 'recall')&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.view(string key,string action)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===VIEWS===&lt;br /&gt;
Views F1 through F12 are automatically bound to function keys provided that &amp;quot;set_key&amp;quot; has not been used to redefine the behaviour of the respective key, and that a &amp;quot;scene&amp;quot; has not been defined for that key.&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 view 0,store&lt;br /&gt;
 view 0&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Scene]], [[Set View]], [[Get View]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|View]]&lt;br /&gt;
[[Category:View Module|View]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Origin&amp;diff=7133</id>
		<title>Origin</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Origin&amp;diff=7133"/>
		<updated>2009-06-20T15:06:10Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''origin''' sets the center of rotation about a selection.  If an object name is specified, it can be used to set the center of rotation for the object's TTT matrix.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
origin selection [, object [,position, [, state]]]&lt;br /&gt;
origin (selection)&lt;br /&gt;
origin position=[1.0,2.0,3.0]&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.origin( string object-or-selection )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
* state = 0 (default) use all coordinate states&lt;br /&gt;
* state = -1 use only coordinates for the current state&lt;br /&gt;
* state &amp;gt; 0  use coordinates for a specific state&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Zoom]], [[Orient]], [[Reset]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Origin]]&lt;br /&gt;
[[Category:States|Origin]]&lt;br /&gt;
[[Category:View Module|Origin]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5793</id>
		<title>Zoom</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5793"/>
		<updated>2009-06-20T15:05:43Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''zoom''' scales and translates the window and the origin to cover the atom selection.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 zoom [ selection [,buffer [, state [, complete ]]]]&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# auto zoom depending on what's loaded in PyMOL&lt;br /&gt;
zoom&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
zoom complete=1&lt;br /&gt;
&lt;br /&gt;
# zoom on just chain A&lt;br /&gt;
zoom (chain A)&lt;br /&gt;
&lt;br /&gt;
# zoom on residue 142&lt;br /&gt;
zoom 142/&lt;br /&gt;
&lt;br /&gt;
# zoom consistenly 20 Ang from each object at the center&lt;br /&gt;
center prot1&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&lt;br /&gt;
# prot1 and prot2 will have the same exact zoom factor&lt;br /&gt;
center prot2&lt;br /&gt;
zoom center, 20&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.zoom( string selection, float buffer=0.0,&lt;br /&gt;
          int state=0, int complete=0 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
 state = 0 (default) use all coordinate states&lt;br /&gt;
 state = -1 use only coordinates for the current state&lt;br /&gt;
 state &amp;gt; 0  use coordinates for a specific state&lt;br /&gt;
&lt;br /&gt;
 complete = 0 or 1:&lt;br /&gt;
&lt;br /&gt;
Normally the zoom command tries to guess an optimal zoom level for visualization, balancing closeness against occasional clipping of atoms out of the field of view.  You can change this behavior by setting the complete option to 1, which will guarantee that the atom positions for the entire selection will fit in the field of an orthoscopic view.  To absolutely prevent clipping, you may also need to add a buffer (typically 2 A) to account for the perspective transformation and for graphical representations which extend beyond the atom coordinates.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
*[[Origin]]&lt;br /&gt;
*[[Orient]]&lt;br /&gt;
*[[Center]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Zoom]]&lt;br /&gt;
[[Category:States|Zoom]]&lt;br /&gt;
[[Category:View Module|Zoom]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Rebuild&amp;diff=10032</id>
		<title>Rebuild</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Rebuild&amp;diff=10032"/>
		<updated>2009-06-20T15:05:29Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''rebuild''' forces PyMOL to recreate geometric objects in case any of them have gone out of sync.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 rebuild [selection [, representation ]]&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.rebuild(string selection = 'all', string representation = 'everything')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[refresh]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Rebuild]]&lt;br /&gt;
[[Category:View Module|Rebuild]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Refresh&amp;diff=10045</id>
		<title>Refresh</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Refresh&amp;diff=10045"/>
		<updated>2009-06-20T15:05:13Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''refresh''' causes the scene to be refresh as soon as it is safe to do so.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
refresh&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.refresh()&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[rebuild ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Refresh]]&lt;br /&gt;
[[Category:View Module|Refresh]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Reset&amp;diff=9451</id>
		<title>Reset</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Reset&amp;diff=9451"/>
		<updated>2009-06-20T15:05:03Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''reset''' restores the rotation matrix to identity, sets the origin    to the center of mass (approx.) and zooms the window and clipping planes to cover all objects.&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
 reset&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.reset() &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[Cmd clip]] [[Cmd zoom]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Reset]]&lt;br /&gt;
[[Category:View Module|Reset]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Disable&amp;diff=3564</id>
		<title>Disable</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Disable&amp;diff=3564"/>
		<updated>2009-06-20T15:04:54Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''disable''' disables display of an object and all currently visible representations.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 disable name&lt;br /&gt;
 disable all &lt;br /&gt;
&lt;br /&gt;
'''name''' is the name of an object or a named selection&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.disable( string name ) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EXAMPLE===&lt;br /&gt;
 disable my_object&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Show]], [[Hide]], [[Enable]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Disable]]&lt;br /&gt;
[[Category:View Module|Disable]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Enable&amp;diff=5818</id>
		<title>Enable</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Enable&amp;diff=5818"/>
		<updated>2009-06-20T15:04:42Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''enable''' enable display of an object and all currently visible representations.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 enable name&lt;br /&gt;
 enable all &lt;br /&gt;
name = object or selection name&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.enable( string object-name )&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===EXAMPLE===&lt;br /&gt;
 enable my_object&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Show]], [[Hide]], [[Disable]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Enable]]&lt;br /&gt;
[[Category:View Module|Enable]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Hide&amp;diff=11904</id>
		<title>Hide</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Hide&amp;diff=11904"/>
		<updated>2009-06-20T15:04:32Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''hide''' conceals atom and bond representations for a certain selection or other graphical objects like distances.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Show1.png|Some normal scene, notice the waters shown as spheres&lt;br /&gt;
Image:Show2.png|''hide spheres'' issues and the spheres are now hidden.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The available representations are:&lt;br /&gt;
*lines&lt;br /&gt;
*spheres&lt;br /&gt;
*mesh&lt;br /&gt;
*ribbon&lt;br /&gt;
*cartoon&lt;br /&gt;
*sticks&lt;br /&gt;
*dots&lt;br /&gt;
*surface&lt;br /&gt;
*labels&lt;br /&gt;
*nonbonded&lt;br /&gt;
*nb_spheres&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
hide representation [,object]&lt;br /&gt;
hide representation [,(selection)]&lt;br /&gt;
hide (selection)&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.hide( string representation=&amp;quot;&amp;quot;, string selection=&amp;quot;&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# hides all lines&lt;br /&gt;
hide lines,all&lt;br /&gt;
&lt;br /&gt;
# hides all ribbons&lt;br /&gt;
hide ribbon&lt;br /&gt;
&lt;br /&gt;
# hides all distances&lt;br /&gt;
hide dashes&lt;br /&gt;
&lt;br /&gt;
# hides sticks in protA and all residues that aren't in the range of 40-65&lt;br /&gt;
hide sticks, protA and not i. 40-65&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Show]], [[Enable]], [[Disable]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Hide]]&lt;br /&gt;
[[Category:View Module|Hide]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Rock&amp;diff=8642</id>
		<title>Rock</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Rock&amp;diff=8642"/>
		<updated>2009-06-20T15:01:00Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''rock''' toggles Y axis rocking.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 rock&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.rock() &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Rock]]&lt;br /&gt;
[[Category:View Module|Rock]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Clip&amp;diff=3315</id>
		<title>Clip</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Clip&amp;diff=3315"/>
		<updated>2009-06-20T15:00:45Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''clip''' alters the near and far clipping planes&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 clip {near|far|move|slab|atoms}, distance [,selection [,state ]]&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 clip near, -5           # moves near plane away from you by 5 A&lt;br /&gt;
 clip far, 10            # moves far plane towards you by 10 A&lt;br /&gt;
 clip move, -5           # moves the slab away from you by 5 A&lt;br /&gt;
 clip slab, 20           # sets slab thickness to 20 A&lt;br /&gt;
 clip slab, 10, resi 11  # clip 10 A slab about residue 11&lt;br /&gt;
 clip atoms, 5, pept     # clip atoms in &amp;quot;pept&amp;quot; with a 5 A buffer&lt;br /&gt;
                         # about their current camera positions&lt;br /&gt;
==PYMOL API==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.clip( string mode, float distance, string selection = None)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
*[[Zoom]]&lt;br /&gt;
*[[Reset]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Clip]]&lt;br /&gt;
[[Category:States|Clip]]&lt;br /&gt;
[[Category:View Module|Clip]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Move&amp;diff=6997</id>
		<title>Move</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Move&amp;diff=6997"/>
		<updated>2009-06-20T15:00:33Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''move''' translates the camera about one of the three primary axes.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 move axis,distance&lt;br /&gt;
&lt;br /&gt;
====EXAMPLES====&lt;br /&gt;
 move x,3&lt;br /&gt;
 move y,-1&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.move( string axis, float distance )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Cmd turn]], [[Cmd rotate]], [[Cmd translate]], [[Cmd zoom]], [[Cmd center]], [[Cmd clip]], [[Translate]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Move]]&lt;br /&gt;
[[Category:View Module|Move]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Turn&amp;diff=9066</id>
		<title>Turn</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Turn&amp;diff=9066"/>
		<updated>2009-06-20T15:00:24Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''turn''' rotates the camera about one of the three primary axes, centered at the origin.  Also consider [[rotate]].&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 turn axis, angle&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 turn x,90&lt;br /&gt;
 turn y,45&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.turn( string axis, float angle )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[move]], [[rotate]], [[translate]], [[zoom]], [[center]], [[clip]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Turn]]&lt;br /&gt;
[[Category:View Module|Turn]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:View_Module&amp;diff=4081</id>
		<title>Category:View Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:View_Module&amp;diff=4081"/>
		<updated>2009-06-20T14:58:04Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the View Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the View Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Quit&amp;diff=9898</id>
		<title>Quit</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Quit&amp;diff=9898"/>
		<updated>2009-06-20T14:56:59Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''quit''' terminates the program. &lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 quit&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.quit() &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Quit]]&lt;br /&gt;
[[Category:Input Output Module|Quit]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Save&amp;diff=9629</id>
		<title>Save</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Save&amp;diff=9629"/>
		<updated>2009-06-20T14:56:40Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''save''' writes selected atoms to a file.  The file format is&lt;br /&gt;
autodetected if the extesion is &amp;quot;.pdb&amp;quot;, &amp;quot;.pse&amp;quot;, &amp;quot;.mol&amp;quot;, &amp;quot;.mmod&amp;quot;, or&lt;br /&gt;
&amp;quot;.pkl&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
Note that if the file extension ends in &amp;quot;.pse&amp;quot; (PyMOL Session), the&lt;br /&gt;
complete PyMOL state is always saved to the file (the selection and&lt;br /&gt;
state parameters are thus ignored).&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
save file [,(selection) [,state [,format]] ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.save(file, selection, state, format)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
* When saving a session file, then &amp;quot;state&amp;quot; has no effect.&lt;br /&gt;
* When state = 0 (default), only the current state is written.&lt;br /&gt;
* When state = -1, then a multi-state output file is written (PDB only).&lt;br /&gt;
&lt;br /&gt;
* In versions 1.XX, a multi-state output file is written when state = 0 (which is not default)&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
   [[Load]], [[Get Model]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Save]]&lt;br /&gt;
[[Category:States|Save]]&lt;br /&gt;
[[Category:Input Output Module|Save]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Delete&amp;diff=7700</id>
		<title>Delete</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Delete&amp;diff=7700"/>
		<updated>2009-06-20T14:56:08Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''delete''' removes an object or a selection. &lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
delete name  &lt;br /&gt;
delete all   # deletes all objects&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
name = name of object or selection &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.delete(string name = object-or-selection-name )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Remove|Remove]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Delete]]&lt;br /&gt;
[[Category:Input Output Module|Delete]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Delete&amp;diff=7699</id>
		<title>Delete</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Delete&amp;diff=7699"/>
		<updated>2009-06-20T14:55:38Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''delete''' removes an object or a selection. &lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
delete name  &lt;br /&gt;
delete all   # deletes all objects&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
name = name of object or selection &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.delete(string name = object-or-selection-name )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Cmd Remove|Remove]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Delete]]&lt;br /&gt;
[[Category:Input Output Module|Delete]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Load&amp;diff=12605</id>
		<title>Load</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Load&amp;diff=12605"/>
		<updated>2009-06-20T14:55:07Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''load''' reads several file formats.  The file extension is used to determine the format.  PDB files must end in &amp;quot;.pdb&amp;quot;, MOL files must end in &amp;quot;.mol&amp;quot;, Macromodel files must end in &amp;quot;.mmod&amp;quot;, XPLOR maps must end in &amp;quot;.xplor&amp;quot;, CCP4 maps must end in &amp;quot;.ccp4&amp;quot;, Raster3D input (Molscript output) must end in  &amp;quot;.r3d&amp;quot;, PyMOL session files must end in &amp;quot;.pse&amp;quot;, and pickled ChemPy models with a &amp;quot;.pkl&amp;quot; can also be directly read.&lt;br /&gt;
&lt;br /&gt;
If an object is specified, then the file is loaded into that object. Otherwise, an object is created with the same name as the file prefix.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
load filename [,object [,state [,format [,finish [,discrete [,multiplex ]]]]]]&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.load( filename [,object [,state [,format [,finish [,discrete [,multiplex ]]]]]] )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
*You can override the file extension by giving a format string:&lt;br /&gt;
 &lt;br /&gt;
 'pdb' : PDB,  'mmod' : Macromodel, 'xyz' : Tinker, 'cc1' : ChemDraw3D  &lt;br /&gt;
 'mol' : MDL MOL-file, 'sdf' : MDL SD-file&lt;br /&gt;
 'xplor' : X-PLOR/CNS map, 'ccp4' : CCP4 map,&lt;br /&gt;
 'callback' : PyMOL Callback object (PyOpenGL)&lt;br /&gt;
 'cgo' : compressed graphics object (list of floats)&lt;br /&gt;
 'trj' : AMBER trajectory (use load_traj command for more control)&lt;br /&gt;
 'top' : AMBER topology file 'rst' : AMBER restart file&lt;br /&gt;
 'cex' : Metaphorics CEX format&lt;br /&gt;
 'pse' : PyMOL Session file&lt;br /&gt;
 'pqr' : PQR (a modified PDB file with charges and radii)&lt;br /&gt;
 'mol2' : MOL2&lt;br /&gt;
&lt;br /&gt;
* A new feature has been added to load.  You can specify an URL to a PDB and PyMOL will download it.  This is a very handy feature for loading experimental/theoretical data from servers across the web.  Just copy the link they give you and do,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
load http://www.theurl.com/path/toYourData&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or you can open a remote file just from the command line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# load a PDB file; I placed one example file on the PyMOL Wiki&lt;br /&gt;
pymol http://www.pymolwiki.org/1rsy.pdb&lt;br /&gt;
&lt;br /&gt;
# PyMOL can also handle the gzipped files on the PDB.  :-)&lt;br /&gt;
pymol ftp://ftp.wwpdb.org/pub/pdb/data/structures/divided/pdb/00/pdb100d.ent.gz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===User Comments/Examples===&lt;br /&gt;
*Load xyz.pdb using the PyMOL API:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.load(&amp;quot;xyz.pdb&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Loading multiple PDBs into one object with many states:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
load trj0001.pdb, mov&lt;br /&gt;
load trj0002.pdb, mov&lt;br /&gt;
load trj0003.pdb, mov&lt;br /&gt;
etc.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or, if you have too many states to do that by hand,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
for idx in range(1,1001):cmd.load(&amp;quot;trj%04d.pdb&amp;quot;%idx,&amp;quot;mov&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or, you can use &amp;quot;glob&amp;quot; from Python,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from glob import glob&lt;br /&gt;
lst = glob(&amp;quot;trj*.pdb&amp;quot;)&lt;br /&gt;
lst.sort()&lt;br /&gt;
for fil in lst: cmd.load(fil,&amp;quot;mov&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Load a NAMD multi-PDB file.  These are just concatenated PDB files.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
load NAMDtrajFile.pdb, multiplex=0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Hint: You can save some time &amp;amp; a lot of memory by loading the file and removing the atoms in a single-line compound statement (with a semicolon&lt;br /&gt;
after the load statement).&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
load 1E3M.pdb; remove not A-C+F//&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Save]] [[Load Traj]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Load]]&lt;br /&gt;
[[Category:States|Load]]&lt;br /&gt;
[[Category:Input Output Module|Load]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Input_Output_Module&amp;diff=3757</id>
		<title>Category:Input Output Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Input_Output_Module&amp;diff=3757"/>
		<updated>2009-06-20T14:53:19Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: Created page with 'This is a list of all commands in the Input/Output Module for PyMol's interface.  Category:Commands'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a list of all commands in the Input/Output Module for PyMol's interface.&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Attach&amp;diff=821</id>
		<title>Attach</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Attach&amp;diff=821"/>
		<updated>2009-06-20T14:49:10Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==DESCRIPTION==&lt;br /&gt;
'''attach''' adds a single atom onto the picked atom.&lt;br /&gt;
&lt;br /&gt;
==USAGE==&lt;br /&gt;
 attach element, geometry, valence&lt;br /&gt;
&lt;br /&gt;
==PYMOL API==&lt;br /&gt;
 cmd.attach( element, geometry, valence )&lt;br /&gt;
&lt;br /&gt;
==NOTES==&lt;br /&gt;
Immature functionality.  See code for details. &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Attach]]&lt;br /&gt;
[[Category:Editing Module|Attach]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Fuse&amp;diff=5903</id>
		<title>Fuse</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Fuse&amp;diff=5903"/>
		<updated>2009-06-20T14:48:57Z</updated>

		<summary type="html">&lt;p&gt;Vinnyrose: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''fuse''' joins two objects into one by forming a bond.  A copy of&lt;br /&gt;
the object containing the first atom is moved so as to form an&lt;br /&gt;
approximately resonable bond with the second, and is then merged&lt;br /&gt;
with the first object.&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
 fuse (selection1), (selection2)&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.fuse( string selection1=&amp;quot;(pk1)&amp;quot;, string selection2=&amp;quot;(pk2)&amp;quot; )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
===NOTES===&lt;br /&gt;
Each selection must include a single atom in each object.&lt;br /&gt;
The atoms can both be hydrogens, in which case they are&lt;br /&gt;
eliminated, or they can both be non-hydrogens, in which&lt;br /&gt;
case a bond is formed between the two atoms.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Bond]], [[Unbond]], [[Attach]], [[Replace]], [[Fuse]], [[Remove_picked]] &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Fuse]]&lt;br /&gt;
[[Category:Editing Module|Fuse]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
</feed>