<?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=Tree</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=Tree"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Tree"/>
	<updated>2026-05-07T11:28:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Intra_rms&amp;diff=6184</id>
		<title>Intra rms</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Intra_rms&amp;diff=6184"/>
		<updated>2005-05-23T14:52:13Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* USER EXAMPLES/COMMENTS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
&amp;quot;intra_rms&amp;quot; calculates rms fit values for all states of an object over an atom selection relative to the indicated state.  Coordinates are left unchanged.  The rms values are returned as a python array.&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.intra_rms( string selection, int state)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===PYTHON EXAMPLE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 from pymol import cmd&lt;br /&gt;
 rms = cmd.intra_rms(&amp;quot;(name ca)&amp;quot;,1)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===USER EXAMPLES/COMMENTS===&lt;br /&gt;
[[Fit]], [[Rms]], [[Rms_Cur]] are finicky and only work when all atom identifiers match: segi, chain, resn, name, alt.  If they don't then you'll need to use the alter command to change the identifiers to that they do -- typically that means clearing out the SEGI field, renaming chains, and sometimes renumbering.&lt;br /&gt;
&lt;br /&gt;
I tried made two selections A, and D as&lt;br /&gt;
&lt;br /&gt;
 PyMOL&amp;gt;sel A, 1gh2 and n. CA and i. 65-99&lt;br /&gt;
 Selector: selection &amp;quot;A&amp;quot; defined with 35 atoms.&lt;br /&gt;
 &lt;br /&gt;
 PyMOL&amp;gt;sel D, 1kao and n. CA and i. 64-98&lt;br /&gt;
 Selector: selection &amp;quot;D&amp;quot; defined with 35 atoms&lt;br /&gt;
&lt;br /&gt;
which as you can see both yield 35 atoms.  Now,&lt;br /&gt;
 rms_cur A, D&lt;br /&gt;
won't work, due to the aforementioned reason.  To fix this, one needs to do,&lt;br /&gt;
 alter all,segi=''&lt;br /&gt;
 alter all,chain=''&lt;br /&gt;
 alter D, resi=str(int(resi)+1)  # I don't actually use this line&lt;br /&gt;
and now&lt;br /&gt;
 rms_cur A, D&lt;br /&gt;
should work.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
   [[Fit]], [[Rms]], [[Rms_Cur]], [[Intra_Fit]], [[Intra_Rms_Cur]], [[Pair_Fit]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|intra_rms]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Cartoon&amp;diff=4368</id>
		<title>Cartoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Cartoon&amp;diff=4368"/>
		<updated>2005-05-16T21:22:38Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Cartoon Command==&lt;br /&gt;
===DESCRIPTION===&lt;br /&gt;
&amp;quot;cartoon&amp;quot; changes the default cartoon for a set of atoms.&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
   cartoon type, (selection)&lt;br /&gt;
 &lt;br /&gt;
   type = skip | automatic | loop | rectangle | oval | tube | arrow | dumbbell&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.cartoon(string type, string selection )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
   cartoon rectangle,(chain A)&lt;br /&gt;
   cartoon skip,(resi 145:156)&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
    the &amp;quot;automatic&amp;quot; mode utilizes ribbons according to the&lt;br /&gt;
   information in the PDB HELIX and SHEET records. &lt;br /&gt;
 &lt;br /&gt;
[[Category:Commands|cartoon]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adjusting width of cartoon==&lt;br /&gt;
&lt;br /&gt;
Try varying the following.&lt;br /&gt;
&lt;br /&gt;
For strands:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cartoon_rect_length&lt;br /&gt;
cartoon_rect_width&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For helices:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cartoon_oval_length&lt;br /&gt;
cartoon_oval_width&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or for &amp;quot;fancy&amp;quot; helices:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cartoon_dumbell_length&lt;br /&gt;
cartoon_dumbell_width&lt;br /&gt;
cartoon_dumbell_radius  (radius of cylinder at edge of helix ribbon)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
In each case &amp;quot;length&amp;quot; refers to what some might call the width and &amp;quot;width&amp;quot; refers to what some might call the thickness.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Cartoon_ex.png|thumb|center|Cartoon Representation Example|300px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Forcing Exact Boundaries in Coloring Secondary Structures===&lt;br /&gt;
To force PyMol to respect secondary structural elements color-wise (PyMol smooths out colors near color chagnes for a prettier image) use the following &lt;br /&gt;
PyMol command:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
set cartoon_discrete_colors, on&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Cartoon_discrete_color0.png|Discrete Coloring Off|center|thumb]] [[Image:Cartoon_discrete_color1.png|Discrete Coloring On|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sausage Representation ==&lt;br /&gt;
The familiar sausage representation in PyMol is called, &amp;quot;putty&amp;quot;.  To enable the putty/sausage view simply do,&lt;br /&gt;
 show cartoon&lt;br /&gt;
 cartoon putty&lt;br /&gt;
 unset cartoon_smooth_loops&lt;br /&gt;
 unset cartoon_flat_sheets&lt;br /&gt;
&lt;br /&gt;
==Black and White Representation==&lt;br /&gt;
For those who want a nifty black and white representation of their protein try the following:&lt;br /&gt;
# Ray trace your protein of choice in a cartoon representation use a BLACK background&lt;br /&gt;
# Save the image&lt;br /&gt;
# Load the image in GIMP. [[Image:Bw1.jpeg|thumb|Black BG Ribbon|center|350px]]&lt;br /&gt;
# Desaturate or Grayscale the image. [[Image:Bw2.jpeg|thumb|Grayscale|center|350px]]&lt;br /&gt;
# Run the filter: Filter-&amp;gt;Edge-Detect-&amp;gt;Edge. [[Image:Bw3.jpeg|thumb|Edge Detect|center|350px]]&lt;br /&gt;
# Select: Layers-&amp;gt;Color-&amp;gt;Invert. [[Image:Bw4.jpeg|thumb|Invert Color|center|350px]]&lt;br /&gt;
# Different methods of edge detection will give you different results.  In the last example, I used Laplace Edge-Detect, then painted an all white layer beneath the current layer to achieve the results. [[Image:Bw5.jpeg|thumb|Other Styles|center|350px|Comments]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I'm sure there are other ways to do this.  If you want to include it in a publication make sure you ray traced it large enough.  For that, see [[:Category:Advanced_Issues_Image_Manipulation_Publication_Quatlity_Images|Creating Publication Quality Images]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Cmd cartoon]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Representations|Cartoon]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Cartoon&amp;diff=4367</id>
		<title>Cartoon</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Cartoon&amp;diff=4367"/>
		<updated>2005-05-16T21:14:13Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* Forcing Exact Boundaries in Coloring Secondary Structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Cartoon Command==&lt;br /&gt;
===DESCRIPTION===&lt;br /&gt;
&amp;quot;cartoon&amp;quot; changes the default cartoon for a set of atoms.&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
   cartoon type, (selection)&lt;br /&gt;
 &lt;br /&gt;
   type = skip | automatic | loop | rectangle | oval | tube | arrow | dumbbell&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.cartoon(string type, string selection )&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
   cartoon rectangle,(chain A)&lt;br /&gt;
   cartoon skip,(resi 145:156)&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
    the &amp;quot;automatic&amp;quot; mode utilizes ribbons according to the&lt;br /&gt;
   information in the PDB HELIX and SHEET records. &lt;br /&gt;
 &lt;br /&gt;
[[Category:Commands|cartoon]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adjusting width of cartoon==&lt;br /&gt;
&lt;br /&gt;
Try varying the following.&lt;br /&gt;
&lt;br /&gt;
For strands:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cartoon_rect_length&lt;br /&gt;
cartoon_rect_width&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For helices:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cartoon_oval_length&lt;br /&gt;
cartoon_oval_width&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or for &amp;quot;fancy&amp;quot; helices:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cartoon_dumbell_length&lt;br /&gt;
cartoon_dumbell_width&lt;br /&gt;
cartoon_dumbell_radius  (radius of cylinder at edge of helix ribbon)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
In each case &amp;quot;length&amp;quot; refers to what some might call the width and &amp;quot;width&amp;quot; refers to what some might call the thickness.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cartoon_ex.png|thumb|Cartoon Representation Example]]&lt;br /&gt;
&lt;br /&gt;
===Forcing Exact Boundaries in Coloring Secondary Structures===&lt;br /&gt;
To force PyMol to respect secondary structural elements color-wise (PyMol smooths out colors near color chagnes for a prettier image) use the following &lt;br /&gt;
PyMol command:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
set cartoon_discrete_colors, on&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Cartoon_discrete_color0.png|Discrete Coloring Off|left|thumb]] [[Image:Cartoon_discrete_color1.png|Discrete Coloring On|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Sausage Representation ==&lt;br /&gt;
The familiar sausage representation in PyMol is called, &amp;quot;putty&amp;quot;.  To enable the putty/sausage view simply do,&lt;br /&gt;
 show cartoon&lt;br /&gt;
 cartoon putty&lt;br /&gt;
 unset cartoon_smooth_loops&lt;br /&gt;
 unset cartoon_flat_sheets&lt;br /&gt;
&lt;br /&gt;
==Black and White Representation==&lt;br /&gt;
For those who want a nifty black and white representation of their protein try the following:&lt;br /&gt;
* Ray trace your protein of choice in a cartoon representation use a BLACK background&lt;br /&gt;
* Save the image&lt;br /&gt;
* Load the image in GIMP [[Image:Bw1.jpeg|thumb|Black BG Ribbon]]&lt;br /&gt;
* Desaturate or Grayscale the image [[Image:Bw2.jpeg|thumb|Grayscale]]&lt;br /&gt;
* Run the filter: Filter-&amp;gt;Edge-Detect-&amp;gt;Edge [[Image:Bw3.jpeg|thumb|Edge Detect]]&lt;br /&gt;
* Select: Layers-&amp;gt;Color-&amp;gt;Invert [[Image:Bw4.jpeg|thumb|Invert Color]]&lt;br /&gt;
&lt;br /&gt;
Comments: Different methods of edge detection will give you different results.  In the last example, I used Laplace Edge-Detect, then painted an all white layer beneath the current layer to achieve the results. [[Image:Bw5.jpeg|thumb|Other Styles]]&lt;br /&gt;
&lt;br /&gt;
I'm sure there are other ways to do this.  If you want to include it in a publication make sure you ray traced it large enough.  For that, see [[:Category:Advanced_Issues_Image_Manipulation_Publication_Quatlity_Images|Creating Publication Quality Images]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Cmd cartoon]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Representations|Cartoon]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User_talk:Tmwsiy&amp;diff=10813</id>
		<title>User talk:Tmwsiy</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User_talk:Tmwsiy&amp;diff=10813"/>
		<updated>2005-05-16T21:11:16Z</updated>

		<summary type="html">&lt;p&gt;Tree: Media Uploads&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sorry about that its: http://dwkulp.homelinux.net/tiki/tiki-index.php&lt;br /&gt;
&lt;br /&gt;
http://dwkulp.homelinux.net/tiki-index.php&lt;br /&gt;
&lt;br /&gt;
Is a 404.  You may want to double check it.&lt;br /&gt;
&lt;br /&gt;
-- Jason&lt;br /&gt;
&lt;br /&gt;
== Talk Pages ==&lt;br /&gt;
&lt;br /&gt;
Dan,&lt;br /&gt;
&lt;br /&gt;
Yeah, I think these talk pages are similar to public messages to folks.  Also, every page has a discussion page -- so you can talk about the page under question.  WikiPedia does this quite a bit in case there are disputes to content: is someone being spiteful and posting bunk, or is the content controversial or whatnot.  Here, I imagine it'll be, &amp;quot;how do I...&amp;quot; type questions.&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]] 16:11, 12 May 2005 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Media Uploads ==&lt;br /&gt;
&lt;br /&gt;
Dan,&lt;br /&gt;
&lt;br /&gt;
Try now.  I enabled zip, tar, bz2, and some more.  So, to avoid scripts and IE-unsafe stuff, let's try to keep things images or compressed.&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]] 16:11, 16 May 2005 (CDT)&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User_talk:Tmwsiy&amp;diff=10812</id>
		<title>User talk:Tmwsiy</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User_talk:Tmwsiy&amp;diff=10812"/>
		<updated>2005-05-12T21:11:16Z</updated>

		<summary type="html">&lt;p&gt;Tree: Talk Pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sorry about that its: http://dwkulp.homelinux.net/tiki/tiki-index.php&lt;br /&gt;
&lt;br /&gt;
http://dwkulp.homelinux.net/tiki-index.php&lt;br /&gt;
&lt;br /&gt;
Is a 404.  You may want to double check it.&lt;br /&gt;
&lt;br /&gt;
-- Jason&lt;br /&gt;
&lt;br /&gt;
== Talk Pages ==&lt;br /&gt;
&lt;br /&gt;
Dan,&lt;br /&gt;
&lt;br /&gt;
Yeah, I think these talk pages are similar to public messages to folks.  Also, every page has a discussion page -- so you can talk about the page under question.  WikiPedia does this quite a bit in case there are disputes to content: is someone being spiteful and posting bunk, or is the content controversial or whatnot.  Here, I imagine it'll be, &amp;quot;how do I...&amp;quot; type questions.&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]] 16:11, 12 May 2005 (CDT)&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Hide&amp;diff=11888</id>
		<title>Hide</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Hide&amp;diff=11888"/>
		<updated>2005-03-09T04:41:58Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;hide&amp;quot; turns of atom and bond representations.&lt;br /&gt;
 &lt;br /&gt;
   The available representations are:&lt;br /&gt;
 &lt;br /&gt;
      lines     spheres   mesh      ribbon     cartoon&lt;br /&gt;
      sticks    dots      surface   labels&lt;br /&gt;
      nonbonded nb_spheres&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
 &lt;br /&gt;
   hide reprentation [,object]&lt;br /&gt;
   hide reprentation [,(selection)]&lt;br /&gt;
   hide (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.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;
 &lt;br /&gt;
   hide lines,all&lt;br /&gt;
   hide ribbon&lt;br /&gt;
 &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
   [[Cmd show]], [[Cmd enable]], [[Cmd disable]]&lt;br /&gt;
&lt;br /&gt;
[[Category:hide|hide]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Alter_State&amp;diff=4190</id>
		<title>Alter State</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Alter_State&amp;diff=4190"/>
		<updated>2005-03-09T04:38:30Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;alter_state&amp;quot; changes the atomic coordinates of a particular state&lt;br /&gt;
   using the python evaluator with a separate name space for each&lt;br /&gt;
   atom.  The symbols defined in the name space are:&lt;br /&gt;
 &lt;br /&gt;
      x,y,z&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
 &lt;br /&gt;
   alter_state state,(selection),expression&lt;br /&gt;
 &lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 &lt;br /&gt;
   alter_state 1,(all),x=x+5&lt;br /&gt;
 &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
  [[Cmd iterate_state]], [[Cmd alter]], [[Cmd iterate]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|alter_state]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Unbond&amp;diff=5730</id>
		<title>Unbond</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Unbond&amp;diff=5730"/>
		<updated>2005-03-09T04:36:53Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;unbond&amp;quot; removes all bonds between two selections.&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
 &lt;br /&gt;
   unbond atom1,atom2&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.unbond(selection atom1=&amp;quot;(pk1)&amp;quot;,selection atom2=&amp;quot;(pk2)&amp;quot;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
   [[Cmd bond]], [[Cmd fuse]], [[Cmd remove_picked]], [[Cmd attach]], [[Cmd detach]], [[Cmd replace]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|unbond]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Attach&amp;diff=817</id>
		<title>Attach</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Attach&amp;diff=817"/>
		<updated>2005-03-09T04:35:04Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;DESCRIPTION&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;attach&amp;quot; adds a single atom onto the picked atom.&lt;br /&gt;
 &lt;br /&gt;
USAGE&lt;br /&gt;
 &lt;br /&gt;
   attach element, geometry, valence&lt;br /&gt;
 &lt;br /&gt;
PYMOL API&lt;br /&gt;
 &lt;br /&gt;
   cmd.attach( element, geometry, valence )&lt;br /&gt;
 &lt;br /&gt;
NOTES&lt;br /&gt;
 &lt;br /&gt;
   Immature functionality.  See code for details. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|attach]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Bounding_Box&amp;diff=6495</id>
		<title>Bounding Box</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Bounding_Box&amp;diff=6495"/>
		<updated>2005-03-08T22:15:44Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import math&lt;br /&gt;
from pymol import querying&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
&lt;br /&gt;
#NOTE!! : These packages (numarray, Scientific) must be present in pymol's &lt;br /&gt;
#'$PYMOLDIR/py23/lib/python2.3/site-packages/' directory!!&lt;br /&gt;
from numarray import *&lt;br /&gt;
from numarray.ma import average&lt;br /&gt;
from numarray import linear_algebra as la&lt;br /&gt;
&lt;br /&gt;
from Scientific.Geometry import Vector, Tensor, Transformation&lt;br /&gt;
&lt;br /&gt;
def boundingBox(selectionName, colourRGB=[1,1,1]):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        The main function to call : &lt;br /&gt;
&lt;br /&gt;
                run &amp;quot;box.py&amp;quot;&lt;br /&gt;
                boundingBox(&amp;quot;peptide&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
        Should make a box around &amp;quot;peptide&amp;quot; (assuming it exists!). For a different colour use:&lt;br /&gt;
&lt;br /&gt;
                boundingBox(&amp;quot;peptide&amp;quot;, colourRGB=[1, 0, 1])&lt;br /&gt;
&lt;br /&gt;
        Or whatever. The box should be a cgo called 'peptide-box' (for this example).&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        model = querying.get_model(selectionName)&lt;br /&gt;
        coords = model.get_coord_list()&lt;br /&gt;
&lt;br /&gt;
        #find the least square plane through the coordinates&lt;br /&gt;
        eigenvalues, eigenvectors, centroid = findPlaneWithEigenVectors(coords)&lt;br /&gt;
        normal = eigenvectors[eigenvalues.argmin()]&lt;br /&gt;
        eigenvectors.remove(normal)&lt;br /&gt;
&lt;br /&gt;
        #orient the axes correctly&lt;br /&gt;
        x, y, normal = orientAxes(eigenvectors[0], eigenvectors[1], normal)&lt;br /&gt;
&lt;br /&gt;
        #determine the dimensions and the structure's orientation wrt the origin&lt;br /&gt;
        minDimensions, rotation = findMinDimensionsAndRotation(coords, centroid, x, y, normal)&lt;br /&gt;
&lt;br /&gt;
        #'create' the box(IE: make the corners) and 'draw' it (IE: make a cgo)&lt;br /&gt;
        box = makeBox(minDimensions, rotation, centroid)&lt;br /&gt;
        drawBox(box, selectionName, colourRGB)&lt;br /&gt;
&lt;br /&gt;
def findPlaneWithEigenVectors(coords):&lt;br /&gt;
        centroid = average(coords)&lt;br /&gt;
        coords -= centroid&lt;br /&gt;
        B = matrixmultiply(transpose(coords), coords)&lt;br /&gt;
        eigenvalues, eigenvectors = la.eigenvectors(B)&lt;br /&gt;
        return eigenvalues, [Vector(e) for e in eigenvectors], Vector(centroid)&lt;br /&gt;
&lt;br /&gt;
def orientAxes(x, y, z):&lt;br /&gt;
        XcrossY = x.cross(y)&lt;br /&gt;
        ZXY = around(math.degrees(z.angle(XcrossY)))&lt;br /&gt;
        if (ZXY == 180): x, y = y, x&lt;br /&gt;
        return x, y, z&lt;br /&gt;
&lt;br /&gt;
def makeBox(dimensions, rotation, centroid):&lt;br /&gt;
        x, y, z = dimensions&lt;br /&gt;
        v = [[]] * 8&lt;br /&gt;
&lt;br /&gt;
        #make a cuboid with the lower corner on the origin&lt;br /&gt;
        v[0] = [0, 0, 0]                # [0, 0, 0]&lt;br /&gt;
        v[1] = [x, 0, 0]                # [1, 0, 0]&lt;br /&gt;
        v[2] = [x, y, 0]                # [1, 1, 0]&lt;br /&gt;
        v[3] = [x, 0, z]                # [1, 0, 1]&lt;br /&gt;
        v[4] = [0, y, 0]                # [0, 1, 0]&lt;br /&gt;
        v[5] = [0, 0, z]                # [0, 0, 1]&lt;br /&gt;
        v[6] = [0, y, z]                # [0, 1, 1]&lt;br /&gt;
        v[7] = [x, y, z]                # [1, 1, 1]&lt;br /&gt;
&lt;br /&gt;
        #move to the origin, THEN move to the centroid of the points, then rotate&lt;br /&gt;
        translationToOrigin = Transformation.Translation(-Vector(x/2, y/2, z/2))&lt;br /&gt;
        translationToCentroid = Transformation.Translation(centroid)&lt;br /&gt;
        transform = translationToCentroid * rotation * translationToOrigin&lt;br /&gt;
&lt;br /&gt;
        #use the Transformation to transform the corners of the box&lt;br /&gt;
        v = [transform(Vector(i)) for i in v]&lt;br /&gt;
&lt;br /&gt;
        bot =  [v[0], v[1], v[2], v[4]] # O, x, xy, y&lt;br /&gt;
        top =  [v[7], v[3], v[5], v[6]] # xyz, xz, z, yz&lt;br /&gt;
        minL = [v[0], v[4], v[6], v[5]] # O, y, yz, z&lt;br /&gt;
        minR = [v[0], v[5], v[3], v[1]] # O, z, xz, x&lt;br /&gt;
        maxL = [v[4], v[2], v[7], v[6]] # y, xy, xyz, yz&lt;br /&gt;
        maxR = [v[3], v[1], v[2], v[7]] # xz, x, xy, xyz&lt;br /&gt;
        box = [bot, minR, minL, maxR, maxL, top]&lt;br /&gt;
&lt;br /&gt;
        return box&lt;br /&gt;
&lt;br /&gt;
def drawBox(box, name, colourRGB):&lt;br /&gt;
        boxObj = []&lt;br /&gt;
        for side in box:&lt;br /&gt;
                boxObj.append(BEGIN)&lt;br /&gt;
                boxObj.append(LINE_STRIP)&lt;br /&gt;
                boxObj.append(COLOR)&lt;br /&gt;
                boxObj.extend(colourRGB)&lt;br /&gt;
                for point in side:&lt;br /&gt;
                        boxObj.append(VERTEX)&lt;br /&gt;
                        boxObj.extend(point)&lt;br /&gt;
                boxObj.append(END)&lt;br /&gt;
&lt;br /&gt;
        cmd.set('auto_zoom', 0)&lt;br /&gt;
        cmd.load_cgo(boxObj, &amp;quot;%s-box&amp;quot; % name)&lt;br /&gt;
        cmd.set('auto_zoom', 1)&lt;br /&gt;
&lt;br /&gt;
def findMinDimensionsAndRotation(coords, centroid, x, y, z):&lt;br /&gt;
        O = Vector(0, 0, 0)&lt;br /&gt;
        X = Vector(1, 0, 0)&lt;br /&gt;
        Y = Vector(0, 1, 0)&lt;br /&gt;
        Z = Vector(0, 0, 1)&lt;br /&gt;
&lt;br /&gt;
        #Create a Transformation t = |x, y, z| . |X, Y, Z| ^ -1&lt;br /&gt;
        mfinal = array([array(X), array(Y), array(Z)])&lt;br /&gt;
        morig = array([array(x), array(y), array(z)])&lt;br /&gt;
        rotmatrix = matrixmultiply(morig, transpose(mfinal))&lt;br /&gt;
        tTotal = Transformation.Rotation(Tensor(rotmatrix))&lt;br /&gt;
&lt;br /&gt;
        #Transform the coordinates and find the min, max dimensions&lt;br /&gt;
        coordArray = array([array(tTotal(Vector(c))) for c in coords])&lt;br /&gt;
        minDimensions = [max(coordArray[:,i]) - min(coordArray[:,i]) for i in range(3)]&lt;br /&gt;
&lt;br /&gt;
        #Now, compose the inverse rotation used to move the bounding box to the right place&lt;br /&gt;
        tForward = Transformation.Rotation(Tensor(matrixmultiply(mfinal, transpose(morig))))&lt;br /&gt;
&lt;br /&gt;
        return minDimensions, tForward&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Script_Library|Bounding Box]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Bounding_Box&amp;diff=6494</id>
		<title>Bounding Box</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Bounding_Box&amp;diff=6494"/>
		<updated>2005-03-08T22:14:57Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import math&lt;br /&gt;
from pymol import querying&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
&lt;br /&gt;
#NOTE!! : These packages (numarray, Scientific) must be present in pymol's &lt;br /&gt;
#'$PYMOLDIR/py23/lib/python2.3/site-packages/' directory!!&lt;br /&gt;
from numarray import *&lt;br /&gt;
from numarray.ma import average&lt;br /&gt;
from numarray import linear_algebra as la&lt;br /&gt;
&lt;br /&gt;
from Scientific.Geometry import Vector, Tensor, Transformation&lt;br /&gt;
&lt;br /&gt;
def boundingBox(selectionName, colourRGB=[1,1,1]):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        The main function to call : &lt;br /&gt;
&lt;br /&gt;
                run &amp;quot;box.py&amp;quot;&lt;br /&gt;
                boundingBox(&amp;quot;peptide&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
        Should make a box around &amp;quot;peptide&amp;quot; (assuming it exists!). For a different colour use:&lt;br /&gt;
&lt;br /&gt;
                boundingBox(&amp;quot;peptide&amp;quot;, colourRGB=[1, 0, 1])&lt;br /&gt;
&lt;br /&gt;
        Or whatever. The box should be a cgo called 'peptide-box' (for this example).&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        model = querying.get_model(selectionName)&lt;br /&gt;
        coords = model.get_coord_list()&lt;br /&gt;
&lt;br /&gt;
        #find the least square plane through the coordinates&lt;br /&gt;
        eigenvalues, eigenvectors, centroid = findPlaneWithEigenVectors(coords)&lt;br /&gt;
        normal = eigenvectors[eigenvalues.argmin()]&lt;br /&gt;
        eigenvectors.remove(normal)&lt;br /&gt;
&lt;br /&gt;
        #orient the axes correctly&lt;br /&gt;
        x, y, normal = orientAxes(eigenvectors[0], eigenvectors[1], normal)&lt;br /&gt;
&lt;br /&gt;
        #determine the dimensions and the structure's orientation wrt the origin&lt;br /&gt;
        minDimensions, rotation = findMinDimensionsAndRotation(coords, centroid, x, y, normal)&lt;br /&gt;
&lt;br /&gt;
        #'create' the box(IE: make the corners) and 'draw' it (IE: make a cgo)&lt;br /&gt;
        box = makeBox(minDimensions, rotation, centroid)&lt;br /&gt;
        drawBox(box, selectionName, colourRGB)&lt;br /&gt;
&lt;br /&gt;
def findPlaneWithEigenVectors(coords):&lt;br /&gt;
        centroid = average(coords)&lt;br /&gt;
        coords -= centroid&lt;br /&gt;
        B = matrixmultiply(transpose(coords), coords)&lt;br /&gt;
        eigenvalues, eigenvectors = la.eigenvectors(B)&lt;br /&gt;
        return eigenvalues, [Vector(e) for e in eigenvectors], Vector(centroid)&lt;br /&gt;
&lt;br /&gt;
def orientAxes(x, y, z):&lt;br /&gt;
        XcrossY = x.cross(y)&lt;br /&gt;
        ZXY = around(math.degrees(z.angle(XcrossY)))&lt;br /&gt;
        if (ZXY == 180): x, y = y, x&lt;br /&gt;
        return x, y, z&lt;br /&gt;
&lt;br /&gt;
def makeBox(dimensions, rotation, centroid):&lt;br /&gt;
        x, y, z = dimensions&lt;br /&gt;
        v = [[]] * 8&lt;br /&gt;
&lt;br /&gt;
        #make a cuboid with the lower corner on the origin&lt;br /&gt;
        v[0] = [0, 0, 0]                # [0, 0, 0]&lt;br /&gt;
        v[1] = [x, 0, 0]                # [1, 0, 0]&lt;br /&gt;
        v[2] = [x, y, 0]                # [1, 1, 0]&lt;br /&gt;
        v[3] = [x, 0, z]                # [1, 0, 1]&lt;br /&gt;
        v[4] = [0, y, 0]                # [0, 1, 0]&lt;br /&gt;
        v[5] = [0, 0, z]                # [0, 0, 1]&lt;br /&gt;
        v[6] = [0, y, z]                # [0, 1, 1]&lt;br /&gt;
        v[7] = [x, y, z]                # [1, 1, 1]&lt;br /&gt;
&lt;br /&gt;
        #move to the origin, THEN move to the centroid of the points, then rotate&lt;br /&gt;
        translationToOrigin = Transformation.Translation(-Vector(x/2, y/2, z/2))&lt;br /&gt;
        translationToCentroid = Transformation.Translation(centroid)&lt;br /&gt;
        transform = translationToCentroid * rotation * translationToOrigin&lt;br /&gt;
&lt;br /&gt;
        #use the Transformation to transform the corners of the box&lt;br /&gt;
        v = [transform(Vector(i)) for i in v]&lt;br /&gt;
&lt;br /&gt;
        bot =  [v[0], v[1], v[2], v[4]] # O, x, xy, y&lt;br /&gt;
        top =  [v[7], v[3], v[5], v[6]] # xyz, xz, z, yz&lt;br /&gt;
        minL = [v[0], v[4], v[6], v[5]] # O, y, yz, z&lt;br /&gt;
        minR = [v[0], v[5], v[3], v[1]] # O, z, xz, x&lt;br /&gt;
        maxL = [v[4], v[2], v[7], v[6]] # y, xy, xyz, yz&lt;br /&gt;
        maxR = [v[3], v[1], v[2], v[7]] # xz, x, xy, xyz&lt;br /&gt;
        box = [bot, minR, minL, maxR, maxL, top]&lt;br /&gt;
&lt;br /&gt;
        return box&lt;br /&gt;
&lt;br /&gt;
def drawBox(box, name, colourRGB):&lt;br /&gt;
        boxObj = []&lt;br /&gt;
        for side in box:&lt;br /&gt;
                boxObj.append(BEGIN)&lt;br /&gt;
                boxObj.append(LINE_STRIP)&lt;br /&gt;
                boxObj.append(COLOR)&lt;br /&gt;
                boxObj.extend(colourRGB)&lt;br /&gt;
                for point in side:&lt;br /&gt;
                        boxObj.append(VERTEX)&lt;br /&gt;
                        boxObj.extend(point)&lt;br /&gt;
                boxObj.append(END)&lt;br /&gt;
&lt;br /&gt;
        cmd.set('auto_zoom', 0)&lt;br /&gt;
        cmd.load_cgo(boxObj, &amp;quot;%s-box&amp;quot; % name)&lt;br /&gt;
        cmd.set('auto_zoom', 1)&lt;br /&gt;
&lt;br /&gt;
def findMinDimensionsAndRotation(coords, centroid, x, y, z):&lt;br /&gt;
        O = Vector(0, 0, 0)&lt;br /&gt;
        X = Vector(1, 0, 0)&lt;br /&gt;
        Y = Vector(0, 1, 0)&lt;br /&gt;
        Z = Vector(0, 0, 1)&lt;br /&gt;
&lt;br /&gt;
        #Create a Transformation t = |x, y, z| . |X, Y, Z| ^ -1&lt;br /&gt;
        mfinal = array([array(X), array(Y), array(Z)])&lt;br /&gt;
        morig = array([array(x), array(y), array(z)])&lt;br /&gt;
        rotmatrix = matrixmultiply(morig, transpose(mfinal))&lt;br /&gt;
        tTotal = Transformation.Rotation(Tensor(rotmatrix))&lt;br /&gt;
&lt;br /&gt;
        #Transform the coordinates and find the min, max dimensions&lt;br /&gt;
        coordArray = array([array(tTotal(Vector(c))) for c in coords])&lt;br /&gt;
        minDimensions = [max(coordArray[:,i]) - min(coordArray[:,i]) for i in range(3)]&lt;br /&gt;
&lt;br /&gt;
        #Now, compose the inverse rotation used to move the bounding box to the right place&lt;br /&gt;
        tForward = Transformation.Rotation(Tensor(matrixmultiply(mfinal, transpose(morig))))&lt;br /&gt;
&lt;br /&gt;
        return minDimensions, tForward&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Script_Library|Measure Distance]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_hydrophilic&amp;diff=10180</id>
		<title>Show hydrophilic</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_hydrophilic&amp;diff=10180"/>
		<updated>2005-03-08T03:50:17Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# Show side chain sticks for hydrophilic residues&lt;br /&gt;
#&lt;br /&gt;
# (script for PyMol)&lt;br /&gt;
# Tom Stout, 08/05/2004&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
mstop&lt;br /&gt;
dss&lt;br /&gt;
hide all&lt;br /&gt;
#zoom all&lt;br /&gt;
#orient&lt;br /&gt;
show cartoon,all&lt;br /&gt;
color gray,all&lt;br /&gt;
&lt;br /&gt;
select hydrophilics,(resn arg+lys+his+glu+asp+asn+gln+thr+ser+cys)&lt;br /&gt;
show sticks, (hydrophilics and !name c+n+o)&lt;br /&gt;
color green,hydrophilics&lt;br /&gt;
disable hydrophilics&lt;br /&gt;
set cartoon_smooth_loops,0&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Script_Library|Show Hydrophilic]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_charged&amp;diff=10174</id>
		<title>Show charged</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_charged&amp;diff=10174"/>
		<updated>2005-03-08T03:50:05Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# Show side chain sticks for charged residues&lt;br /&gt;
#&lt;br /&gt;
# (script for PyMol)&lt;br /&gt;
# Tom Stout, 08/05/2004&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
mstop&lt;br /&gt;
dss&lt;br /&gt;
hide all&lt;br /&gt;
#zoom all&lt;br /&gt;
#orient&lt;br /&gt;
show cartoon,all&lt;br /&gt;
color gray,all&lt;br /&gt;
&lt;br /&gt;
select pos,(resn arg+lys+his)&lt;br /&gt;
show sticks, (pos and !name c+n+o)&lt;br /&gt;
color marine,pos&lt;br /&gt;
disable pos&lt;br /&gt;
select neg,(resn glu+asp)&lt;br /&gt;
show sticks, (neg and !name c+n+o)&lt;br /&gt;
color red,neg&lt;br /&gt;
disable neg&lt;br /&gt;
set cartoon_smooth_loops,0&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Script_Library|Show Charged]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_hydrophobics&amp;diff=8864</id>
		<title>Show hydrophobics</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_hydrophobics&amp;diff=8864"/>
		<updated>2005-03-08T03:49:54Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# Show side chain sticks for hydrophobic residues&lt;br /&gt;
#&lt;br /&gt;
# (script for PyMol)&lt;br /&gt;
# Tom Stout, 08/05/2004&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
mstop&lt;br /&gt;
dss&lt;br /&gt;
hide all&lt;br /&gt;
#zoom all&lt;br /&gt;
#orient&lt;br /&gt;
show cartoon,all&lt;br /&gt;
color gray,all&lt;br /&gt;
&lt;br /&gt;
select hydrophobes,(resn ala+gly+val+ile+leu+phe+met)&lt;br /&gt;
show sticks, (hydrophobes and (!name c+n+o))&lt;br /&gt;
color orange,hydrophobes&lt;br /&gt;
disable hydrophobes&lt;br /&gt;
set cartoon_smooth_loops,0&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Script_Library|Show Hydrophobics]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Show_aromatics&amp;diff=10163</id>
		<title>Show aromatics</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Show_aromatics&amp;diff=10163"/>
		<updated>2005-03-08T03:49:40Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
# Show side chain sticks for aromatic residues&lt;br /&gt;
#&lt;br /&gt;
# (script for PyMol)&lt;br /&gt;
# Tom Stout, 08/05/2004&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
mstop&lt;br /&gt;
dss&lt;br /&gt;
hide all&lt;br /&gt;
#zoom all&lt;br /&gt;
#orient&lt;br /&gt;
show cartoon,all&lt;br /&gt;
color gray,all&lt;br /&gt;
&lt;br /&gt;
select aromatics,(resn phe+tyr+trp+his)&lt;br /&gt;
show sticks, (aromatics and (!name c+n+o))&lt;br /&gt;
color green,aromatics&lt;br /&gt;
disable aromatics&lt;br /&gt;
set cartoon_smooth_loops,0&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting_Script_Library|Show Aromatics]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User_talk:Philaltist&amp;diff=10754</id>
		<title>User talk:Philaltist</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User_talk:Philaltist&amp;diff=10754"/>
		<updated>2005-03-06T04:33:32Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everyone !&lt;br /&gt;
&lt;br /&gt;
I have created a script because I was tired of browsing the pdb for endless searches of structures relevant to my field. This scripts takes as input a text file in which you copied your favourite keywords, and the number of days you want to search back (by default, it will look at the structures added the last 50 days). It generates a report text file that contains the pdb id and name of the relevant structures that have been recently added. All you need to do is add 'run pdbsurvey.py' to your startup file, and create a text file called 'keywords.txt' with your keywords separated by an end-of-line character. Then you're ready to go. Just hit 'pdbsurvey' from within your PyMol instance, and the program returns the report file. The pdb ftp server is updated every tuesday.&lt;br /&gt;
&lt;br /&gt;
I am still new to wiki, so I don't know yet how to upload this script. Could someone help ?&lt;br /&gt;
&lt;br /&gt;
P.S. Here's the script in raw text format :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
&lt;br /&gt;
def pdbsurvey(days=50):&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;USAGE : pdbsurvey (&amp;lt;days&amp;gt;)&lt;br /&gt;
    Surveys the updates added to the PDB (ftp.rcsb.org) in the last&lt;br /&gt;
    50 days (or otherwise specified when calling this function) for&lt;br /&gt;
    entries that contain the words specified in the file&lt;br /&gt;
    keywords.txt.&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    print days&lt;br /&gt;
&lt;br /&gt;
    import ftplib&lt;br /&gt;
    import time&lt;br /&gt;
    import os&lt;br /&gt;
    import string&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def todaymerge():&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Puts today's date in a pdb format string.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        date=time.localtime()&lt;br /&gt;
        fyear=&amp;quot;%i&amp;quot; %(date[0])&lt;br /&gt;
        fmonth=&amp;quot;%i&amp;quot; %(date[1])&lt;br /&gt;
        if date[1]&amp;lt;10:&lt;br /&gt;
            fmonth=&amp;quot;0&amp;quot;+&amp;quot;%i&amp;quot; %(date[1])&lt;br /&gt;
        fday=&amp;quot;%i&amp;quot; %(date[2])&lt;br /&gt;
        if date[2]&amp;lt;10:&lt;br /&gt;
            fday=&amp;quot;0&amp;quot;+&amp;quot;%i&amp;quot; %(date[2])&lt;br /&gt;
        dateS=fyear+fmonth+fday&lt;br /&gt;
        return dateS&lt;br /&gt;
&lt;br /&gt;
    def file2list(filename):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Low-level routine to brainlessly implement&lt;br /&gt;
        file.read().&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        fq=open(filename,'rb')&lt;br /&gt;
        linesS=fq.read()&lt;br /&gt;
        fq.close()&lt;br /&gt;
        LIST=linesS.splitlines()&lt;br /&gt;
        return LIST&lt;br /&gt;
&lt;br /&gt;
    def connect2pdb():&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Opens an anonymous socket to ftp://ftp.rcsb.org&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        f=ftplib.FTP()&lt;br /&gt;
        f.connect ('ftp.rcsb.org')&lt;br /&gt;
        f.login ()&lt;br /&gt;
        print &amp;quot;Remote connection established&amp;quot;,&amp;quot;\n&amp;quot;&lt;br /&gt;
        return f&lt;br /&gt;
&lt;br /&gt;
    def decrementdate(dateS):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;given a string date (pdb format yyyymmdd)&lt;br /&gt;
        this routine returns a string of the day before&lt;br /&gt;
        (sadly assuming that every month has 31 days, but&lt;br /&gt;
        no big deal here...).&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        #decompose dateS into components&lt;br /&gt;
        yearS=dateS[0]+dateS[1]+dateS[2]+dateS[3]&lt;br /&gt;
        monthS=dateS[4]+dateS[5]&lt;br /&gt;
        dayS=dateS[6]+dateS[7]&lt;br /&gt;
&lt;br /&gt;
        #convert each into integers&lt;br /&gt;
        yearI=int(yearS)&lt;br /&gt;
        monthI=int(monthS)&lt;br /&gt;
        dayI=int(dayS)&lt;br /&gt;
&lt;br /&gt;
        #actual stuff&lt;br /&gt;
        dayI=dayI-1&lt;br /&gt;
        if dayI==0:&lt;br /&gt;
            dayI=31&lt;br /&gt;
            monthI=monthI-1&lt;br /&gt;
            if monthI==0:&lt;br /&gt;
                monthI=12&lt;br /&gt;
                yearI=yearI-1&lt;br /&gt;
        dayS=&amp;quot;%i&amp;quot; %(dayI)&lt;br /&gt;
        monthS=&amp;quot;%i&amp;quot; %(monthI)&lt;br /&gt;
        yearS=&amp;quot;%i&amp;quot; %(yearI)&lt;br /&gt;
        if dayI&amp;lt;10:&lt;br /&gt;
            dayS=&amp;quot;0&amp;quot;+dayS&lt;br /&gt;
        if monthI&amp;lt;10:&lt;br /&gt;
            monthS=&amp;quot;0&amp;quot;+monthS&lt;br /&gt;
        #and finally...&lt;br /&gt;
        dateS=yearS+monthS+dayS&lt;br /&gt;
        return dateS&lt;br /&gt;
&lt;br /&gt;
    def findlastdir(dateS,f,days):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Puts the names of the &amp;quot;recent&amp;quot; directories in the&lt;br /&gt;
        list named &amp;quot;directoriesL&amp;quot;.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        directoriesL=['']&lt;br /&gt;
        j=p=0&lt;br /&gt;
        while p&amp;lt;days:&lt;br /&gt;
            dateS=decrementdate(dateS)&lt;br /&gt;
            attempt=&amp;quot;/pub/pdb/data/status/&amp;quot;+dateS&lt;br /&gt;
            try :&lt;br /&gt;
                f.cwd(attempt)&lt;br /&gt;
                directoriesL[j:j]=[attempt]&lt;br /&gt;
                j=j+1&lt;br /&gt;
            except :&lt;br /&gt;
                pass&lt;br /&gt;
            p=p+1&lt;br /&gt;
        directoriesL.pop()&lt;br /&gt;
        return directoriesL&lt;br /&gt;
&lt;br /&gt;
    def compilinfile(directoriesL,f):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;lists all structures in the added.pdb files&lt;br /&gt;
        contained in the directories specified in directoriesL&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        command=&amp;quot;RETR added.pdb&amp;quot;&lt;br /&gt;
        handle=open(&amp;quot;donotedit.dat&amp;quot;,&amp;quot;wrb&amp;quot;)&lt;br /&gt;
        for k in directoriesL:&lt;br /&gt;
            f.cwd(k)&lt;br /&gt;
            print &amp;quot;Currently in directory &amp;quot;,f.pwd()&lt;br /&gt;
            f.retrbinary(command,handle.write)&lt;br /&gt;
        handle.close()&lt;br /&gt;
        return len(directoriesL)&lt;br /&gt;
&lt;br /&gt;
    def listparser():&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Extracts the pdbids from donotedit.dat file,&lt;br /&gt;
        and stacks them into the list pdbidsL&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        linesL=file2list(&amp;quot;donotedit.dat&amp;quot;)&lt;br /&gt;
        pdbidsL=[]&lt;br /&gt;
        for iter in linesL:&lt;br /&gt;
            pdbidsL.append(iter[57:61])&lt;br /&gt;
        for iter in pdbidsL:&lt;br /&gt;
            iter=string.lower(iter)&lt;br /&gt;
        pdbidsL.sort()&lt;br /&gt;
        return pdbidsL&lt;br /&gt;
&lt;br /&gt;
    def currentrelease(f):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Stores the content of cmpd_res.idx file&lt;br /&gt;
        This file contains the equivalencies pdbid&amp;lt;-&amp;gt;title&lt;br /&gt;
        for all current entries of the PDB.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        command=&amp;quot;RETR cmpd_res.idx&amp;quot;&lt;br /&gt;
        f.cwd(&amp;quot;/pub/pdb/derived_data/index/&amp;quot;)&lt;br /&gt;
        print &amp;quot;Currently in directory &amp;quot;,f.pwd()&lt;br /&gt;
        fq=open(&amp;quot;dictionnary.dat&amp;quot;,'wrb')&lt;br /&gt;
        f.retrbinary(command,fq.write)&lt;br /&gt;
        fq.close()&lt;br /&gt;
        dictL=file2list(&amp;quot;dictionnary.dat&amp;quot;)&lt;br /&gt;
        return dictL&lt;br /&gt;
&lt;br /&gt;
    def extract(pdbidsL,dictL):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Populates dictionnaryD with pdb entries found in the&lt;br /&gt;
        latest releases.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        dictionnaryD={}&lt;br /&gt;
        problemL=[]&lt;br /&gt;
        extractL=[dictionnaryD,problemL]&lt;br /&gt;
        for i in dictL:&lt;br /&gt;
            tempS=string.lower(i[0:4])&lt;br /&gt;
            for ii in pdbidsL:&lt;br /&gt;
                if ii == tempS:&lt;br /&gt;
                    title=i[14:216]&lt;br /&gt;
                    extractL[0][ii]=title&lt;br /&gt;
        if len(extractL[0].keys()) != len(pdbidsL):&lt;br /&gt;
            print &amp;quot;Dimension mismatch, seeking troublemaker...&amp;quot;&lt;br /&gt;
            for i in pdbidsL:&lt;br /&gt;
                equiv=0&lt;br /&gt;
                for ii in extractL[0].keys():&lt;br /&gt;
                    if i==ii:&lt;br /&gt;
                        equiv=equiv+1&lt;br /&gt;
                if equiv==0:&lt;br /&gt;
                    extractL[1].append(i)&lt;br /&gt;
        return extractL&lt;br /&gt;
&lt;br /&gt;
    def disconnectpdb(f):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Diconnects the current ftp session&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        f.quit()&lt;br /&gt;
        print &amp;quot;Remote connection terminated&amp;quot;,&amp;quot;\n&amp;quot;&lt;br /&gt;
        return f&lt;br /&gt;
&lt;br /&gt;
    def releventries(dictionnaryD):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Generates a cleaned dictionnary with only entries&lt;br /&gt;
        that have one or more keywords specified in the local&lt;br /&gt;
        user-defined keywords.txt file&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        keywL=file2list(&amp;quot;keywords.txt&amp;quot;)&lt;br /&gt;
        relevdicD={}&lt;br /&gt;
        for i in keywL:&lt;br /&gt;
            for elem in dictionnaryD.keys():&lt;br /&gt;
                temp=dictionnaryD[elem]&lt;br /&gt;
                if temp.find(i) != -1:&lt;br /&gt;
                    relevdicD[elem]=temp&lt;br /&gt;
        return relevdicD&lt;br /&gt;
&lt;br /&gt;
    def diskcleanup(filelist=[&amp;quot;donotedit.dat&amp;quot;,&amp;quot;dictionnary.dat&amp;quot;]):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Lo-level disk cleanup to free up memory without the user&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        for filename in filelist:&lt;br /&gt;
            command='DEL '+filename&lt;br /&gt;
            os.system(command)&lt;br /&gt;
        return &amp;quot;clean&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Welcome in the auto-PDB updater !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Survey of updates made since&amp;quot;,days,&amp;quot;days ago.&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    print &amp;quot;Acquisition of local time...&amp;quot;&lt;br /&gt;
    dateS=todaymerge()                                                 #Initializes dateS&lt;br /&gt;
    print &amp;quot;today is &amp;quot;,dateS&lt;br /&gt;
    print &amp;quot;Connecting to remote ftp server...&amp;quot;&lt;br /&gt;
    f=connect2pdb()                                                    #Connect anonymously to ftp.rcsb.org&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Acquisition of latest added remote directories...&amp;quot;&lt;br /&gt;
    directoriesL=findlastdir(dateS,f,days)                             #Lists recent directories in directoriesL&lt;br /&gt;
    if len(directoriesL)==0:&lt;br /&gt;
        print &amp;quot;No updates have been found since&amp;quot;,days,&amp;quot;ago. Starting over with 50 days ago.&amp;quot;&lt;br /&gt;
        directoriesL=findlastdir(dateS,f,50)&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Acquisition of latest addedremote files...&amp;quot;&lt;br /&gt;
    updatesnumberI=compilinfile(directoriesL,f)                        #Concatenates the corresponding added.pdb into donotedit.dat&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Parsing of latest entries...&amp;quot;&lt;br /&gt;
    pdbidsL=listparser()                                               #Recent names now present in the pdbidsL list (one name per element)&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Acquisition of the current pdb distribution...&amp;quot;&lt;br /&gt;
    dictL=currentrelease(f)                                            #Populates dictL with the current entries of the PDB&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Parsing of the current pdb distribution into [code,title] tuples...&amp;quot;&lt;br /&gt;
    extractL=extract(pdbidsL,dictL)                                    #generates the dictionnary of latest releases key:PDBid ; definition:pdbtitle&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Disconnection from the remote ftp server...&amp;quot;&lt;br /&gt;
    f=disconnectpdb(f)                                                 #Closes the ftp instance&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Extraction of the relevant entries...&amp;quot;&lt;br /&gt;
    relevdicD=releventries(extractL[0])                               #Generates a subset of dictionnary D with criterion being &amp;quot;has keywords contained in keywords.txt in its title&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Cleaning program-generated temporary files...&amp;quot;&lt;br /&gt;
    clean=diskcleanup()                                                #Cleans the mess generated by the program&lt;br /&gt;
&lt;br /&gt;
    reportL=[]&lt;br /&gt;
    reportL.append(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;###############REPORT########################################\n&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    lendictS=&amp;quot;%i&amp;quot; %(len(dictL))&lt;br /&gt;
    chmilblik = 'The current pdb version (as of '+dateS+&amp;quot;) has &amp;quot;+lendictS+&amp;quot; entries.\n&amp;quot;&lt;br /&gt;
    reportL.append(chmilblik)&lt;br /&gt;
    line=&amp;quot;The most recent directory is : &amp;quot;+directoriesL[0]+&amp;quot;.\n&amp;quot;&lt;br /&gt;
    reportL.append(line)&lt;br /&gt;
    updatesnumberS=&amp;quot;%i&amp;quot; %(updatesnumberI)&lt;br /&gt;
    entriesnumber=&amp;quot;%i&amp;quot; %(len(extractL[0].keys()))&lt;br /&gt;
    line=&amp;quot;The &amp;quot;+updatesnumberS+&amp;quot; last updates (&amp;quot;+entriesnumber+&amp;quot; entries) have been examined.\n&amp;quot;&lt;br /&gt;
    reportL.append(line)&lt;br /&gt;
    diclengthS=&amp;quot;%i&amp;quot; %(len(relevdicD.keys()))&lt;br /&gt;
    line=diclengthS+&amp;quot; are relevant to you :\n&amp;quot;&lt;br /&gt;
    reportL.append(line)&lt;br /&gt;
    for i in relevdicD.keys():&lt;br /&gt;
        entry=i+&amp;quot; : &amp;quot;+relevdicD[i]+&amp;quot;\n&amp;quot;&lt;br /&gt;
        reportL.append(entry)&lt;br /&gt;
    problemS=&amp;quot;&amp;quot;&lt;br /&gt;
    for i in extractL[1]:&lt;br /&gt;
        problemS=i+&amp;quot;;&amp;quot;+problemS&lt;br /&gt;
    problemS=&amp;quot;[&amp;quot;+problemS&lt;br /&gt;
    problemS=problemS.strip(&amp;quot;;&amp;quot;)&lt;br /&gt;
    problemS=problemS+&amp;quot;]&amp;quot;&lt;br /&gt;
    lineS=&amp;quot;The entries &amp;quot;+problemS+&amp;quot; raised problems,&amp;quot;&lt;br /&gt;
    reportL.append(lineS)&lt;br /&gt;
    reportL.append(&amp;quot;they should be examined manually.&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;###############END OF REPORT#################################\n&amp;quot;)&lt;br /&gt;
    report=open(&amp;quot;report.aut&amp;quot;,&amp;quot;w&amp;quot;)&lt;br /&gt;
    for elem in reportL:&lt;br /&gt;
        print elem&lt;br /&gt;
        elem=elem+'\n'&lt;br /&gt;
        report.writelines(elem)&lt;br /&gt;
    report.close()&lt;br /&gt;
    command2='start keywords.txt'&lt;br /&gt;
    command3='start report.aut'&lt;br /&gt;
    os.system(command2)&lt;br /&gt;
    os.system(command3)&lt;br /&gt;
&lt;br /&gt;
cmd.extend(&amp;quot;pdbsurvey&amp;quot;,pdbsurvey)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Philaltist,&lt;br /&gt;
&lt;br /&gt;
To make scripts available to folks, the simplest method is to upload the script as you did and then just wrap the script in &amp;amp;lt;python&amp;amp;gt; and &amp;amp;lt;/python&amp;amp;gt; code.  Look at what I did to your code for an example.  If you want line numbers in your code, use &amp;quot;npython&amp;quot; instead of &amp;quot;python&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
-- tree&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User_talk:Philaltist&amp;diff=10753</id>
		<title>User talk:Philaltist</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User_talk:Philaltist&amp;diff=10753"/>
		<updated>2005-03-06T04:30:15Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi everyone !&lt;br /&gt;
&lt;br /&gt;
I have created a script because I was tired of browsing the pdb for endless searches of structures relevant to my field. This scripts takes as input a text file in which you copied your favourite keywords, and the number of days you want to search back (by default, it will look at the structures added the last 50 days). It generates a report text file that contains the pdb id and name of the relevant structures that have been recently added. All you need to do is add 'run pdbsurvey.py' to your startup file, and create a text file called 'keywords.txt' with your keywords separated by an end-of-line character. Then you're ready to go. Just hit 'pdbsurvey' from within your PyMol instance, and the program returns the report file. The pdb ftp server is updated every tuesday.&lt;br /&gt;
&lt;br /&gt;
I am still new to wiki, so I don't know yet how to upload this script. Could someone help ?&lt;br /&gt;
&lt;br /&gt;
P.S. Here's the script in raw text format :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
&lt;br /&gt;
def pdbsurvey(days=50):&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;USAGE : pdbsurvey (&amp;lt;days&amp;gt;)&lt;br /&gt;
    Surveys the updates added to the PDB (ftp.rcsb.org) in the last&lt;br /&gt;
    50 days (or otherwise specified when calling this function) for&lt;br /&gt;
    entries that contain the words specified in the file&lt;br /&gt;
    keywords.txt.&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    print days&lt;br /&gt;
&lt;br /&gt;
    import ftplib&lt;br /&gt;
    import time&lt;br /&gt;
    import os&lt;br /&gt;
    import string&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def todaymerge():&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Puts today's date in a pdb format string.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        date=time.localtime()&lt;br /&gt;
        fyear=&amp;quot;%i&amp;quot; %(date[0])&lt;br /&gt;
        fmonth=&amp;quot;%i&amp;quot; %(date[1])&lt;br /&gt;
        if date[1]&amp;lt;10:&lt;br /&gt;
            fmonth=&amp;quot;0&amp;quot;+&amp;quot;%i&amp;quot; %(date[1])&lt;br /&gt;
        fday=&amp;quot;%i&amp;quot; %(date[2])&lt;br /&gt;
        if date[2]&amp;lt;10:&lt;br /&gt;
            fday=&amp;quot;0&amp;quot;+&amp;quot;%i&amp;quot; %(date[2])&lt;br /&gt;
        dateS=fyear+fmonth+fday&lt;br /&gt;
        return dateS&lt;br /&gt;
&lt;br /&gt;
    def file2list(filename):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Low-level routine to brainlessly implement&lt;br /&gt;
        file.read().&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        fq=open(filename,'rb')&lt;br /&gt;
        linesS=fq.read()&lt;br /&gt;
        fq.close()&lt;br /&gt;
        LIST=linesS.splitlines()&lt;br /&gt;
        return LIST&lt;br /&gt;
&lt;br /&gt;
    def connect2pdb():&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Opens an anonymous socket to ftp://ftp.rcsb.org&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        f=ftplib.FTP()&lt;br /&gt;
        f.connect ('ftp.rcsb.org')&lt;br /&gt;
        f.login ()&lt;br /&gt;
        print &amp;quot;Remote connection established&amp;quot;,&amp;quot;\n&amp;quot;&lt;br /&gt;
        return f&lt;br /&gt;
&lt;br /&gt;
    def decrementdate(dateS):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;given a string date (pdb format yyyymmdd)&lt;br /&gt;
        this routine returns a string of the day before&lt;br /&gt;
        (sadly assuming that every month has 31 days, but&lt;br /&gt;
        no big deal here...).&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        #decompose dateS into components&lt;br /&gt;
        yearS=dateS[0]+dateS[1]+dateS[2]+dateS[3]&lt;br /&gt;
        monthS=dateS[4]+dateS[5]&lt;br /&gt;
        dayS=dateS[6]+dateS[7]&lt;br /&gt;
&lt;br /&gt;
        #convert each into integers&lt;br /&gt;
        yearI=int(yearS)&lt;br /&gt;
        monthI=int(monthS)&lt;br /&gt;
        dayI=int(dayS)&lt;br /&gt;
&lt;br /&gt;
        #actual stuff&lt;br /&gt;
        dayI=dayI-1&lt;br /&gt;
        if dayI==0:&lt;br /&gt;
            dayI=31&lt;br /&gt;
            monthI=monthI-1&lt;br /&gt;
            if monthI==0:&lt;br /&gt;
                monthI=12&lt;br /&gt;
                yearI=yearI-1&lt;br /&gt;
        dayS=&amp;quot;%i&amp;quot; %(dayI)&lt;br /&gt;
        monthS=&amp;quot;%i&amp;quot; %(monthI)&lt;br /&gt;
        yearS=&amp;quot;%i&amp;quot; %(yearI)&lt;br /&gt;
        if dayI&amp;lt;10:&lt;br /&gt;
            dayS=&amp;quot;0&amp;quot;+dayS&lt;br /&gt;
        if monthI&amp;lt;10:&lt;br /&gt;
            monthS=&amp;quot;0&amp;quot;+monthS&lt;br /&gt;
        #and finally...&lt;br /&gt;
        dateS=yearS+monthS+dayS&lt;br /&gt;
        return dateS&lt;br /&gt;
&lt;br /&gt;
    def findlastdir(dateS,f,days):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Puts the names of the &amp;quot;recent&amp;quot; directories in the&lt;br /&gt;
        list named &amp;quot;directoriesL&amp;quot;.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        directoriesL=['']&lt;br /&gt;
        j=p=0&lt;br /&gt;
        while p&amp;lt;days:&lt;br /&gt;
            dateS=decrementdate(dateS)&lt;br /&gt;
            attempt=&amp;quot;/pub/pdb/data/status/&amp;quot;+dateS&lt;br /&gt;
            try :&lt;br /&gt;
                f.cwd(attempt)&lt;br /&gt;
                directoriesL[j:j]=[attempt]&lt;br /&gt;
                j=j+1&lt;br /&gt;
            except :&lt;br /&gt;
                pass&lt;br /&gt;
            p=p+1&lt;br /&gt;
        directoriesL.pop()&lt;br /&gt;
        return directoriesL&lt;br /&gt;
&lt;br /&gt;
    def compilinfile(directoriesL,f):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;lists all structures in the added.pdb files&lt;br /&gt;
        contained in the directories specified in directoriesL&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        command=&amp;quot;RETR added.pdb&amp;quot;&lt;br /&gt;
        handle=open(&amp;quot;donotedit.dat&amp;quot;,&amp;quot;wrb&amp;quot;)&lt;br /&gt;
        for k in directoriesL:&lt;br /&gt;
            f.cwd(k)&lt;br /&gt;
            print &amp;quot;Currently in directory &amp;quot;,f.pwd()&lt;br /&gt;
            f.retrbinary(command,handle.write)&lt;br /&gt;
        handle.close()&lt;br /&gt;
        return len(directoriesL)&lt;br /&gt;
&lt;br /&gt;
    def listparser():&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Extracts the pdbids from donotedit.dat file,&lt;br /&gt;
        and stacks them into the list pdbidsL&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        linesL=file2list(&amp;quot;donotedit.dat&amp;quot;)&lt;br /&gt;
        pdbidsL=[]&lt;br /&gt;
        for iter in linesL:&lt;br /&gt;
            pdbidsL.append(iter[57:61])&lt;br /&gt;
        for iter in pdbidsL:&lt;br /&gt;
            iter=string.lower(iter)&lt;br /&gt;
        pdbidsL.sort()&lt;br /&gt;
        return pdbidsL&lt;br /&gt;
&lt;br /&gt;
    def currentrelease(f):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Stores the content of cmpd_res.idx file&lt;br /&gt;
        This file contains the equivalencies pdbid&amp;lt;-&amp;gt;title&lt;br /&gt;
        for all current entries of the PDB.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        command=&amp;quot;RETR cmpd_res.idx&amp;quot;&lt;br /&gt;
        f.cwd(&amp;quot;/pub/pdb/derived_data/index/&amp;quot;)&lt;br /&gt;
        print &amp;quot;Currently in directory &amp;quot;,f.pwd()&lt;br /&gt;
        fq=open(&amp;quot;dictionnary.dat&amp;quot;,'wrb')&lt;br /&gt;
        f.retrbinary(command,fq.write)&lt;br /&gt;
        fq.close()&lt;br /&gt;
        dictL=file2list(&amp;quot;dictionnary.dat&amp;quot;)&lt;br /&gt;
        return dictL&lt;br /&gt;
&lt;br /&gt;
    def extract(pdbidsL,dictL):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Populates dictionnaryD with pdb entries found in the&lt;br /&gt;
        latest releases.&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        dictionnaryD={}&lt;br /&gt;
        problemL=[]&lt;br /&gt;
        extractL=[dictionnaryD,problemL]&lt;br /&gt;
        for i in dictL:&lt;br /&gt;
            tempS=string.lower(i[0:4])&lt;br /&gt;
            for ii in pdbidsL:&lt;br /&gt;
                if ii == tempS:&lt;br /&gt;
                    title=i[14:216]&lt;br /&gt;
                    extractL[0][ii]=title&lt;br /&gt;
        if len(extractL[0].keys()) != len(pdbidsL):&lt;br /&gt;
            print &amp;quot;Dimension mismatch, seeking troublemaker...&amp;quot;&lt;br /&gt;
            for i in pdbidsL:&lt;br /&gt;
                equiv=0&lt;br /&gt;
                for ii in extractL[0].keys():&lt;br /&gt;
                    if i==ii:&lt;br /&gt;
                        equiv=equiv+1&lt;br /&gt;
                if equiv==0:&lt;br /&gt;
                    extractL[1].append(i)&lt;br /&gt;
        return extractL&lt;br /&gt;
&lt;br /&gt;
    def disconnectpdb(f):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Diconnects the current ftp session&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        f.quit()&lt;br /&gt;
        print &amp;quot;Remote connection terminated&amp;quot;,&amp;quot;\n&amp;quot;&lt;br /&gt;
        return f&lt;br /&gt;
&lt;br /&gt;
    def releventries(dictionnaryD):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Generates a cleaned dictionnary with only entries&lt;br /&gt;
        that have one or more keywords specified in the local&lt;br /&gt;
        user-defined keywords.txt file&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        keywL=file2list(&amp;quot;keywords.txt&amp;quot;)&lt;br /&gt;
        relevdicD={}&lt;br /&gt;
        for i in keywL:&lt;br /&gt;
            for elem in dictionnaryD.keys():&lt;br /&gt;
                temp=dictionnaryD[elem]&lt;br /&gt;
                if temp.find(i) != -1:&lt;br /&gt;
                    relevdicD[elem]=temp&lt;br /&gt;
        return relevdicD&lt;br /&gt;
&lt;br /&gt;
    def diskcleanup(filelist=[&amp;quot;donotedit.dat&amp;quot;,&amp;quot;dictionnary.dat&amp;quot;]):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;Lo-level disk cleanup to free up memory without the user&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        for filename in filelist:&lt;br /&gt;
            command='DEL '+filename&lt;br /&gt;
            os.system(command)&lt;br /&gt;
        return &amp;quot;clean&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Welcome in the auto-PDB updater !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Survey of updates made since&amp;quot;,days,&amp;quot;days ago.&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    print &amp;quot;Acquisition of local time...&amp;quot;&lt;br /&gt;
    dateS=todaymerge()                                                 #Initializes dateS&lt;br /&gt;
    print &amp;quot;today is &amp;quot;,dateS&lt;br /&gt;
    print &amp;quot;Connecting to remote ftp server...&amp;quot;&lt;br /&gt;
    f=connect2pdb()                                                    #Connect anonymously to ftp.rcsb.org&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Acquisition of latest added remote directories...&amp;quot;&lt;br /&gt;
    directoriesL=findlastdir(dateS,f,days)                             #Lists recent directories in directoriesL&lt;br /&gt;
    if len(directoriesL)==0:&lt;br /&gt;
        print &amp;quot;No updates have been found since&amp;quot;,days,&amp;quot;ago. Starting over with 50 days ago.&amp;quot;&lt;br /&gt;
        directoriesL=findlastdir(dateS,f,50)&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Acquisition of latest addedremote files...&amp;quot;&lt;br /&gt;
    updatesnumberI=compilinfile(directoriesL,f)                        #Concatenates the corresponding added.pdb into donotedit.dat&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Parsing of latest entries...&amp;quot;&lt;br /&gt;
    pdbidsL=listparser()                                               #Recent names now present in the pdbidsL list (one name per element)&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Acquisition of the current pdb distribution...&amp;quot;&lt;br /&gt;
    dictL=currentrelease(f)                                            #Populates dictL with the current entries of the PDB&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Parsing of the current pdb distribution into [code,title] tuples...&amp;quot;&lt;br /&gt;
    extractL=extract(pdbidsL,dictL)                                    #generates the dictionnary of latest releases key:PDBid ; definition:pdbtitle&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Disconnection from the remote ftp server...&amp;quot;&lt;br /&gt;
    f=disconnectpdb(f)                                                 #Closes the ftp instance&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Extraction of the relevant entries...&amp;quot;&lt;br /&gt;
    relevdicD=releventries(extractL[0])                               #Generates a subset of dictionnary D with criterion being &amp;quot;has keywords contained in keywords.txt in its title&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    print &amp;quot;Cleaning program-generated temporary files...&amp;quot;&lt;br /&gt;
    clean=diskcleanup()                                                #Cleans the mess generated by the program&lt;br /&gt;
&lt;br /&gt;
    reportL=[]&lt;br /&gt;
    reportL.append(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;###############REPORT########################################\n&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    lendictS=&amp;quot;%i&amp;quot; %(len(dictL))&lt;br /&gt;
    chmilblik = 'The current pdb version (as of '+dateS+&amp;quot;) has &amp;quot;+lendictS+&amp;quot; entries.\n&amp;quot;&lt;br /&gt;
    reportL.append(chmilblik)&lt;br /&gt;
    line=&amp;quot;The most recent directory is : &amp;quot;+directoriesL[0]+&amp;quot;.\n&amp;quot;&lt;br /&gt;
    reportL.append(line)&lt;br /&gt;
    updatesnumberS=&amp;quot;%i&amp;quot; %(updatesnumberI)&lt;br /&gt;
    entriesnumber=&amp;quot;%i&amp;quot; %(len(extractL[0].keys()))&lt;br /&gt;
    line=&amp;quot;The &amp;quot;+updatesnumberS+&amp;quot; last updates (&amp;quot;+entriesnumber+&amp;quot; entries) have been examined.\n&amp;quot;&lt;br /&gt;
    reportL.append(line)&lt;br /&gt;
    diclengthS=&amp;quot;%i&amp;quot; %(len(relevdicD.keys()))&lt;br /&gt;
    line=diclengthS+&amp;quot; are relevant to you :\n&amp;quot;&lt;br /&gt;
    reportL.append(line)&lt;br /&gt;
    for i in relevdicD.keys():&lt;br /&gt;
        entry=i+&amp;quot; : &amp;quot;+relevdicD[i]+&amp;quot;\n&amp;quot;&lt;br /&gt;
        reportL.append(entry)&lt;br /&gt;
    problemS=&amp;quot;&amp;quot;&lt;br /&gt;
    for i in extractL[1]:&lt;br /&gt;
        problemS=i+&amp;quot;;&amp;quot;+problemS&lt;br /&gt;
    problemS=&amp;quot;[&amp;quot;+problemS&lt;br /&gt;
    problemS=problemS.strip(&amp;quot;;&amp;quot;)&lt;br /&gt;
    problemS=problemS+&amp;quot;]&amp;quot;&lt;br /&gt;
    lineS=&amp;quot;The entries &amp;quot;+problemS+&amp;quot; raised problems,&amp;quot;&lt;br /&gt;
    reportL.append(lineS)&lt;br /&gt;
    reportL.append(&amp;quot;they should be examined manually.&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;\n&amp;quot;)&lt;br /&gt;
    reportL.append(&amp;quot;###############END OF REPORT#################################\n&amp;quot;)&lt;br /&gt;
    report=open(&amp;quot;report.aut&amp;quot;,&amp;quot;w&amp;quot;)&lt;br /&gt;
    for elem in reportL:&lt;br /&gt;
        print elem&lt;br /&gt;
        elem=elem+'\n'&lt;br /&gt;
        report.writelines(elem)&lt;br /&gt;
    report.close()&lt;br /&gt;
    command2='start keywords.txt'&lt;br /&gt;
    command3='start report.aut'&lt;br /&gt;
    os.system(command2)&lt;br /&gt;
    os.system(command3)&lt;br /&gt;
&lt;br /&gt;
cmd.extend(&amp;quot;pdbsurvey&amp;quot;,pdbsurvey)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=3985</id>
		<title>Category:FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=3985"/>
		<updated>2005-03-06T03:25:36Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FAQ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Please post your FAQs here.  I suggest you write a Q&amp;amp;A style list with a short answer.  More involved answers should link to its own page.  Just my suggestion.  Should we have topics?&lt;br /&gt;
&lt;br /&gt;
==FAQs==&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4501</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4501"/>
		<updated>2005-03-06T03:20:02Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* Links of Interest */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* [[TOPTOC|Top Level Table of Contents]]&lt;br /&gt;
* [[:Category:FAQ|Frequently Asked Questions]] -- new!&lt;br /&gt;
&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one! (rTools info!)&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4500</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4500"/>
		<updated>2005-03-06T03:19:31Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* Links of Interest */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* [[TOPTOC|Top Level Table of Contents]]&lt;br /&gt;
* [[:FAQ:FAQ|Frequently Asked Questions]] -- new!&lt;br /&gt;
&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one! (rTools info!)&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10548</id>
		<title>TOPTOC</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10548"/>
		<updated>2005-03-06T03:18:27Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* PyMolWiki Top-Level Table Of Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Section Layout ==&lt;br /&gt;
Please see [[:Talk:Main Page|Discussion]] for more thoughts on the site organizaiton.&lt;br /&gt;
&lt;br /&gt;
== PyMolWiki Top-Level Table Of Contents ==&lt;br /&gt;
# [[:Category:News|News]]&lt;br /&gt;
# [[:Category:FAQ|Frequently Asked Questions]]&lt;br /&gt;
# [[:Category:Brag|Brag]] -- show off your best images or movies.&lt;br /&gt;
## [[:Category:News Discussion|Discussion]]&lt;br /&gt;
## [[:Category:News PyMol Beta|PyMol Beta]]&lt;br /&gt;
# [[:Category:Technical Issues|Technical Issues]]&lt;br /&gt;
## [[:Category:Technical Issues Installation|Installation]]&lt;br /&gt;
### [[:Category:Technical Issues Installation OS Dependent|OS Dependent]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Linux|Linux]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent MAC|MAC]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Windows|Windows]]&lt;br /&gt;
# [[:Category:Launching PyMOL|Launching PyMOL]]&lt;br /&gt;
## [[:Category:Launching PyMOL Command Line Options| Command Line Options]]&lt;br /&gt;
## [[:Category:Launching PyMOL Launching From a Script|Launching From a Script]]&lt;br /&gt;
# [[:Category:Using Pymol|Using PyMol]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Controls|Mouse Controls]]&lt;br /&gt;
## [[:Category:Using Pymol Objects and Selections|Objects and Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Objects|Working with Objects]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Selections|Working with Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Selector Quick Reference|Selector Quick Reference]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Single-word Selectors|Single-word Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Property Selectors|Property Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Algebra|Selection Algebra]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Macros|Selection Macros]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Representations|Representations]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Lines|Lines]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Sticks|Sticks]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Cartoon|Cartoon]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Surface|Surface]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Mesh|Mesh]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Spheres|Spheres]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Dots|Dots]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Color|Color]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Displaying Biochemical Properties|Displaying biochemical properties]]&lt;br /&gt;
## [[:Category:Using Pymol Display Settings|Display Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Stereo 3D Display|Stereo 3D Display]] -- wrong place&lt;br /&gt;
### [[:Category:Using Pymol Hardware Options|Hardware Options]] -- wrong place?&lt;br /&gt;
### [[Linux XFree86 Configuration]] -- wrong place&lt;br /&gt;
## [[:Category:Using Pymol Scenes|Scenes]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Settings|Mouse Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Wizards|Wizards]]&lt;br /&gt;
## [[:Category:Using Pymol Ray-tracing|Ray-tracing]]&lt;br /&gt;
## [[:Category:Using Pymol Settings Reference|Settings Reference]]&lt;br /&gt;
## [[:Category:Using Pymol Movies and Animations|Movies and Animations]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment|Structure Alignment]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment Editor|Structure Alignment Editor]]&lt;br /&gt;
# [[:Category:Commands|Command Language]]&lt;br /&gt;
## [[:Category:Commands PyMOL Command Script|PyMOL Command Script]]&lt;br /&gt;
## [[:Category:Commands PyMOL Python API|PyMOL Python API]]&lt;br /&gt;
# [[:Category:Advanced Issues|Advanced Issues]]&lt;br /&gt;
## [[:Category:Advanced Issues Modeling and Editing Structures|Modeling and editing structures]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Editing atoms|Editing Atoms]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Molecular Sculpting|Molecular sculpting]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Homology Modeling|Homology modeling]]&lt;br /&gt;
## [[:Category:Advanced Issues Image Manipulation|Image Manipulation]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation labels|labels]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Photoshop and GIMP|Photoshop/GIMP]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Stereo Figures|Stereo Figures]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Publication Quatlity Images|Publication-quality images]]&lt;br /&gt;
# [[:Category:Scripting|Scripting]]&lt;br /&gt;
## [[:Category:Scripting Example Scripts|Example Scripts]]&lt;br /&gt;
## [[:Category:Scripting Script Library|Script Library]]&lt;br /&gt;
# [[:Category:Plugins|Plugins]]&lt;br /&gt;
## [[:Category:Plugins Electrostatics and Energy Minimization| How to do electrostatics and energy minimization.]]&lt;br /&gt;
### [[:Category:Plugins Electrostatics and Energy Minimization APBS| APBS Plugin]]&lt;br /&gt;
## [[:Category:Plugins rtools | rtools]]&lt;br /&gt;
## [[:Category:Plugins Tutorial|Tutorial on writing plugins]]&lt;br /&gt;
## [[:Category:Plugins Others| Others]]&lt;br /&gt;
# [[:Category:High-Level Applications|High-Level Applications]]&lt;br /&gt;
## [[:Category:High-Level Applications Crystallography Applications|Crystallography Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications Symmetry|Symmetry]]&lt;br /&gt;
### [[:Category:High-Level Applications Electron Density|Electron Density]]&lt;br /&gt;
## [[:Category:High-Level Applications NMR Applications|NMR Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Working with a Family of Structures|Working with Structure Families]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Superimposition and RMSD|Superimposition and RMSD]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications NMR Restraints Analysis|NMR Restraints and Analysis]]&lt;br /&gt;
# [[:Category:Third Party Software|Third Party Software]]&lt;br /&gt;
## [[:Category:Third Party Software PovRay|PovRay]]&lt;br /&gt;
## [[:Category:Third Party Software Movies|Movies]]&lt;br /&gt;
## [[:Category:Third Party Software Codecs|Codecs]]&lt;br /&gt;
# [[:Category:Python Integration|Python Integration]]&lt;br /&gt;
# [[:Category:Using PyMol For Unintended Uses|Unintended Uses]] (OpenGL Object Renderer)&lt;br /&gt;
## [[:Category:Using PyMol For Unintended Uses Arbitrary Graphics Objects| Arbitrary Graphics Objects]]&lt;br /&gt;
# [[:Category:Uncategorized|Uncategorized]] For new pages, misplaced pages, etc.&lt;br /&gt;
----&lt;br /&gt;
[[User:Tree|Tree]] 02:09, 16 Feb 2005 (CST)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Cartoon_discrete_color1.png&amp;diff=1161</id>
		<title>File:Cartoon discrete color1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Cartoon_discrete_color1.png&amp;diff=1161"/>
		<updated>2005-03-06T02:01:27Z</updated>

		<summary type="html">&lt;p&gt;Tree: Discrete Coloring On&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Discrete Coloring On&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Cartoon_discrete_color0.png&amp;diff=1647</id>
		<title>File:Cartoon discrete color0.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Cartoon_discrete_color0.png&amp;diff=1647"/>
		<updated>2005-03-06T02:00:40Z</updated>

		<summary type="html">&lt;p&gt;Tree: Discrete Coloring Off&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Discrete Coloring Off&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Third_Party_Software&amp;diff=3957</id>
		<title>Category:Third Party Software</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Third_Party_Software&amp;diff=3957"/>
		<updated>2005-03-04T05:59:45Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Third Party Software Information here.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Plugins_rtools&amp;diff=4045</id>
		<title>Category:Plugins rtools</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Plugins_rtools&amp;diff=4045"/>
		<updated>2005-03-04T05:57:59Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Plugins|rTools]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:Using_Pymol&amp;diff=3812</id>
		<title>Category:Using Pymol</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:Using_Pymol&amp;diff=3812"/>
		<updated>2005-03-04T05:42:33Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here you will find basic information about using PyMol.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10547</id>
		<title>TOPTOC</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10547"/>
		<updated>2005-03-02T07:26:44Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* PyMolWiki Top-Level Table Of Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Section Layout ==&lt;br /&gt;
Please see [[:Talk:Main Page|Discussion]] for more thoughts on the site organizaiton.&lt;br /&gt;
&lt;br /&gt;
== PyMolWiki Top-Level Table Of Contents ==&lt;br /&gt;
# [[:Category:News|News]]&lt;br /&gt;
# [[:Category:Brag|Brag]] -- show off your best images or movies.&lt;br /&gt;
## [[:Category:News Discussion|Discussion]]&lt;br /&gt;
## [[:Category:News PyMol Beta|PyMol Beta]]&lt;br /&gt;
# [[:Category:Technical Issues|Technical Issues]]&lt;br /&gt;
## [[:Category:Technical Issues Installation|Installation]]&lt;br /&gt;
### [[:Category:Technical Issues Installation OS Dependent|OS Dependent]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Linux|Linux]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent MAC|MAC]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Windows|Windows]]&lt;br /&gt;
# [[:Category:Launching PyMOL|Launching PyMOL]]&lt;br /&gt;
## [[:Category:Launching PyMOL Command Line Options| Command Line Options]]&lt;br /&gt;
## [[:Category:Launching PyMOL Launching From a Script|Launching From a Script]]&lt;br /&gt;
# [[:Category:Using Pymol|Using PyMol]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Controls|Mouse Controls]]&lt;br /&gt;
## [[:Category:Using Pymol Objects and Selections|Objects and Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Objects|Working with Objects]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Selections|Working with Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Selector Quick Reference|Selector Quick Reference]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Single-word Selectors|Single-word Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Property Selectors|Property Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Algebra|Selection Algebra]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Macros|Selection Macros]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Representations|Representations]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Lines|Lines]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Sticks|Sticks]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Cartoon|Cartoon]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Surface|Surface]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Mesh|Mesh]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Spheres|Spheres]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Dots|Dots]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Color|Color]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Displaying Biochemical Properties|Displaying biochemical properties]]&lt;br /&gt;
## [[:Category:Using Pymol Display Settings|Display Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Stereo 3D Display|Stereo 3D Display]] -- wrong place&lt;br /&gt;
### [[:Category:Using Pymol Hardware Options|Hardware Options]] -- wrong place?&lt;br /&gt;
### [[Linux XFree86 Configuration]] -- wrong place&lt;br /&gt;
## [[:Category:Using Pymol Scenes|Scenes]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Settings|Mouse Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Wizards|Wizards]]&lt;br /&gt;
## [[:Category:Using Pymol Ray-tracing|Ray-tracing]]&lt;br /&gt;
## [[:Category:Using Pymol Settings Reference|Settings Reference]]&lt;br /&gt;
## [[:Category:Using Pymol Movies and Animations|Movies and Animations]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment|Structure Alignment]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment Editor|Structure Alignment Editor]]&lt;br /&gt;
# [[:Category:Commands|Command Language]]&lt;br /&gt;
## [[:Category:Commands PyMOL Command Script|PyMOL Command Script]]&lt;br /&gt;
## [[:Category:Commands PyMOL Python API|PyMOL Python API]]&lt;br /&gt;
# [[:Category:Advanced Issues|Advanced Issues]]&lt;br /&gt;
## [[:Category:Advanced Issues Modeling and Editing Structures|Modeling and editing structures]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Editing atoms|Editing Atoms]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Molecular Sculpting|Molecular sculpting]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Homology Modeling|Homology modeling]]&lt;br /&gt;
## [[:Category:Advanced Issues Image Manipulation|Image Manipulation]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation labels|labels]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Photoshop and GIMP|Photoshop/GIMP]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Stereo Figures|Stereo Figures]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Publication Quatlity Images|Publication-quality images]]&lt;br /&gt;
# [[:Category:Scripting|Scripting]]&lt;br /&gt;
## [[:Category:Scripting Example Scripts|Example Scripts]]&lt;br /&gt;
## [[:Category:Scripting Script Library|Script Library]]&lt;br /&gt;
# [[:Category:Plugins|Plugins]]&lt;br /&gt;
## [[:Category:Plugins Electrostatics and Energy Minimization| How to do electrostatics and energy minimization.]]&lt;br /&gt;
### [[:Category:Plugins Electrostatics and Energy Minimization APBS| APBS Plugin]]&lt;br /&gt;
## [[:Category:Plugins rtools | rtools]]&lt;br /&gt;
## [[:Category:Plugins Tutorial|Tutorial on writing plugins]]&lt;br /&gt;
## [[:Category:Plugins Others| Others]]&lt;br /&gt;
# [[:Category:High-Level Applications|High-Level Applications]]&lt;br /&gt;
## [[:Category:High-Level Applications Crystallography Applications|Crystallography Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications Symmetry|Symmetry]]&lt;br /&gt;
### [[:Category:High-Level Applications Electron Density|Electron Density]]&lt;br /&gt;
## [[:Category:High-Level Applications NMR Applications|NMR Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Working with a Family of Structures|Working with Structure Families]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Superimposition and RMSD|Superimposition and RMSD]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications NMR Restraints Analysis|NMR Restraints and Analysis]]&lt;br /&gt;
# [[:Category:Third Party Software|Third Party Software]]&lt;br /&gt;
## [[:Category:Third Party Software PovRay|PovRay]]&lt;br /&gt;
## [[:Category:Third Party Software Movies|Movies]]&lt;br /&gt;
## [[:Category:Third Party Software Codecs|Codecs]]&lt;br /&gt;
# [[:Category:Python Integration|Python Integration]]&lt;br /&gt;
# [[:Category:Using PyMol For Unintended Uses|Unintended Uses]] (OpenGL Object Renderer)&lt;br /&gt;
## [[:Category:Using PyMol For Unintended Uses Arbitrary Graphics Objects| Arbitrary Graphics Objects]]&lt;br /&gt;
# [[:Category:Uncategorized|Uncategorized]] For new pages, misplaced pages, etc.&lt;br /&gt;
----&lt;br /&gt;
[[User:Tree|Tree]] 02:09, 16 Feb 2005 (CST)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=452</id>
		<title>PyMOLWiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=452"/>
		<updated>2005-03-02T07:19:35Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== CP ==&lt;br /&gt;
Look here for ways to get involved in the PyMolWiki!&lt;br /&gt;
&lt;br /&gt;
Editors, you can upload images for your examples and supporting text!  Check out [[Special:Upload]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Helping ==&lt;br /&gt;
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki&lt;br /&gt;
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].&lt;br /&gt;
&lt;br /&gt;
=== New! GeShi: Syntax Highlighting for Python &amp;amp; More ===&lt;br /&gt;
'''Update''': I have added the option for numbered syntax highlighting and non-numbered.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;Non line-numbered code here&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;npython&amp;gt;line-numbered code here&amp;lt;/npython&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now with line numbers (or not)!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;npython&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/npython&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See [http://qbnz.com/highlighter/index.php The Geshi Home Page]&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=451</id>
		<title>PyMOLWiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=451"/>
		<updated>2005-03-02T07:17:50Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* New! GeShi: Syntax Highlighting for Python &amp;amp; More */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== CP ==&lt;br /&gt;
Look here for ways to get involved in the PyMolWiki!&lt;br /&gt;
&lt;br /&gt;
== Helping ==&lt;br /&gt;
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki&lt;br /&gt;
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].&lt;br /&gt;
&lt;br /&gt;
=== New! GeShi: Syntax Highlighting for Python &amp;amp; More ===&lt;br /&gt;
'''Update''': I have added the option for numbered syntax highlighting and non-numbered.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;Non line-numbered code here&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;npython&amp;gt;line-numbered code here&amp;lt;/npython&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now with line numbers (or not)!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;npython&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/npython&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See [http://qbnz.com/highlighter/index.php The Geshi Home Page]&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=450</id>
		<title>PyMOLWiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=450"/>
		<updated>2005-03-02T07:17:31Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* Helping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== CP ==&lt;br /&gt;
Look here for ways to get involved in the PyMolWiki!&lt;br /&gt;
&lt;br /&gt;
== Helping ==&lt;br /&gt;
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki&lt;br /&gt;
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].&lt;br /&gt;
&lt;br /&gt;
=== New! GeShi: Syntax Highlighting for Python &amp;amp; More ===&lt;br /&gt;
'''Update''': I have added the option for numbered syntax highlighting and non-numbered.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;Non line-numbered code here&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;npython&amp;gt;line-numbered code here&amp;lt;/npython&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now with line numbers!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;npython&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/npython&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See [http://qbnz.com/highlighter/index.php The Geshi Home Page]&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4499</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4499"/>
		<updated>2005-03-02T06:53:34Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* [[TOPTOC|Top Level Table of Contents]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one! (rTools info!)&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4498</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4498"/>
		<updated>2005-03-02T06:28:30Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* [[TOPTOC|Top Level Table of Contents]]&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one! (rTools info!)&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10546</id>
		<title>TOPTOC</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10546"/>
		<updated>2005-03-02T06:27:49Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* Layout Schema */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Section Layout ==&lt;br /&gt;
Please see [[:Talk:Main Page|Discussion]] for more thoughts on the site organizaiton.&lt;br /&gt;
&lt;br /&gt;
== PyMolWiki Top-Level Table Of Contents ==&lt;br /&gt;
# [[:Category:News|News]]&lt;br /&gt;
## [[:Category:News Discussion|Discussion]]&lt;br /&gt;
## [[:Category:News PyMol Beta|PyMol Beta]]&lt;br /&gt;
# [[:Category:Technical Issues|Technical Issues]]&lt;br /&gt;
## [[:Category:Technical Issues Installation|Installation]]&lt;br /&gt;
### [[:Category:Technical Issues Installation OS Dependent|OS Dependent]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Linux|Linux]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent MAC|MAC]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Windows|Windows]]&lt;br /&gt;
# [[:Category:Launching PyMOL|Launching PyMOL]]&lt;br /&gt;
## [[:Category:Launching PyMOL Command Line Options| Command Line Options]]&lt;br /&gt;
## [[:Category:Launching PyMOL Launching From a Script|Launching From a Script]]&lt;br /&gt;
# [[:Category:Using Pymol|Using PyMol]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Controls|Mouse Controls]]&lt;br /&gt;
## [[:Category:Using Pymol Objects and Selections|Objects and Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Objects|Working with Objects]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Selections|Working with Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Selector Quick Reference|Selector Quick Reference]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Single-word Selectors|Single-word Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Property Selectors|Property Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Algebra|Selection Algebra]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Macros|Selection Macros]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Representations|Representations]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Lines|Lines]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Sticks|Sticks]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Cartoon|Cartoon]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Surface|Surface]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Mesh|Mesh]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Spheres|Spheres]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Dots|Dots]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Color|Color]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Displaying Biochemical Properties|Displaying biochemical properties]]&lt;br /&gt;
## [[:Category:Using Pymol Display Settings|Display Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Stereo 3D Display|Stereo 3D Display]] -- wrong place&lt;br /&gt;
### [[:Category:Using Pymol Hardware Options|Hardware Options]] -- wrong place?&lt;br /&gt;
### [[Linux XFree86 Configuration]] -- wrong place&lt;br /&gt;
## [[:Category:Using Pymol Scenes|Scenes]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Settings|Mouse Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Wizards|Wizards]]&lt;br /&gt;
## [[:Category:Using Pymol Ray-tracing|Ray-tracing]]&lt;br /&gt;
## [[:Category:Using Pymol Settings Reference|Settings Reference]]&lt;br /&gt;
## [[:Category:Using Pymol Movies and Animations|Movies and Animations]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment|Structure Alignment]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment Editor|Structure Alignment Editor]]&lt;br /&gt;
# [[:Category:Commands|Command Language]]&lt;br /&gt;
## [[:Category:Commands PyMOL Command Script|PyMOL Command Script]]&lt;br /&gt;
## [[:Category:Commands PyMOL Python API|PyMOL Python API]]&lt;br /&gt;
# [[:Category:Advanced Issues|Advanced Issues]]&lt;br /&gt;
## [[:Category:Advanced Issues Modeling and Editing Structures|Modeling and editing structures]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Editing atoms|Editing Atoms]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Molecular Sculpting|Molecular sculpting]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Homology Modeling|Homology modeling]]&lt;br /&gt;
## [[:Category:Advanced Issues Image Manipulation|Image Manipulation]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation labels|labels]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Photoshop and GIMP|Photoshop/GIMP]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Stereo Figures|Stereo Figures]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Publication Quatlity Images|Publication-quality images]]&lt;br /&gt;
# [[:Category:Scripting|Scripting]]&lt;br /&gt;
## [[:Category:Scripting Example Scripts|Example Scripts]]&lt;br /&gt;
## [[:Category:Scripting Script Library|Script Library]]&lt;br /&gt;
# [[:Category:Plugins|Plugins]]&lt;br /&gt;
## [[:Category:Plugins Electrostatics and Energy Minimization| How to do electrostatics and energy minimization.]]&lt;br /&gt;
### [[:Category:Plugins Electrostatics and Energy Minimization APBS| APBS Plugin]]&lt;br /&gt;
## [[:Category:Plugins rtools | rtools]]&lt;br /&gt;
## [[:Category:Plugins Tutorial|Tutorial on writing plugins]]&lt;br /&gt;
## [[:Category:Plugins Others| Others]]&lt;br /&gt;
# [[:Category:High-Level Applications|High-Level Applications]]&lt;br /&gt;
## [[:Category:High-Level Applications Crystallography Applications|Crystallography Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications Symmetry|Symmetry]]&lt;br /&gt;
### [[:Category:High-Level Applications Electron Density|Electron Density]]&lt;br /&gt;
## [[:Category:High-Level Applications NMR Applications|NMR Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Working with a Family of Structures|Working with Structure Families]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Superimposition and RMSD|Superimposition and RMSD]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications NMR Restraints Analysis|NMR Restraints and Analysis]]&lt;br /&gt;
# [[:Category:Third Party Software|Third Party Software]]&lt;br /&gt;
## [[:Category:Third Party Software PovRay|PovRay]]&lt;br /&gt;
## [[:Category:Third Party Software Movies|Movies]]&lt;br /&gt;
## [[:Category:Third Party Software Codecs|Codecs]]&lt;br /&gt;
# [[:Category:Python Integration|Python Integration]]&lt;br /&gt;
# [[:Category:Using PyMol For Unintended Uses|Unintended Uses]] (OpenGL Object Renderer)&lt;br /&gt;
## [[:Category:Using PyMol For Unintended Uses Arbitrary Graphics Objects| Arbitrary Graphics Objects]]&lt;br /&gt;
# [[:Category:Uncategorized|Uncategorized]] For new pages, misplaced pages, etc.&lt;br /&gt;
----&lt;br /&gt;
[[User:Tree|Tree]] 02:09, 16 Feb 2005 (CST)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10545</id>
		<title>TOPTOC</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=TOPTOC&amp;diff=10545"/>
		<updated>2005-03-02T06:27:21Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Section Layout ==&lt;br /&gt;
Please see [[:Talk:Main Page|Discussion]] for more thoughts on the site organizaiton.&lt;br /&gt;
&lt;br /&gt;
=== Layout Schema ===&lt;br /&gt;
# [[:Category:News|News]]&lt;br /&gt;
## [[:Category:News Discussion|Discussion]]&lt;br /&gt;
## [[:Category:News PyMol Beta|PyMol Beta]]&lt;br /&gt;
# [[:Category:Technical Issues|Technical Issues]]&lt;br /&gt;
## [[:Category:Technical Issues Installation|Installation]]&lt;br /&gt;
### [[:Category:Technical Issues Installation OS Dependent|OS Dependent]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Linux|Linux]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent MAC|MAC]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Windows|Windows]]&lt;br /&gt;
# [[:Category:Launching PyMOL|Launching PyMOL]]&lt;br /&gt;
## [[:Category:Launching PyMOL Command Line Options| Command Line Options]]&lt;br /&gt;
## [[:Category:Launching PyMOL Launching From a Script|Launching From a Script]]&lt;br /&gt;
# [[:Category:Using Pymol|Using PyMol]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Controls|Mouse Controls]]&lt;br /&gt;
## [[:Category:Using Pymol Objects and Selections|Objects and Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Objects|Working with Objects]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Selections|Working with Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Selector Quick Reference|Selector Quick Reference]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Single-word Selectors|Single-word Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Property Selectors|Property Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Algebra|Selection Algebra]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Macros|Selection Macros]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Representations|Representations]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Lines|Lines]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Sticks|Sticks]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Cartoon|Cartoon]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Surface|Surface]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Mesh|Mesh]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Spheres|Spheres]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Dots|Dots]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Color|Color]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Displaying Biochemical Properties|Displaying biochemical properties]]&lt;br /&gt;
## [[:Category:Using Pymol Display Settings|Display Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Stereo 3D Display|Stereo 3D Display]] -- wrong place&lt;br /&gt;
### [[:Category:Using Pymol Hardware Options|Hardware Options]] -- wrong place?&lt;br /&gt;
### [[Linux XFree86 Configuration]] -- wrong place&lt;br /&gt;
## [[:Category:Using Pymol Scenes|Scenes]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Settings|Mouse Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Wizards|Wizards]]&lt;br /&gt;
## [[:Category:Using Pymol Ray-tracing|Ray-tracing]]&lt;br /&gt;
## [[:Category:Using Pymol Settings Reference|Settings Reference]]&lt;br /&gt;
## [[:Category:Using Pymol Movies and Animations|Movies and Animations]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment|Structure Alignment]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment Editor|Structure Alignment Editor]]&lt;br /&gt;
# [[:Category:Commands|Command Language]]&lt;br /&gt;
## [[:Category:Commands PyMOL Command Script|PyMOL Command Script]]&lt;br /&gt;
## [[:Category:Commands PyMOL Python API|PyMOL Python API]]&lt;br /&gt;
# [[:Category:Advanced Issues|Advanced Issues]]&lt;br /&gt;
## [[:Category:Advanced Issues Modeling and Editing Structures|Modeling and editing structures]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Editing atoms|Editing Atoms]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Molecular Sculpting|Molecular sculpting]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Homology Modeling|Homology modeling]]&lt;br /&gt;
## [[:Category:Advanced Issues Image Manipulation|Image Manipulation]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation labels|labels]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Photoshop and GIMP|Photoshop/GIMP]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Stereo Figures|Stereo Figures]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Publication Quatlity Images|Publication-quality images]]&lt;br /&gt;
# [[:Category:Scripting|Scripting]]&lt;br /&gt;
## [[:Category:Scripting Example Scripts|Example Scripts]]&lt;br /&gt;
## [[:Category:Scripting Script Library|Script Library]]&lt;br /&gt;
# [[:Category:Plugins|Plugins]]&lt;br /&gt;
## [[:Category:Plugins Electrostatics and Energy Minimization| How to do electrostatics and energy minimization.]]&lt;br /&gt;
### [[:Category:Plugins Electrostatics and Energy Minimization APBS| APBS Plugin]]&lt;br /&gt;
## [[:Category:Plugins rtools | rtools]]&lt;br /&gt;
## [[:Category:Plugins Tutorial|Tutorial on writing plugins]]&lt;br /&gt;
## [[:Category:Plugins Others| Others]]&lt;br /&gt;
# [[:Category:High-Level Applications|High-Level Applications]]&lt;br /&gt;
## [[:Category:High-Level Applications Crystallography Applications|Crystallography Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications Symmetry|Symmetry]]&lt;br /&gt;
### [[:Category:High-Level Applications Electron Density|Electron Density]]&lt;br /&gt;
## [[:Category:High-Level Applications NMR Applications|NMR Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Working with a Family of Structures|Working with Structure Families]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Superimposition and RMSD|Superimposition and RMSD]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications NMR Restraints Analysis|NMR Restraints and Analysis]]&lt;br /&gt;
# [[:Category:Third Party Software|Third Party Software]]&lt;br /&gt;
## [[:Category:Third Party Software PovRay|PovRay]]&lt;br /&gt;
## [[:Category:Third Party Software Movies|Movies]]&lt;br /&gt;
## [[:Category:Third Party Software Codecs|Codecs]]&lt;br /&gt;
# [[:Category:Python Integration|Python Integration]]&lt;br /&gt;
# [[:Category:Using PyMol For Unintended Uses|Unintended Uses]] (OpenGL Object Renderer)&lt;br /&gt;
## [[:Category:Using PyMol For Unintended Uses Arbitrary Graphics Objects| Arbitrary Graphics Objects]]&lt;br /&gt;
# [[:Category:Uncategorized|Uncategorized]] For new pages, misplaced pages, etc.&lt;br /&gt;
----&lt;br /&gt;
[[User:Tree|Tree]] 02:09, 16 Feb 2005 (CST)&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4497</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4497"/>
		<updated>2005-03-02T06:27:15Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one!&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;br /&gt;
* [[TOPTOC|Top Level Table of Contents]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=449</id>
		<title>PyMOLWiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=449"/>
		<updated>2005-03-02T06:26:42Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* Section Layout */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== CP ==&lt;br /&gt;
Look here for ways to get involved in the PyMolWiki!&lt;br /&gt;
&lt;br /&gt;
== Helping ==&lt;br /&gt;
* A wiki edit/user policy is needed.&lt;br /&gt;
* Graphic design and CSS layout: We need logos, BG images and CSS layout&lt;br /&gt;
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki&lt;br /&gt;
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].&lt;br /&gt;
&lt;br /&gt;
=== Categories/Content ===&lt;br /&gt;
You may now add content to the wiki.  This is a semi-structured wiki in that the categories are pseudo-hierarchically linked.  &lt;br /&gt;
If you feel we're missing a category, please find where it would most logically fit, add it to the main page via the [[Top Level Schema Policy]].&lt;br /&gt;
&lt;br /&gt;
=== New! GeShi: Syntax Highlighting for Python &amp;amp; More ===&lt;br /&gt;
'''Update''': I have added the option for numbered syntax highlighting and non-numbered.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;Non line-numbered code here&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;npython&amp;gt;line-numbered code here&amp;lt;/npython&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We now have a syntax highlighter installed.  It now supports something like 28 programming languages!  When you paste your code simply wrap it in&lt;br /&gt;
&amp;amp;lt;language_name&amp;amp;gt; ... code here ... &amp;amp;lt;/language_name&amp;amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Here's an example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;python&amp;amp;gt;&lt;br /&gt;
  # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;python&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives us the code&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now with line numbers!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;npython&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/npython&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See [http://qbnz.com/highlighter/index.php The Geshi Home Page]&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=448</id>
		<title>PyMOLWiki:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki:Community_Portal&amp;diff=448"/>
		<updated>2005-02-28T17:55:27Z</updated>

		<summary type="html">&lt;p&gt;Tree: /* New! GeShi: Syntax Highlighting for Python &amp;amp; More */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== CP ==&lt;br /&gt;
Look here for ways to get involved in the PyMolWiki!&lt;br /&gt;
&lt;br /&gt;
== Helping ==&lt;br /&gt;
* A wiki edit/user policy is needed.&lt;br /&gt;
* Graphic design and CSS layout: We need logos, BG images and CSS layout&lt;br /&gt;
* Importing the email list content:  We have (lots) of email to sift through, extract data from and import into the Wiki&lt;br /&gt;
* If you feel you have the time to help import data into the PyMol wiki, please email [[User:Tree|Tree]].&lt;br /&gt;
&lt;br /&gt;
=== Categories/Content ===&lt;br /&gt;
You may now add content to the wiki.  This is a semi-structured wiki in that the categories are pseudo-hierarchically linked.  &lt;br /&gt;
If you feel we're missing a category, please find where it would most logically fit, add it to the main page via the [[Top Level Schema Policy]].&lt;br /&gt;
&lt;br /&gt;
== Section Layout ==&lt;br /&gt;
Please see [[:Talk:Main Page|Discussion]] for more thoughts on the site organizaiton.&lt;br /&gt;
&lt;br /&gt;
=== Layout Schema ===&lt;br /&gt;
# [[:Category:News|News]]&lt;br /&gt;
## [[:Category:News Discussion|Discussion]]&lt;br /&gt;
## [[:Category:News PyMol Beta|PyMol Beta]]&lt;br /&gt;
# [[:Category:Technical Issues|Technical Issues]]&lt;br /&gt;
## [[:Category:Technical Issues Installation|Installation]]&lt;br /&gt;
### [[:Category:Technical Issues Installation OS Dependent|OS Dependent]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Linux|Linux]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent MAC|MAC]]&lt;br /&gt;
#### [[:Category:Technical Issues Installation OS Dependent Windows|Windows]]&lt;br /&gt;
# [[:Category:Launching PyMOL|Launching PyMOL]]&lt;br /&gt;
## [[:Category:Launching PyMOL Command Line Options| Command Line Options]]&lt;br /&gt;
## [[:Category:Launching PyMOL Launching From a Script|Launching From a Script]]&lt;br /&gt;
# [[:Category:Using Pymol|Using PyMol]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Controls|Mouse Controls]]&lt;br /&gt;
## [[:Category:Using Pymol Objects and Selections|Objects and Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Objects|Working with Objects]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Working with Selections|Working with Selections]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Selector Quick Reference|Selector Quick Reference]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Single-word Selectors|Single-word Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Property Selectors|Property Selectors]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Algebra|Selection Algebra]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Selector Quick Reference Selection Macros|Selection Macros]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Representations|Representations]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Lines|Lines]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Sticks|Sticks]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Cartoon|Cartoon]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Surface|Surface]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Mesh|Mesh]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Spheres|Spheres]]&lt;br /&gt;
#### [[:Category:Using Pymol Objects and Selections Representations Dots|Dots]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Color|Color]]&lt;br /&gt;
### [[:Category:Using Pymol Objects and Selections Displaying Biochemical Properties|Displaying biochemical properties]]&lt;br /&gt;
## [[:Category:Using Pymol Display Settings|Display Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Stereo 3D Display|Stereo 3D Display]] -- wrong place&lt;br /&gt;
### [[:Category:Using Pymol Hardware Options|Hardware Options]] -- wrong place?&lt;br /&gt;
### [[Linux XFree86 Configuration]] -- wrong place&lt;br /&gt;
## [[:Category:Using Pymol Scenes|Scenes]]&lt;br /&gt;
## [[:Category:Using Pymol Mouse Settings|Mouse Settings]]&lt;br /&gt;
## [[:Category:Using Pymol Wizards|Wizards]]&lt;br /&gt;
## [[:Category:Using Pymol Ray-tracing|Ray-tracing]]&lt;br /&gt;
## [[:Category:Using Pymol Settings Reference|Settings Reference]]&lt;br /&gt;
## [[:Category:Using Pymol Movies and Animations|Movies and Animations]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment|Structure Alignment]]&lt;br /&gt;
## [[:Category:Using Pymol Structure Alignment Editor|Structure Alignment Editor]]&lt;br /&gt;
# [[:Category:Commands|Command Language]]&lt;br /&gt;
## [[:Category:Commands PyMOL Command Script|PyMOL Command Script]]&lt;br /&gt;
## [[:Category:Commands PyMOL Python API|PyMOL Python API]]&lt;br /&gt;
# [[:Category:Advanced Issues|Advanced Issues]]&lt;br /&gt;
## [[:Category:Advanced Issues Modeling and Editing Structures|Modeling and editing structures]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Editing atoms|Editing Atoms]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Molecular Sculpting|Molecular sculpting]]&lt;br /&gt;
### [[:Category:Advanced Issues Modeling and Editing Structures Homology Modeling|Homology modeling]]&lt;br /&gt;
## [[:Category:Advanced Issues Image Manipulation|Image Manipulation]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation labels|labels]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Photoshop and GIMP|Photoshop/GIMP]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Stereo Figures|Stereo Figures]]&lt;br /&gt;
### [[:Category:Advanced Issues Image Manipulation Publication Quatlity Images|Publication-quality images]]&lt;br /&gt;
# [[:Category:Scripting|Scripting]]&lt;br /&gt;
## [[:Category:Scripting Example Scripts|Example Scripts]]&lt;br /&gt;
## [[:Category:Scripting Script Library|Script Library]]&lt;br /&gt;
# [[:Category:Plugins|Plugins]]&lt;br /&gt;
## [[:Category:Plugins Electrostatics and Energy Minimization| How to do electrostatics and energy minimization.]]&lt;br /&gt;
### [[:Category:Plugins Electrostatics and Energy Minimization APBS| APBS Plugin]]&lt;br /&gt;
## [[:Category:Plugins rtools | rtools]]&lt;br /&gt;
## [[:Category:Plugins Tutorial|Tutorial on writing plugins]]&lt;br /&gt;
## [[:Category:Plugins Others| Others]]&lt;br /&gt;
# [[:Category:High-Level Applications|High-Level Applications]]&lt;br /&gt;
## [[:Category:High-Level Applications Crystallography Applications|Crystallography Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications Symmetry|Symmetry]]&lt;br /&gt;
### [[:Category:High-Level Applications Electron Density|Electron Density]]&lt;br /&gt;
## [[:Category:High-Level Applications NMR Applications|NMR Applications]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Working with a Family of Structures|Working with Structure Families]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications Superimposition and RMSD|Superimposition and RMSD]]&lt;br /&gt;
### [[:Category:High-Level Applications NMR Applications NMR Restraints Analysis|NMR Restraints and Analysis]]&lt;br /&gt;
# [[:Category:Third Party Software|Third Party Software]]&lt;br /&gt;
## [[:Category:Third Party Software PovRay|PovRay]]&lt;br /&gt;
## [[:Category:Third Party Software Movies|Movies]]&lt;br /&gt;
## [[:Category:Third Party Software Codecs|Codecs]]&lt;br /&gt;
# [[:Category:Python Integration|Python Integration]]&lt;br /&gt;
# [[:Category:Using PyMol For Unintended Uses|Unintended Uses]] (OpenGL Object Renderer)&lt;br /&gt;
## [[:Category:Using PyMol For Unintended Uses Arbitrary Graphics Objects| Arbitrary Graphics Objects]]&lt;br /&gt;
# [[:Category:Uncategorized|Uncategorized]] For new pages, misplaced pages, etc.&lt;br /&gt;
----&lt;br /&gt;
[[User:Tree|Tree]] 02:09, 16 Feb 2005 (CST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== New! GeShi: Syntax Highlighting for Python &amp;amp; More ===&lt;br /&gt;
'''Update''': I have added the option for numbered syntax highlighting and non-numbered.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;Non line-numbered code here&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;npython&amp;gt;line-numbered code here&amp;lt;/npython&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We now have a syntax highlighter installed.  It now supports something like 28 programming languages!  When you paste your code simply wrap it in&lt;br /&gt;
&amp;amp;lt;language_name&amp;amp;gt; ... code here ... &amp;amp;lt;/language_name&amp;amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Here's an example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;lt;python&amp;amp;gt;&lt;br /&gt;
  # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;python&amp;amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gives us the code&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now with line numbers!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;npython&amp;gt;&lt;br /&gt;
 # axes.py&lt;br /&gt;
from pymol.cgo import *&lt;br /&gt;
from pymol import cmd&lt;br /&gt;
from pymol.vfont import plain&lt;br /&gt;
&lt;br /&gt;
# create the axes object, draw axes with cylinders coloured red, green,&lt;br /&gt;
#blue for X, Y and Z&lt;br /&gt;
&lt;br /&gt;
obj = [&lt;br /&gt;
   CYLINDER, 0., 0., 0., 50., 0., 0., 0.2, 1.0, 1.0, 1.0, 1.0, 0.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 50., 0., 0.2, 1.0, 1.0, 1.0, 0., 1.0, 0.,&lt;br /&gt;
   CYLINDER, 0., 0., 0., 0., 0., 50., 0.2, 1.0, 1.0, 1.0, 0., 0.0, 1.0,&lt;br /&gt;
   ]&lt;br /&gt;
&lt;br /&gt;
# add labels to axes object (requires pymol version 0.8 or greater, I&lt;br /&gt;
# believe&lt;br /&gt;
&lt;br /&gt;
cyl_text(obj,plain,[-5.,-5.,-1],'Origin',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[50.,0.,0.],'X',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,50.,0.],'Y',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
cyl_text(obj,plain,[0.,0.,50.],'Z',0.20,axes=[[3,0,0],[0,3,0],[0,0,3]])&lt;br /&gt;
&lt;br /&gt;
# then we load it into PyMOL&lt;br /&gt;
cmd.load_cgo(obj,'axes')&lt;br /&gt;
&amp;lt;/npython&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See [http://qbnz.com/highlighter/index.php The Geshi Home Page]&lt;br /&gt;
&lt;br /&gt;
[[User:Tree|Tree]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4496</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4496"/>
		<updated>2005-02-28T17:53:04Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one!&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4495</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4495"/>
		<updated>2005-02-28T17:51:54Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one!&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#############################################################################&lt;br /&gt;
# $Id$&lt;br /&gt;
#############################################################################&lt;br /&gt;
&lt;br /&gt;
import sys;&lt;br /&gt;
import os;&lt;br /&gt;
import math;&lt;br /&gt;
import re;&lt;br /&gt;
import getopt;&lt;br /&gt;
&lt;br /&gt;
from Bio.PDB.PDBParser import PDBParser&lt;br /&gt;
&lt;br /&gt;
import imgWriter&lt;br /&gt;
#my imageWriter using GD&lt;br /&gt;
#import dali.imageWriter&lt;br /&gt;
&lt;br /&gt;
class point:&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        point is a simple representation of a 3D point in space&lt;br /&gt;
&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        def __init__(self, ray = [] ):&lt;br /&gt;
                &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
                Constructor&lt;br /&gt;
&lt;br /&gt;
                &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                if ( len(ray) != 3 ):&lt;br /&gt;
                        print &amp;quot;ERROR: What, so macromolecules are 2-dimensional now?  I don't th&lt;br /&gt;
ink so.&amp;quot;&lt;br /&gt;
                        sys.exit(2)&lt;br /&gt;
&lt;br /&gt;
                # assign instance variables&lt;br /&gt;
                self.x = ray[0]&lt;br /&gt;
                self.y = ray[1]&lt;br /&gt;
                self.z = ray[2]&lt;br /&gt;
&lt;br /&gt;
                # calculate the length from origin&lt;br /&gt;
                self.length = math.sqrt( self.x**2 + self.y**2 + self.z**2 )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;npython&amp;gt;&lt;br /&gt;
#############################################################################&lt;br /&gt;
# $Id$&lt;br /&gt;
#############################################################################&lt;br /&gt;
&lt;br /&gt;
import sys;&lt;br /&gt;
import os;&lt;br /&gt;
import math;&lt;br /&gt;
import re;&lt;br /&gt;
import getopt;&lt;br /&gt;
&lt;br /&gt;
from Bio.PDB.PDBParser import PDBParser&lt;br /&gt;
&lt;br /&gt;
import imgWriter&lt;br /&gt;
#my imageWriter using GD&lt;br /&gt;
#import dali.imageWriter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
class point:&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        point is a simple representation of a 3D point in space&lt;br /&gt;
&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
        def __init__(self, ray = [] ):&lt;br /&gt;
                &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
                Constructor&lt;br /&gt;
&lt;br /&gt;
                &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                if ( len(ray) != 3 ):&lt;br /&gt;
                        print &amp;quot;ERROR: What, so macromolecules are 2-dimensional now?  I don't th&lt;br /&gt;
ink so.&amp;quot;&lt;br /&gt;
                        sys.exit(2)&lt;br /&gt;
&lt;br /&gt;
                # assign instance variables&lt;br /&gt;
                self.x = ray[0]&lt;br /&gt;
                self.y = ray[1]&lt;br /&gt;
                self.z = ray[2]&lt;br /&gt;
&lt;br /&gt;
                # calculate the length from origin&lt;br /&gt;
                self.length = math.sqrt( self.x**2 + self.y**2 + self.z**2 )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/npython&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Dots_ex.png&amp;diff=1542</id>
		<title>File:Dots ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Dots_ex.png&amp;diff=1542"/>
		<updated>2005-02-27T08:19:19Z</updated>

		<summary type="html">&lt;p&gt;Tree: Dots Representation Example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Dots Representation Example&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Spheres_ex.png&amp;diff=2705</id>
		<title>File:Spheres ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Spheres_ex.png&amp;diff=2705"/>
		<updated>2005-02-27T08:18:09Z</updated>

		<summary type="html">&lt;p&gt;Tree: Spheres Example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Spheres Example&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Mesh_ex.png&amp;diff=2382</id>
		<title>File:Mesh ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Mesh_ex.png&amp;diff=2382"/>
		<updated>2005-02-27T08:16:59Z</updated>

		<summary type="html">&lt;p&gt;Tree: Mesh Example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Mesh Example.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Surface_ex.png&amp;diff=2610</id>
		<title>File:Surface ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Surface_ex.png&amp;diff=2610"/>
		<updated>2005-02-27T08:12:45Z</updated>

		<summary type="html">&lt;p&gt;Tree: Surface Representation Example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Surface Representation Example.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Cartoon_ex.png&amp;diff=1410</id>
		<title>File:Cartoon ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Cartoon_ex.png&amp;diff=1410"/>
		<updated>2005-02-27T08:11:18Z</updated>

		<summary type="html">&lt;p&gt;Tree: Cartoon Example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cartoon Example.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Lines_ex.png&amp;diff=1874</id>
		<title>File:Lines ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Lines_ex.png&amp;diff=1874"/>
		<updated>2005-02-27T08:09:57Z</updated>

		<summary type="html">&lt;p&gt;Tree: Lines Example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lines Example.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Sticks_ex.png&amp;diff=2600</id>
		<title>File:Sticks ex.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Sticks_ex.png&amp;diff=2600"/>
		<updated>2005-02-27T08:08:29Z</updated>

		<summary type="html">&lt;p&gt;Tree: Sticks Example.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sticks Example.&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4494</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Main_Page&amp;diff=4494"/>
		<updated>2005-02-24T15:27:03Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== PyMol Wiki Home ==&lt;br /&gt;
You have reached the (new) home of the PyMolWiki, a user-driven web-oriented CMS.&lt;br /&gt;
&lt;br /&gt;
We (will) strive to provide&lt;br /&gt;
* updates on PyMol&lt;br /&gt;
* a stable user-oriented documentation base&lt;br /&gt;
* a thorough treatment of the PyMol program&lt;br /&gt;
* feature rich scripts for general PyMol use&lt;br /&gt;
&lt;br /&gt;
== Links of Interest ==&lt;br /&gt;
* Updated! [[PyMolWiki:Community_Portal| How to get involved!]] -- read me if you want to add something&lt;br /&gt;
* [[:Category:Scripting Script Library| Script Library]] -- add one!&lt;br /&gt;
* [[:Category:Commands|PyMol Commands]] (&amp;gt;130 documented!)&lt;br /&gt;
* [[:Special:Allpages| All Pages]]&lt;br /&gt;
* [[:Category:Plugins|Plugins]]&lt;br /&gt;
* [[:Special:Categories| See All Categories]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Save&amp;diff=9622</id>
		<title>Save</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Save&amp;diff=9622"/>
		<updated>2005-02-24T15:25:52Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;save&amp;quot; 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;pre&amp;gt;&lt;br /&gt;
   save file [,(selection) [,state [,format]] ]&lt;br /&gt;
 &amp;lt;/pre&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;
 &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;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
   [[Cmd load]], [[Cmd get_model]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|save]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Center&amp;diff=6635</id>
		<title>Center</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Center&amp;diff=6635"/>
		<updated>2005-02-24T15:24:51Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== DEPRECATED ==&lt;br /&gt;
See [[CmdScript.center|center]]&lt;br /&gt;
&lt;br /&gt;
===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;center&amp;quot; translates the window, the clipping slab, and the&lt;br /&gt;
   origin to a point centered within the atom 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.center( string selection, int state = 0, int origin = 1 )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
 &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;
   origin = 1 (default) move the origin&lt;br /&gt;
   origin = 0 leave the origin unchanged&lt;br /&gt;
 &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
   [[Cmd origin]], [[Cmd orient]], [[Cmd zoom]] &lt;br /&gt;
 &lt;br /&gt;
[[Category:Commands|center]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ray&amp;diff=9913</id>
		<title>Ray</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ray&amp;diff=9913"/>
		<updated>2005-02-24T15:01:46Z</updated>

		<summary type="html">&lt;p&gt;Tree: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;ray&amp;quot; creates a ray-traced image of the current frame. This&lt;br /&gt;
   can take some time (up to several minutes, depending on image&lt;br /&gt;
   complexity).&lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
 &lt;br /&gt;
   ray [width,height [,renderer [,angle [,shift ]]]&lt;br /&gt;
 &lt;br /&gt;
   angle and shift can be used to generate matched stereo pairs&lt;br /&gt;
   &lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 &lt;br /&gt;
   ray&lt;br /&gt;
   ray 1024,768&lt;br /&gt;
   ray renderer=0&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.ray(int width,int height,int renderer=-1,float shift=0)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES&lt;br /&gt;
 &lt;br /&gt;
   renderer = -1 is default (use value in ray_default_renderer)&lt;br /&gt;
   renderer =  0 uses PyMOL's internal renderer&lt;br /&gt;
   renderer =  1 uses PovRay's renderer.  This is Unix-only&lt;br /&gt;
      and you must have &amp;quot;x-povray&amp;quot; in your path.  It utilizes two&lt;br /&gt;
      two temporary files: &amp;quot;tmp_pymol.pov&amp;quot; and &amp;quot;tmp_pymol.png&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;help faster&amp;quot; for optimization tips with the builtin renderer.&lt;br /&gt;
   &amp;quot;help povray&amp;quot; for how to use PovRay instead of PyMOL's built-in&lt;br /&gt;
   ray-tracing engine. &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;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
</feed>