<?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=Baker1</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=Baker1"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Baker1"/>
	<updated>2026-05-30T16:37:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Plane_Wizard&amp;diff=112</id>
		<title>Talk:Plane Wizard</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Plane_Wizard&amp;diff=112"/>
		<updated>2011-06-07T20:30:42Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I tried this out - it's pretty neat - good job!&lt;br /&gt;
&lt;br /&gt;
Two minor comments:&lt;br /&gt;
     - any plane created goes away when exiting the wizard.  Is this intended?&lt;br /&gt;
     - I found a typo in the code (spacing) on line 112 &amp;amp; corrected it&lt;br /&gt;
&lt;br /&gt;
Hmm. For my purposes when I made it, cleaning up on exit was the right thing to do, but I guess other people might want it not to. Wizards are a little too simple for preferences...&lt;br /&gt;
&lt;br /&gt;
If I ever manage to make plugins on OSX, then a plane (or geometry!) plugin would be more flexible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
So, if we don't want the planes to be removed on exit, how do we edit the code to prevent this?&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Fog&amp;diff=323</id>
		<title>Talk:Fog</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Fog&amp;diff=323"/>
		<updated>2011-03-25T15:40:59Z</updated>

		<summary type="html">&lt;p&gt;Baker1: Created page with &amp;quot;Perhaps this has a new function in v1.4?  It looks like this actually controls fog thickness.  So, &amp;quot;set fog_start,0.2&amp;quot; and &amp;quot;set fog, 0.8&amp;quot; makes a scene that has the fog starting ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Perhaps this has a new function in v1.4?  It looks like this actually controls fog thickness.  So, &amp;quot;set fog_start,0.2&amp;quot; and &amp;quot;set fog, 0.8&amp;quot; makes a scene that has the fog starting close to the camera, but the background does not fade into the background color completely.&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Depth_cue&amp;diff=189</id>
		<title>Talk:Depth cue</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Depth_cue&amp;diff=189"/>
		<updated>2011-02-09T15:55:29Z</updated>

		<summary type="html">&lt;p&gt;Baker1: Created page with &amp;quot;what is the difference between this setting and &amp;quot;fog&amp;quot;?&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;what is the difference between this setting and &amp;quot;fog&amp;quot;?&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Mutagenesis&amp;diff=106</id>
		<title>Talk:Mutagenesis</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Mutagenesis&amp;diff=106"/>
		<updated>2010-09-27T20:07:42Z</updated>

		<summary type="html">&lt;p&gt;Baker1: Created page with '=== Questions === Any chance we could get bases added to the mutagenesis package in the next version?'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Questions ===&lt;br /&gt;
Any chance we could get bases added to the mutagenesis package in the next version?&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Extend&amp;diff=7298</id>
		<title>Extend</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Extend&amp;diff=7298"/>
		<updated>2010-08-25T16:05:23Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Extend]] is an API-only function which binds a new external function as a command into the PyMOL scripting language.  In other words, when you write a function and want PyMOL to recognize the new command, you '''extend''' the command into PyMOL. Once extended, the function name is recognized like other function names (example below).  Typically, '''extend''' is the last line of a PyMOL script.&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.extend(string name,function function)&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;
def foo(moo=2): print moo&lt;br /&gt;
cmd.extend('foo',foo)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following would now work within PyMOL:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;foo&lt;br /&gt;
2&lt;br /&gt;
PyMOL&amp;gt;foo 3&lt;br /&gt;
3&lt;br /&gt;
PyMOL&amp;gt;foo moo=5&lt;br /&gt;
5&lt;br /&gt;
PyMOL&amp;gt;foo ?&lt;br /&gt;
&lt;br /&gt;
Usage: foo [ moo ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
For security reasons, new PyMOL commands created using &amp;quot;extend&amp;quot; are not saved or restored in sessions.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
*[[Alias]]&lt;br /&gt;
*[[Api]]&lt;br /&gt;
*[[Category:Scripting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Extend]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
=== &amp;quot;extend&amp;quot; used in selections ===&lt;br /&gt;
&amp;quot;extend&amp;quot; can also be used in selection statements to grow a selection based on covalent bonds.  This behavior is illustrated on residue 64 of PDB file 1KAO where we initially select one atom and then &amp;quot;extend&amp;quot; that selection by one and three covalent bonds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[Image:Extend0.png|250px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[Image:Extend1.png|250px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[Image:Extend3.png|250px]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;select (resi 64 and n. cz)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;select (resi 64 and n. cz) extend 1&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;select (resi 64 and n. cz) extend 3&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Extend3.png&amp;diff=2047</id>
		<title>File:Extend3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Extend3.png&amp;diff=2047"/>
		<updated>2010-08-25T16:02:33Z</updated>

		<summary type="html">&lt;p&gt;Baker1: select (1kao and resi 64 and n. cz) extend 3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;select (1kao and resi 64 and n. cz) extend 3&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Extend1.png&amp;diff=1796</id>
		<title>File:Extend1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Extend1.png&amp;diff=1796"/>
		<updated>2010-08-25T16:02:20Z</updated>

		<summary type="html">&lt;p&gt;Baker1: select (1kao and resi 64 and n. cz) extend 1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;select (1kao and resi 64 and n. cz) extend 1&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:Extend0.png&amp;diff=2294</id>
		<title>File:Extend0.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:Extend0.png&amp;diff=2294"/>
		<updated>2010-08-25T15:59:58Z</updated>

		<summary type="html">&lt;p&gt;Baker1: select (1kao and resi 64 and n. cz)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;select (1kao and resi 64 and n. cz)&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Fetch&amp;diff=7317</id>
		<title>Fetch</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Fetch&amp;diff=7317"/>
		<updated>2010-05-04T21:30:18Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Fetch''' retrieves a protein structure from the PDB and loads it into PyMOL.  The PDB file is saved in the current working directory for PyMOL.&lt;br /&gt;
&lt;br /&gt;
You can now fetch electron density maps using ''type=fofc'' or ''type=2fofc''.  The map will be loaded if the electron density map exists on the [http://eds.bmc.uu.se/eds/ EDS] server.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
fetch PDB_ID [ ID2...IDN ] [, async = [0,1] , [ type=[fofc,2fofc] ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To specify more than one PDB, just add its ID to the command line (without adding spaces).  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# fetch them singly&lt;br /&gt;
fetch 1kao&lt;br /&gt;
fetch 1ctq&lt;br /&gt;
&lt;br /&gt;
# fetch them at once&lt;br /&gt;
fetch 1kao 1ctq&lt;br /&gt;
&lt;br /&gt;
# fetch them at once, load them into PyMOL all at once (synchronously)&lt;br /&gt;
fetch 1kao 1ctq, async=0&lt;br /&gt;
&lt;br /&gt;
# Example loading a protein and its electron density map&lt;br /&gt;
fetch 1cll&lt;br /&gt;
fetch 1cll, type=2fofc&lt;br /&gt;
# focus on residues 30-40&lt;br /&gt;
map_trim *, i. 30-40, 4&lt;br /&gt;
zoom i. 30-40&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example 2 ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# fetch PDB files and process each of them&lt;br /&gt;
# using async=0, PyMOL will wait for fetch to finish before executing the next command&lt;br /&gt;
fetch 1kao, async=0&lt;br /&gt;
remove not (alt ''+A)&lt;br /&gt;
alter all, alt=''&lt;br /&gt;
save 1koa_clean.pdb,1koa&lt;br /&gt;
delete 1koa&lt;br /&gt;
fetch 1ctq, async=0&lt;br /&gt;
remove not (alt ''+A)&lt;br /&gt;
alter all, alt=''&lt;br /&gt;
save 1ctq_clean.pdb,1ctq&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
[[Fetch_Path]], [[Fetch_Host]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Fetch]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Fetch&amp;diff=7316</id>
		<title>Fetch</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Fetch&amp;diff=7316"/>
		<updated>2010-05-04T21:29:46Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Fetch''' retrieves a protein structure from the PDB and loads it into PyMOL.  The PDB file is saved in the current working directory for PyMOL.&lt;br /&gt;
&lt;br /&gt;
You can now fetch electron density maps using ''type=fofc'' or ''type=2fofc''.  The map will be loaded if the electron density map exists on the [http://eds.bmc.uu.se/eds/ EDS] server.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
fetch PDB_ID [ ID2...IDN ] [, async = [0,1] , [ type=[fofc,2fofc] ]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To specify more than one PDB, just add its ID to the command line (without adding spaces).  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# fetch them singly&lt;br /&gt;
fetch 1kao&lt;br /&gt;
fetch 1ctq&lt;br /&gt;
&lt;br /&gt;
# fetch them at once&lt;br /&gt;
fetch 1kao 1ctq&lt;br /&gt;
&lt;br /&gt;
# fetch them at once, load them into PyMOL all at once (synchronously)&lt;br /&gt;
fetch 1kao 1ctq, async=0&lt;br /&gt;
&lt;br /&gt;
# Example loading a protein and its electron density map&lt;br /&gt;
fetch 1cll&lt;br /&gt;
fetch 1cll, type=2fofc&lt;br /&gt;
# focus on residues 30-40&lt;br /&gt;
map_trim *, i. 30-40, 4&lt;br /&gt;
zoom i. 30-40&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example 2 ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# fetch PDB files and process each of them&lt;br /&gt;
# using async=0, PyMOL will wait for fetch to finish before executing the next command&lt;br /&gt;
fetch 1kao, async=0&lt;br /&gt;
remove not (alt ''+A)&lt;br /&gt;
alter all, alt=''&lt;br /&gt;
save 1koa_clean.pdb,1koa&lt;br /&gt;
delete 1koa&lt;br /&gt;
fetch 1ctq, async=0&lt;br /&gt;
remove not (alt ''+A)&lt;br /&gt;
alter all, alt=''&lt;br /&gt;
save 1ctq_clean.pdb,1ctq&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
[[Fetch_Path]], [[Fetch_Host]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Fetch]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ideas&amp;diff=11799</id>
		<title>Ideas</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ideas&amp;diff=11799"/>
		<updated>2010-01-20T17:40:18Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Ideas for PyMOL Development ===&lt;br /&gt;
&lt;br /&gt;
This page was originally developed for the 2008 Google Summer of Code competition, but seeing as PyMOL wasn't selected, this page can instead serve as a resource for ongoing PyMOL development efforts.&lt;br /&gt;
&lt;br /&gt;
== Where to Start ==&lt;br /&gt;
&lt;br /&gt;
Always start with Python and only delve down into the C code when absolutely necessary.  Although PyMOL is mostly a C-based application, much of the that code is opaque, fragile, and unforgiving. Although C code refactoring is an important project goal, such work may not be ideal since once mistake could potentially to destabilize the entire platform. &lt;br /&gt;
&lt;br /&gt;
Fortunately, the Python interpreter and the PyMOL command and selection languages make it possible to extend PyMOL safely and quickly.  Even when performance is critical, Python should be the interface between external C, C++, and Java code and PyMOL's internal C data structures.&lt;br /&gt;
&lt;br /&gt;
== Choosing a Topic ==&lt;br /&gt;
&lt;br /&gt;
The best open-source code is usually written by an end-users attempting to meet their own pressing needs.  So if you have already have a specific need which relates to PyMOL, then we strongly encourage you to follow up on that first!&lt;br /&gt;
&lt;br /&gt;
If you are looking for ideas,  then try to seek out enhancements and/or integrations that will impact the largest potential user base.  For example, imagine what new things might be useful to virtually all medicinal chemists, all structural biologists, all movie-makers, all paper-writers, and so forth.&lt;br /&gt;
&lt;br /&gt;
The ideas below are organized by category.  Right now, integration with other open-source projects seems like the approach most likely to yield significant benefit, so those ideas are first.&lt;br /&gt;
&lt;br /&gt;
== Integration Ideas (Linking Out to Useful Open-Source Tools) ==&lt;br /&gt;
&lt;br /&gt;
In most cases, depending on the need, integration can be accomplished through standalone Python scripts, through new PyMOL commands, through PyMOL Wizards, or via Tkinter plugins.&lt;br /&gt;
&lt;br /&gt;
* APBS (electrostatics calculations):  Improve the existing plugin. Michael Lerner is currently leading this effort.  See [[APBS]]&lt;br /&gt;
* RDKit (cheminformatics, depiction, UFF cleanup, etc.):  Lots of potential here, however C++ coding may be necessary for more advanced integration tasks. [http://www.rdkit.org RDKit home]&lt;br /&gt;
* GIMP (image manipulation):  Streamline &amp;amp; document the process of exporting images from PyMOL into GIMP and preparing them for submission to scientific Journals.&lt;br /&gt;
* Jmol (publishing visualizations inside of web pages): Liason between PyMOL &amp;amp; Jmol projects to develop a shared molecular visualization data model compatible with both applications.&lt;br /&gt;
* Firefox (plugin): Develop an PyMOL plugin compatible with Firefox.&lt;br /&gt;
* MMTK (molecular mechanics -- Python/flexible):  Develop the ability to round-trip molecular systems from PyMOL, into MMTK, and back.&lt;br /&gt;
* GROMACS (molecular mechanics -- C/fast) - Maybe some ideas can be shared with this guy. [http://www.kde-apps.org/content/show.php/Gromacs+GUI+?content=47665 Gromacs GUI]&lt;br /&gt;
* OpenOffice (escape Microsoft hegemony): Develop an PyMOL plugin.&lt;br /&gt;
* IPython integration (interactive shell): a robust alternative to the PyMOL command line?&lt;br /&gt;
* R (statistics): PyMOL a 3D viewer environment for visualizating &amp;amp; manipulating large statistical data sets?&lt;br /&gt;
&lt;br /&gt;
Are there other key open-source packages we might specifically target for integration with PyMOL, either through GSoC or beyond?&lt;br /&gt;
&lt;br /&gt;
== High-Level Enhancement Ideas (Mostly Python-oriented) ==&lt;br /&gt;
&lt;br /&gt;
* Work on [[#More Ideas (Please add your own!)| MolViz]]&lt;br /&gt;
* Develop new plugins which automate routine tasks.&lt;br /&gt;
* Improve the Python API documentation.&lt;br /&gt;
* Flesh out the new &amp;quot;from pymol2 import PyMOL&amp;quot; instance-based PyMOL API.&lt;br /&gt;
* Develop alternate Tkinter &amp;quot;skins&amp;quot; (for custom OEM-like applications).&lt;br /&gt;
* Develop a Tkinter/TOGL widget which holds a PyMOL viewer instance.&lt;br /&gt;
* Develop a PyQt widget which holds a PyMOL viewer instance.&lt;br /&gt;
* Create a plugin-manager GUI in the style of Firefox, Rythmbox, Gedit, Eclipse. A GUI where it is easy to turn off/on plugins, configure them and see help-contents for them. Maybe also some way to paste a url to install a new Plugin.&lt;br /&gt;
* Add a plugin for a GUI window with the same functionality as the &amp;quot;Control Panel&amp;quot; window in SwissPDB Viewer.&lt;br /&gt;
* Extend and modify the PyMOL command language so as to be compatible with existing RasMol and/or Jmol scripts.&lt;br /&gt;
* Enhance the Mutagenesis Wizard in order to support Nucleic acids and/or Sugars.&lt;br /&gt;
* Streamline the process of creating movies out of Scenes.&lt;br /&gt;
&lt;br /&gt;
== Low-Level Enhancement Ideas (Mostly C-oriented) ==&lt;br /&gt;
&lt;br /&gt;
* Enable editing of displayed sequence alignments.&lt;br /&gt;
* Add multi-line textual annotations&lt;br /&gt;
* Support additional annotation object including: arrow, lines, and blobs.&lt;br /&gt;
* Add display of secondary structure into the sequence viewer.&lt;br /&gt;
* Enable per-object Z clipping (especially in the ray tracer)&lt;br /&gt;
* Hilite H-bonds, salt bridges, Pi-stacking, Pi-cations, etc.&lt;br /&gt;
* Build in a simple forcefield and energy minimizer suitable for use with Mutagenesis.&lt;br /&gt;
* Incorporate a suite of standard NMR visualizations (restraint violations, per-residue RMS, etc.)&lt;br /&gt;
* Enumeration and display of low-energy conformers.&lt;br /&gt;
* Automated structure grafting (poor-man's homology modeling).&lt;br /&gt;
* Import of alignment files.&lt;br /&gt;
* Implement IMD (Interactive Molecular Dynamics) Interface, see http://www.ks.uiuc.edu/Research/vmd/imd/&lt;br /&gt;
&lt;br /&gt;
== Difficult C-level Code Refactoring Ideas ==&lt;br /&gt;
&lt;br /&gt;
* Assemble a test suite which thoroughly exercises the existing code (a prerequisite to major refactoring).&lt;br /&gt;
* Catch &amp;amp; handle memory-allocation failures gracefully (instead of crashing).&lt;br /&gt;
* Replace PyMOL's memory management &amp;amp; custom containers with a simple runtime object model.&lt;br /&gt;
* Separate the View and the Controllers from the Model so that they can all run asynchronously (on multiple cores).&lt;br /&gt;
* Enable generalized undo of changes made to the Model.&lt;br /&gt;
* Clean up the internal matrix handling code.&lt;br /&gt;
&lt;br /&gt;
== Ideas Involving Proprietary APIs ==&lt;br /&gt;
&lt;br /&gt;
Since these involve closed-source APIs and infrastructure, they aren't suitable for open-source development efforts.  However, such requests are noted here for the sake of complete coverage.&lt;br /&gt;
&lt;br /&gt;
* Create a Windows port with &amp;quot;native&amp;quot; look &amp;amp; feel. &amp;lt;- Could this be done in PyQT or PyGTK?. Then it would look &amp;quot;native&amp;quot;, but be cross-platform and not proprietary.&lt;br /&gt;
* Integrate directly via Mathematica via MathLink.&lt;br /&gt;
* Further enhance JyMOL (Java-JNI/wrapped PyMOL)&lt;br /&gt;
* Integrate with Matlab.&lt;br /&gt;
&lt;br /&gt;
== More Ideas (Please add your own!) ==&lt;br /&gt;
* [http://molviz.cs.toronto.edu/molviz MolViz] is a project to incorporate head tracking input into [http://pymol.sourceforge.net/ PyMol]. This is accomplished through a [[ImmersiveViz]] script written in Python to control the molecule's position using the existing [http://www.pymolwiki.org/index.php/Category:Commands PyMol API]. Related projects would include:&lt;br /&gt;
** Improving the existing [[ImmersiveViz]] PyMol plugin for more precise control of the environment.&lt;br /&gt;
** Developing new input drivers for the Wiimote form of control. This would require some bluetooth hacking.&lt;br /&gt;
** Implementing some other forms of input for head tracking, such as fisheye head tracking, IR webcam tracking, etc (refer to the end of this [[http://www.youtube.com/watch?v=ncShaY4VSac video]] for a better description).&lt;br /&gt;
* Provide a 2D chemical depiction of the current 3D view.&lt;br /&gt;
* Spreadsheet view with additional information (e.g. IC50's).&lt;br /&gt;
* Create additional documentation, screen casts, &amp;amp; tutorials.&lt;br /&gt;
* Export 3D PDF images.&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add extra &amp;quot;Single Word Selectors&amp;quot; like &amp;quot;nucleic&amp;quot;, &amp;quot;protein&amp;quot;, &amp;quot;water&amp;quot;, &amp;quot;ions&amp;quot;, &amp;quot;backbone&amp;quot; (for nucleic acids or proteins), &amp;quot;mainchain&amp;quot;, &amp;quot;sidechain&amp;quot;&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Add functionality that allows you to select atoms based on their location (i.e. select (x_coordinate &amp;lt; 10) and (z_coordinate &amp;gt; 0))&lt;br /&gt;
* set pdb_mirror option to use PDB mirrors other than RCSB for fetching structures (PDBe, PDBj); the EBI mirror is much faster from Europe for example.&lt;br /&gt;
* have the ability to link the TK console to the viewer so that users don't have to constantly alt+tab between what they want&lt;br /&gt;
* have the ability to disable typing in the viewer and automatically type in the TK console (I like being able to cut/paste/home/end)&lt;br /&gt;
* I see a lot of &amp;quot;can pymol do this&amp;quot; threads - any ideas of a good UI for a page of &amp;quot;things PyMOL can do?&amp;quot;&lt;br /&gt;
* make an option where I can turn on a coordinate grid - perhaps an object that is a cuboid grid around any object in the view so I can still alter how it's rendered?&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ideas&amp;diff=11798</id>
		<title>Ideas</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ideas&amp;diff=11798"/>
		<updated>2010-01-20T17:38:07Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Ideas for PyMOL Development ===&lt;br /&gt;
&lt;br /&gt;
This page was originally developed for the 2008 Google Summer of Code competition, but seeing as PyMOL wasn't selected, this page can instead serve as a resource for ongoing PyMOL development efforts.&lt;br /&gt;
&lt;br /&gt;
== Where to Start ==&lt;br /&gt;
&lt;br /&gt;
Always start with Python and only delve down into the C code when absolutely necessary.  Although PyMOL is mostly a C-based application, much of the that code is opaque, fragile, and unforgiving. Although C code refactoring is an important project goal, such work may not be ideal since once mistake could potentially to destabilize the entire platform. &lt;br /&gt;
&lt;br /&gt;
Fortunately, the Python interpreter and the PyMOL command and selection languages make it possible to extend PyMOL safely and quickly.  Even when performance is critical, Python should be the interface between external C, C++, and Java code and PyMOL's internal C data structures.&lt;br /&gt;
&lt;br /&gt;
== Choosing a Topic ==&lt;br /&gt;
&lt;br /&gt;
The best open-source code is usually written by an end-users attempting to meet their own pressing needs.  So if you have already have a specific need which relates to PyMOL, then we strongly encourage you to follow up on that first!&lt;br /&gt;
&lt;br /&gt;
If you are looking for ideas,  then try to seek out enhancements and/or integrations that will impact the largest potential user base.  For example, imagine what new things might be useful to virtually all medicinal chemists, all structural biologists, all movie-makers, all paper-writers, and so forth.&lt;br /&gt;
&lt;br /&gt;
The ideas below are organized by category.  Right now, integration with other open-source projects seems like the approach most likely to yield significant benefit, so those ideas are first.&lt;br /&gt;
&lt;br /&gt;
== Integration Ideas (Linking Out to Useful Open-Source Tools) ==&lt;br /&gt;
&lt;br /&gt;
In most cases, depending on the need, integration can be accomplished through standalone Python scripts, through new PyMOL commands, through PyMOL Wizards, or via Tkinter plugins.&lt;br /&gt;
&lt;br /&gt;
* APBS (electrostatics calculations):  Improve the existing plugin. Michael Lerner is currently leading this effort.  See [[APBS]]&lt;br /&gt;
* RDKit (cheminformatics, depiction, UFF cleanup, etc.):  Lots of potential here, however C++ coding may be necessary for more advanced integration tasks. [http://www.rdkit.org RDKit home]&lt;br /&gt;
* GIMP (image manipulation):  Streamline &amp;amp; document the process of exporting images from PyMOL into GIMP and preparing them for submission to scientific Journals.&lt;br /&gt;
* Jmol (publishing visualizations inside of web pages): Liason between PyMOL &amp;amp; Jmol projects to develop a shared molecular visualization data model compatible with both applications.&lt;br /&gt;
* Firefox (plugin): Develop an PyMOL plugin compatible with Firefox.&lt;br /&gt;
* MMTK (molecular mechanics -- Python/flexible):  Develop the ability to round-trip molecular systems from PyMOL, into MMTK, and back.&lt;br /&gt;
* GROMACS (molecular mechanics -- C/fast) - Maybe some ideas can be shared with this guy. [http://www.kde-apps.org/content/show.php/Gromacs+GUI+?content=47665 Gromacs GUI]&lt;br /&gt;
* OpenOffice (escape Microsoft hegemony): Develop an PyMOL plugin.&lt;br /&gt;
* IPython integration (interactive shell): a robust alternative to the PyMOL command line?&lt;br /&gt;
* R (statistics): PyMOL a 3D viewer environment for visualizating &amp;amp; manipulating large statistical data sets?&lt;br /&gt;
&lt;br /&gt;
Are there other key open-source packages we might specifically target for integration with PyMOL, either through GSoC or beyond?&lt;br /&gt;
&lt;br /&gt;
== High-Level Enhancement Ideas (Mostly Python-oriented) ==&lt;br /&gt;
&lt;br /&gt;
* Work on [[#More Ideas (Please add your own!)| MolViz]]&lt;br /&gt;
* Develop new plugins which automate routine tasks.&lt;br /&gt;
* Improve the Python API documentation.&lt;br /&gt;
* Flesh out the new &amp;quot;from pymol2 import PyMOL&amp;quot; instance-based PyMOL API.&lt;br /&gt;
* Develop alternate Tkinter &amp;quot;skins&amp;quot; (for custom OEM-like applications).&lt;br /&gt;
* Develop a Tkinter/TOGL widget which holds a PyMOL viewer instance.&lt;br /&gt;
* Develop a PyQt widget which holds a PyMOL viewer instance.&lt;br /&gt;
* Create a plugin-manager GUI in the style of Firefox, Rythmbox, Gedit, Eclipse. A GUI where it is easy to turn off/on plugins, configure them and see help-contents for them. Maybe also some way to paste a url to install a new Plugin.&lt;br /&gt;
* Add a plugin for a GUI window with the same functionality as the &amp;quot;Control Panel&amp;quot; window in SwissPDB Viewer.&lt;br /&gt;
* Extend and modify the PyMOL command language so as to be compatible with existing RasMol and/or Jmol scripts.&lt;br /&gt;
* Enhance the Mutagenesis Wizard in order to support Nucleic acids and/or Sugars.&lt;br /&gt;
* Streamline the process of creating movies out of Scenes.&lt;br /&gt;
&lt;br /&gt;
== Low-Level Enhancement Ideas (Mostly C-oriented) ==&lt;br /&gt;
&lt;br /&gt;
* Enable editing of displayed sequence alignments.&lt;br /&gt;
* Add multi-line textual annotations&lt;br /&gt;
* Support additional annotation object including: arrow, lines, and blobs.&lt;br /&gt;
* Add display of secondary structure into the sequence viewer.&lt;br /&gt;
* Enable per-object Z clipping (especially in the ray tracer)&lt;br /&gt;
* Hilite H-bonds, salt bridges, Pi-stacking, Pi-cations, etc.&lt;br /&gt;
* Build in a simple forcefield and energy minimizer suitable for use with Mutagenesis.&lt;br /&gt;
* Incorporate a suite of standard NMR visualizations (restraint violations, per-residue RMS, etc.)&lt;br /&gt;
* Enumeration and display of low-energy conformers.&lt;br /&gt;
* Automated structure grafting (poor-man's homology modeling).&lt;br /&gt;
* Import of alignment files.&lt;br /&gt;
* Implement IMD (Interactive Molecular Dynamics) Interface, see http://www.ks.uiuc.edu/Research/vmd/imd/&lt;br /&gt;
&lt;br /&gt;
== Difficult C-level Code Refactoring Ideas ==&lt;br /&gt;
&lt;br /&gt;
* Assemble a test suite which thoroughly exercises the existing code (a prerequisite to major refactoring).&lt;br /&gt;
* Catch &amp;amp; handle memory-allocation failures gracefully (instead of crashing).&lt;br /&gt;
* Replace PyMOL's memory management &amp;amp; custom containers with a simple runtime object model.&lt;br /&gt;
* Separate the View and the Controllers from the Model so that they can all run asynchronously (on multiple cores).&lt;br /&gt;
* Enable generalized undo of changes made to the Model.&lt;br /&gt;
* Clean up the internal matrix handling code.&lt;br /&gt;
&lt;br /&gt;
== Ideas Involving Proprietary APIs ==&lt;br /&gt;
&lt;br /&gt;
Since these involve closed-source APIs and infrastructure, they aren't suitable for open-source development efforts.  However, such requests are noted here for the sake of complete coverage.&lt;br /&gt;
&lt;br /&gt;
* Create a Windows port with &amp;quot;native&amp;quot; look &amp;amp; feel. &amp;lt;- Could this be done in PyQT or PyGTK?. Then it would look &amp;quot;native&amp;quot;, but be cross-platform and not proprietary.&lt;br /&gt;
* Integrate directly via Mathematica via MathLink.&lt;br /&gt;
* Further enhance JyMOL (Java-JNI/wrapped PyMOL)&lt;br /&gt;
* Integrate with Matlab.&lt;br /&gt;
&lt;br /&gt;
== More Ideas (Please add your own!) ==&lt;br /&gt;
* [http://molviz.cs.toronto.edu/molviz MolViz] is a project to incorporate head tracking input into [http://pymol.sourceforge.net/ PyMol]. This is accomplished through a [[ImmersiveViz]] script written in Python to control the molecule's position using the existing [http://www.pymolwiki.org/index.php/Category:Commands PyMol API]. Related projects would include:&lt;br /&gt;
** Improving the existing [[ImmersiveViz]] PyMol plugin for more precise control of the environment.&lt;br /&gt;
** Developing new input drivers for the Wiimote form of control. This would require some bluetooth hacking.&lt;br /&gt;
** Implementing some other forms of input for head tracking, such as fisheye head tracking, IR webcam tracking, etc (refer to the end of this [[http://www.youtube.com/watch?v=ncShaY4VSac video]] for a better description).&lt;br /&gt;
* Provide a 2D chemical depiction of the current 3D view.&lt;br /&gt;
* Spreadsheet view with additional information (e.g. IC50's).&lt;br /&gt;
* Create additional documentation, screen casts, &amp;amp; tutorials.&lt;br /&gt;
* Export 3D PDF images.&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add extra &amp;quot;Single Word Selectors&amp;quot; like &amp;quot;nucleic&amp;quot;, &amp;quot;protein&amp;quot;, &amp;quot;water&amp;quot;, &amp;quot;ions&amp;quot;, &amp;quot;backbone&amp;quot; (for nucleic acids or proteins), &amp;quot;mainchain&amp;quot;, &amp;quot;sidechain&amp;quot;&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Add functionality that allows you to select atoms based on their location (i.e. select (x_coordinate &amp;lt; 10) and (z_coordinate &amp;gt; 0))&lt;br /&gt;
* set pdb_mirror option to use PDB mirrors other than RCSB for fetching structures (PDBe, PDBj); the EBI mirror is much faster from Europe for example.&lt;br /&gt;
* have the ability to link the TK console to the viewer so that users don't have to constantly alt+tab between what they want&lt;br /&gt;
* have the ability to disable typing in the viewer and automatically type in the TK console (I like being able to cut/paste/home/end)&lt;br /&gt;
* I see a lot of &amp;quot;can pymol do this&amp;quot; threads - any ideas of a good UI for a page of &amp;quot;things PyMOL can do?&amp;quot;&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ideas&amp;diff=11796</id>
		<title>Ideas</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ideas&amp;diff=11796"/>
		<updated>2010-01-20T06:12:24Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Ideas for PyMOL Development ===&lt;br /&gt;
&lt;br /&gt;
This page was originally developed for the 2008 Google Summer of Code competition, but seeing as PyMOL wasn't selected, this page can instead serve as a resource for ongoing PyMOL development efforts.&lt;br /&gt;
&lt;br /&gt;
== Where to Start ==&lt;br /&gt;
&lt;br /&gt;
Always start with Python and only delve down into the C code when absolutely necessary.  Although PyMOL is mostly a C-based application, much of the that code is opaque, fragile, and unforgiving. Although C code refactoring is an important project goal, such work may not be ideal since once mistake could potentially to destabilize the entire platform. &lt;br /&gt;
&lt;br /&gt;
Fortunately, the Python interpreter and the PyMOL command and selection languages make it possible to extend PyMOL safely and quickly.  Even when performance is critical, Python should be the interface between external C, C++, and Java code and PyMOL's internal C data structures.&lt;br /&gt;
&lt;br /&gt;
== Choosing a Topic ==&lt;br /&gt;
&lt;br /&gt;
The best open-source code is usually written by an end-users attempting to meet their own pressing needs.  So if you have already have a specific need which relates to PyMOL, then we strongly encourage you to follow up on that first!&lt;br /&gt;
&lt;br /&gt;
If you are looking for ideas,  then try to seek out enhancements and/or integrations that will impact the largest potential user base.  For example, imagine what new things might be useful to virtually all medicinal chemists, all structural biologists, all movie-makers, all paper-writers, and so forth.&lt;br /&gt;
&lt;br /&gt;
The ideas below are organized by category.  Right now, integration with other open-source projects seems like the approach most likely to yield significant benefit, so those ideas are first.&lt;br /&gt;
&lt;br /&gt;
== Integration Ideas (Linking Out to Useful Open-Source Tools) ==&lt;br /&gt;
&lt;br /&gt;
In most cases, depending on the need, integration can be accomplished through standalone Python scripts, through new PyMOL commands, through PyMOL Wizards, or via Tkinter plugins.&lt;br /&gt;
&lt;br /&gt;
* APBS (electrostatics calculations):  Improve the existing plugin. Michael Lerner is currently leading this effort.  See [[APBS]]&lt;br /&gt;
* RDKit (cheminformatics, depiction, UFF cleanup, etc.):  Lots of potential here, however C++ coding may be necessary for more advanced integration tasks. [http://www.rdkit.org RDKit home]&lt;br /&gt;
* GIMP (image manipulation):  Streamline &amp;amp; document the process of exporting images from PyMOL into GIMP and preparing them for submission to scientific Journals.&lt;br /&gt;
* Jmol (publishing visualizations inside of web pages): Liason between PyMOL &amp;amp; Jmol projects to develop a shared molecular visualization data model compatible with both applications.&lt;br /&gt;
* Firefox (plugin): Develop an PyMOL plugin compatible with Firefox.&lt;br /&gt;
* MMTK (molecular mechanics -- Python/flexible):  Develop the ability to round-trip molecular systems from PyMOL, into MMTK, and back.&lt;br /&gt;
* GROMACS (molecular mechanics -- C/fast) - Maybe some ideas can be shared with this guy. [http://www.kde-apps.org/content/show.php/Gromacs+GUI+?content=47665 Gromacs GUI]&lt;br /&gt;
* OpenOffice (escape Microsoft hegemony): Develop an PyMOL plugin.&lt;br /&gt;
* IPython integration (interactive shell): a robust alternative to the PyMOL command line?&lt;br /&gt;
* R (statistics): PyMOL a 3D viewer environment for visualizating &amp;amp; manipulating large statistical data sets?&lt;br /&gt;
&lt;br /&gt;
Are there other key open-source packages we might specifically target for integration with PyMOL, either through GSoC or beyond?&lt;br /&gt;
&lt;br /&gt;
== High-Level Enhancement Ideas (Mostly Python-oriented) ==&lt;br /&gt;
&lt;br /&gt;
* Work on [[#More Ideas (Please add your own!)| MolViz]]&lt;br /&gt;
* Develop new plugins which automate routine tasks.&lt;br /&gt;
* Improve the Python API documentation.&lt;br /&gt;
* Flesh out the new &amp;quot;from pymol2 import PyMOL&amp;quot; instance-based PyMOL API.&lt;br /&gt;
* Develop alternate Tkinter &amp;quot;skins&amp;quot; (for custom OEM-like applications).&lt;br /&gt;
* Develop a Tkinter/TOGL widget which holds a PyMOL viewer instance.&lt;br /&gt;
* Develop a PyQt widget which holds a PyMOL viewer instance.&lt;br /&gt;
* Create a plugin-manager GUI in the style of Firefox, Rythmbox, Gedit, Eclipse. A GUI where it is easy to turn off/on plugins, configure them and see help-contents for them. Maybe also some way to paste a url to install a new Plugin.&lt;br /&gt;
* Add a plugin for a GUI window with the same functionality as the &amp;quot;Control Panel&amp;quot; window in SwissPDB Viewer.&lt;br /&gt;
* Extend and modify the PyMOL command language so as to be compatible with existing RasMol and/or Jmol scripts.&lt;br /&gt;
* Enhance the Mutagenesis Wizard in order to support Nucleic acids and/or Sugars.&lt;br /&gt;
* Streamline the process of creating movies out of Scenes.&lt;br /&gt;
&lt;br /&gt;
== Low-Level Enhancement Ideas (Mostly C-oriented) ==&lt;br /&gt;
&lt;br /&gt;
* Enable editing of displayed sequence alignments.&lt;br /&gt;
* Add multi-line textual annotations&lt;br /&gt;
* Support additional annotation object including: arrow, lines, and blobs.&lt;br /&gt;
* Add display of secondary structure into the sequence viewer.&lt;br /&gt;
* Enable per-object Z clipping (especially in the ray tracer)&lt;br /&gt;
* Hilite H-bonds, salt bridges, Pi-stacking, Pi-cations, etc.&lt;br /&gt;
* Build in a simple forcefield and energy minimizer suitable for use with Mutagenesis.&lt;br /&gt;
* Incorporate a suite of standard NMR visualizations (restraint violations, per-residue RMS, etc.)&lt;br /&gt;
* Enumeration and display of low-energy conformers.&lt;br /&gt;
* Automated structure grafting (poor-man's homology modeling).&lt;br /&gt;
* Import of alignment files.&lt;br /&gt;
* Implement IMD (Interactive Molecular Dynamics) Interface, see http://www.ks.uiuc.edu/Research/vmd/imd/&lt;br /&gt;
&lt;br /&gt;
== Difficult C-level Code Refactoring Ideas ==&lt;br /&gt;
&lt;br /&gt;
* Assemble a test suite which thoroughly exercises the existing code (a prerequisite to major refactoring).&lt;br /&gt;
* Catch &amp;amp; handle memory-allocation failures gracefully (instead of crashing).&lt;br /&gt;
* Replace PyMOL's memory management &amp;amp; custom containers with a simple runtime object model.&lt;br /&gt;
* Separate the View and the Controllers from the Model so that they can all run asynchronously (on multiple cores).&lt;br /&gt;
* Enable generalized undo of changes made to the Model.&lt;br /&gt;
* Clean up the internal matrix handling code.&lt;br /&gt;
&lt;br /&gt;
== Ideas Involving Proprietary APIs ==&lt;br /&gt;
&lt;br /&gt;
Since these involve closed-source APIs and infrastructure, they aren't suitable for open-source development efforts.  However, such requests are noted here for the sake of complete coverage.&lt;br /&gt;
&lt;br /&gt;
* Create a Windows port with &amp;quot;native&amp;quot; look &amp;amp; feel. &amp;lt;- Could this be done in PyQT or PyGTK?. Then it would look &amp;quot;native&amp;quot;, but be cross-platform and not proprietary.&lt;br /&gt;
* Integrate directly via Mathematica via MathLink.&lt;br /&gt;
* Further enhance JyMOL (Java-JNI/wrapped PyMOL)&lt;br /&gt;
* Integrate with Matlab.&lt;br /&gt;
&lt;br /&gt;
== More Ideas (Please add your own!) ==&lt;br /&gt;
* [http://molviz.cs.toronto.edu/molviz MolViz] is a project to incorporate head tracking input into [http://pymol.sourceforge.net/ PyMol]. This is accomplished through a [[ImmersiveViz]] script written in Python to control the molecule's position using the existing [http://www.pymolwiki.org/index.php/Category:Commands PyMol API]. Related projects would include:&lt;br /&gt;
** Improving the existing [[ImmersiveViz]] PyMol plugin for more precise control of the environment.&lt;br /&gt;
** Developing new input drivers for the Wiimote form of control. This would require some bluetooth hacking.&lt;br /&gt;
** Implementing some other forms of input for head tracking, such as fisheye head tracking, IR webcam tracking, etc (refer to the end of this [[http://www.youtube.com/watch?v=ncShaY4VSac video]] for a better description).&lt;br /&gt;
* Provide a 2D chemical depiction of the current 3D view.&lt;br /&gt;
* Spreadsheet view with additional information (e.g. IC50's).&lt;br /&gt;
* Create additional documentation, screen casts, &amp;amp; tutorials.&lt;br /&gt;
* Export 3D PDF images.&lt;br /&gt;
* &amp;lt;strike&amp;gt;Add extra &amp;quot;Single Word Selectors&amp;quot; like &amp;quot;nucleic&amp;quot;, &amp;quot;protein&amp;quot;, &amp;quot;water&amp;quot;, &amp;quot;ions&amp;quot;, &amp;quot;backbone&amp;quot; (for nucleic acids or proteins), &amp;quot;mainchain&amp;quot;, &amp;quot;sidechain&amp;quot;&amp;lt;/strike&amp;gt;&lt;br /&gt;
* Add functionality that allows you to select atoms based on their location (i.e. select (x_coordinate &amp;lt; 10) and (z_coordinate &amp;gt; 0))&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Ray&amp;diff=261</id>
		<title>Talk:Ray</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Ray&amp;diff=261"/>
		<updated>2009-10-05T23:34:22Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Thums in gallery ==&lt;br /&gt;
&lt;br /&gt;
I've updated images (from performance part). But now the thumbs are not showing. What's wrong?&lt;br /&gt;
[[User:Davidov|Davidov]] 05:05, 13 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Performance images ==&lt;br /&gt;
&lt;br /&gt;
I loaded them with an image processing program.  The images are offset outside of the viewable area.  Please remake these images and try again.  If this keeps happening you may have found a bug. [[User:Inchoate|Tree]] 07:57, 13 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
:Thanks. It seems to be viewable area issue. [[User:Davidov|Davidov]] 05:47, 15 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Cool idea ==&lt;br /&gt;
&lt;br /&gt;
A script to automate this task would be really cool:&lt;br /&gt;
&lt;br /&gt;
 One of my tricks is to only show part of the structure at a time, ray each part individually&lt;br /&gt;
 and the reassemble them in Photoshop. I do this all the time with the huge multi protein PyMol &lt;br /&gt;
 sessions I have to work on. It depends on your orientation in the viewer though, be careful to&lt;br /&gt;
 not cut anything off. With the ribo ou can hide the large or the small subunit, render each&lt;br /&gt;
 separately, and then reassemble.&lt;br /&gt;
&lt;br /&gt;
== surface outlines ==&lt;br /&gt;
I was wondering if folks could give tips on using 'set ray_trace_mode,1' with surface representations.  Because of the contours involved you get black lines all over the surface, rather than just around the visible &amp;quot;edges.&amp;quot;  Inflating B-factors helps some.  Any ideas as to how to improve these?  [[User:Baker1|Baker1]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3117</id>
		<title>User:Baker1</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3117"/>
		<updated>2009-09-03T16:41:55Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am a Ph.D. student in biophysics and bioinformatics (BCB).  You can learn more about BCB at Iowa State University at the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bioinformatics.iastate.edu/ L. H. Baker Center] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bcb.iastate.edu/index.html BCB at ISU] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://lab.bcb.iastate.edu/ BCB Lab] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My personal web page is [http://michaelz.public.iastate.edu/ here].&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3116</id>
		<title>User:Baker1</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3116"/>
		<updated>2009-09-03T16:41:09Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am a Ph.D. student in biophysics and bioinformatics (BCB).  You can learn more about BCB at Iowa State University at the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bioinformatics.iastate.edu/ L. H. Baker Center] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bcb.iastate.edu/index.html BCB at ISU] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://lab.bcb.iastate.edu/ BCB Lab] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My personal web page is [http://michaelz.public.iastate.edu/homepage.php/ here].&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Cealign&amp;diff=182</id>
		<title>Talk:Cealign</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Cealign&amp;diff=182"/>
		<updated>2009-09-03T16:39:00Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The numpy zip file provided in the Windows section unzips with fatal errors.&lt;br /&gt;
&lt;br /&gt;
Sean&lt;br /&gt;
&lt;br /&gt;
: And the instructions to download NumpPy from sourceforge and install the folder into the /PyMol/modules/ folder result in an error when numpy is called (numpy shouldn't be called outside the source folder - apparently it needs to be called from &amp;lt;i&amp;gt;inside&amp;lt;/i&amp;gt; the folder?) [I used Numpy-1.2.1.tar.gz - maybe I need to use the superpack installer?] [[User:Jedgold|Jedgold]] 17:41, 17 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: I have no idea why it unzips with errors for some users!  I am able to download an unzip it just fine on my Windows Vista (32-bit) system... Did you try downloading by doing 'Right click &amp;gt; Save As' and then opening the file using a third-party program like 7-zip from 7-zip.org ?? --[[User:Shiven|shiven]] 18:47, 17 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: I wrote Cealign, but didn't do the Win32 packages.  If I need to I can re-tar the files and provide that to folks (still attributing) Shiven, of course. [[User:Inchoate|Tree]] 23:28, 17 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Disparity in description of first pair of figures ==&lt;br /&gt;
&lt;br /&gt;
The atom count and rmsd value are different between the figure caption and the text in the preceding paragraph.  This doesn't really have any effect on the message, but should be fixed by whomever posted the images.  &lt;br /&gt;
&lt;br /&gt;
-JMS&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
[[User:Inchoate|Tree]] 17:54, 25 August 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Return the residues used in the alignment ==&lt;br /&gt;
&lt;br /&gt;
Is it possible to have cealign or fit return the residue (or atom) induces that it used in the fitting?  By default it does tell you how many it used, so you can make a scanning window of that size and iterate through the sequences with align until you get the same answer, but that is pretty annoying to do (in my opinion).  If I want the induces it decided to use, how do I get those printed out?&lt;br /&gt;
[[User:Baker1|Baker1]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Line_width&amp;diff=225</id>
		<title>Talk:Line width</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Line_width&amp;diff=225"/>
		<updated>2009-08-06T18:15:34Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I was wondering if it's possible to change the line_width for a selection.  Say I want to have two line representations, one with most of a molecule at line_width,2 and a selection at 4, say.  Doing the same with a sticks representation would be fine too if that's easier.&lt;br /&gt;
&lt;br /&gt;
As of this writing, I can set different line_width values to different objects/selection, but it doesn't seem to make a difference.&lt;br /&gt;
&lt;br /&gt;
Will update soon.&lt;br /&gt;
&lt;br /&gt;
[[User:Inchoate|Tree]] 18:56, 6 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Update'''&lt;br /&gt;
&lt;br /&gt;
You can do this in PyMOL.  Do&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set_bond line_width, 5, i. 1-10&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The line that connects two atoms in PyMOL is bond, so use set bond.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== question ===&lt;br /&gt;
what version of PyMol allows the functionality of set_bond?  I have 0.99rc6 and when I run your examples using set_bond and variants of them I receive either &amp;quot;SyntaxError: invalid syntax&amp;quot; or &amp;quot;NameError: name 'set_bond' is not defined.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Line_width&amp;diff=224</id>
		<title>Talk:Line width</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Line_width&amp;diff=224"/>
		<updated>2009-08-06T18:01:48Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I was wondering if it's possible to change the line_width for a selection.  Say I want to have two line representations, one with most of a molecule at line_width,2 and a selection at 4, say.  Doing the same with a sticks representation would be fine too if that's easier.&lt;br /&gt;
&lt;br /&gt;
As of this writing, I can set different line_width values to different objects/selection, but it doesn't seem to make a difference.&lt;br /&gt;
&lt;br /&gt;
Will update soon.&lt;br /&gt;
&lt;br /&gt;
[[User:Inchoate|Tree]] 18:56, 6 July 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Update'''&lt;br /&gt;
&lt;br /&gt;
You can do this in PyMOL.  Do&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set_bond line_width, 5, i. 1-10&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The line that connects two atoms in PyMOL is bond, so use set bond.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
what version of PyMol allows the functionality of set_bond?  I have 0.99rc6 and when I run your examples using set_bond and variants of them I receive either &amp;quot;SyntaxError: invalid syntax&amp;quot; or &amp;quot;NameError: name 'set_bond' is not defined.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=4023</id>
		<title>Category:FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=4023"/>
		<updated>2009-07-17T04:13:52Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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?  Please note, not all AQ are FAQ.  Also, many answers to frequently recurring problems are probably best sought by searching for your terms in the Wiki.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
Q: I've installed PyMol_0_98, and recently my structures have stopped displaying. I've tried uninstalling PyMol_0_98 and installing PyMol_0_97, and yet i've ran into the same problem...my .pdb files no longer display, although it is evident that they are being loaded and I can edit them.&lt;br /&gt;
&lt;br /&gt;
Does anybody have any clue as to what might be the problem?&lt;br /&gt;
Thanks, shebsmehr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Startup===&lt;br /&gt;
Q: I've installed PyMol_0_98 correctly but I can't open my files in .mol2 or .pdb format from the menubar. Instead I can open them with the program. I can't even save the images I create in PyMol and obviously the mivie too.&lt;br /&gt;
&lt;br /&gt;
Could you help me to solve these problems.&lt;br /&gt;
Thanks&lt;br /&gt;
Vittorio&lt;br /&gt;
&lt;br /&gt;
A1: Vittorio, if I understand you correctly, then you need to (a) make sure you have the PDB file on your machine, say Desktop (or home directory, for *nix), then in the GUI click on, &amp;quot;File&amp;quot;-&amp;gt;&amp;quot;Open&amp;quot; then use the dialog to find the file you want to load.  You can save time if you know where the file is by just using PyMol's &amp;quot;load&amp;quot; command&lt;br /&gt;
 load fileName, objectName&lt;br /&gt;
loads the fileName into a new object called objectName, for example,&lt;br /&gt;
 load /tmp/1ggz.pdb, 1ggz&lt;br /&gt;
&lt;br /&gt;
See [[Cmd load|load]], &lt;br /&gt;
&lt;br /&gt;
A2: To save images you have a couple options.  First, to save a quick raw screen dump type, &amp;quot;png fileName&amp;quot; to save a PNG image (IE and other programs can view these files).  Or, secondly, if you prefer a higher quality image with ray-traced shadows and textures you can do, &amp;quot;ray&amp;quot; then, the above &amp;quot;png&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
See [[Cmd ray|ray]], [[Cmd png|png]], [[:Category:Using_Pymol|Using PyMol]]&lt;br /&gt;
&lt;br /&gt;
Hope this helps.  If it didn't please restate your question to make it more clear.&lt;br /&gt;
----&lt;br /&gt;
Q: Hi I have a problem. For some reason PyMOl do not display certain areas (several loops) of my .pdb file (1DAN) when in cartoon. When I display the structure in &amp;quot;lines&amp;quot; or &amp;quot;sticks&amp;quot; everything is ok. Furthermore, other .pdb viewers dont have this problem. I have tried several things:&lt;br /&gt;
1. Upgraded to the newest version og PyMol.&lt;br /&gt;
2. Redefined secondary structure using the &amp;quot;alter command&amp;quot;.&lt;br /&gt;
3. Imported the .pdb file into SwissViewer, saved as the imported structure as a .pdb file, and then imported into PyMOl.&lt;br /&gt;
&lt;br /&gt;
None of these things have solved the problem. Help please! (I would hate to have to start using another pdb-viewer!!)&lt;br /&gt;
Cheers&lt;br /&gt;
Kasper&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: Can the startup settings be edited so that MacPyMol starts with a One-Button Mouse mode? Please advise.&lt;br /&gt;
A: echo &amp;quot;config_mouse one_button&amp;quot; &amp;gt;&amp;gt; ~/.pymolrc&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: What I should write into the .pymolrc (Mandriva Linux) to be able open PyMol with .pdb or .pml from shell? I was able to run pymol *.pdb with old 0.99rc6 version, but then I upgraded Mandriva Linux and this option is not working anymore.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
Q: I am wondering how to change the default settings for a color &amp;quot;spectrum&amp;quot;. I would like to color by b-factor but not with the default spectrum but from white-to-red.&lt;br /&gt;
&lt;br /&gt;
A: See [[Color#Color_by_Spectrum_Example]].&lt;br /&gt;
----&lt;br /&gt;
Q: I would like the distance labels generated with the 'distance' command to be single-digit only, e.g. 2.8 instead of 2.77. How can I do this? Thanks, MindFrog&lt;br /&gt;
&lt;br /&gt;
A: Setting startup settings and python commands can be done in a file: ~/.pymolrc&lt;br /&gt;
E.g. command in there: cmd.set('label_distance_digits',1)&lt;br /&gt;
On my windows machine this is in C:\Documents and Settings\jurgen.WHELK.000\.pymolrc&lt;br /&gt;
===Commands===&lt;br /&gt;
Q: I want to move one object while keeping another fixed. How do I do this?&lt;br /&gt;
&lt;br /&gt;
A: Load the proteins as separate objects, put the mouse into 3-button editing mode, then shift-middle click-and-drag on the molecule to translate and shift-left-click-and-drag to rotate. (Warren DeLano answer)&lt;br /&gt;
----&lt;br /&gt;
Q: I'd like to select residues that are in contact with a surface, or else be able to select buried/non-buried residues, is there any way to do this ? [[User:Xevi|Xevi]] 03:52, 16 Jun 2006 (CDT)&lt;br /&gt;
: I'm also looking for this (e.g. to see available lysines' -NH2 or cysteines' -SH on the surface), could one maybe cover the protein with an additional layer of new atoms, and then select all protein atoms close to these? Edit: there is now a simple solution for proteins displayed as non-transparent surfaces: [[Displaying_Biochemical_Properties#Residues_with_functional_groups]]  -- [[User:Moino|moino]] 19:35, 7 October 2008 (CDT)&lt;br /&gt;
----&lt;br /&gt;
Q: After using the usual mset command to rotate an object, states/frames are loaded into that object.  However, using the &amp;quot;frame&amp;quot; command has odd behaviour (in comparison to loading a molecular dynamics trajectory into the state in which the &amp;quot;frame&amp;quot; command behaves normally).  Can anyone explain this?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: How do I suppress the 'ExecutiveRMS' output while running cmd.pair_fit()?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: How does cmd.rms() choose a mapping between atoms in the selections?  Exhaustive search over all possibilities?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: How do I select (especially, iterate through a set of) bonds?  The existence of [http://www.pymolwiki.org/index.php/Cycle_Valence cycle valence] seems to imply that it can be done.  Is this possible via the API?&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Export/Import===&lt;br /&gt;
Q: Is there any way to export PyMol models onto CAD standards (autocad, archicad) or 3D modeling software (blender, 3DStudio, Maya)? Thanks a lot.&lt;br /&gt;
----&lt;br /&gt;
Q: I am doing some MD simulations using CHARMM (not AMBER) and would like to visualize the .dcd files output by CHARMM.  I understand that PyMol can open .trj files from AMBER but is there a way to open up these .dcd files and if not, are there any plans to implement this?  Thank you for your time!&lt;br /&gt;
&lt;br /&gt;
A: Answering my own question here.  See: [[Load_Traj]]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
Q: I was wondering what the percentage given under the mutengensis wizard means?   Thanks...&lt;br /&gt;
----&lt;br /&gt;
Q: Some of the bases in RNA helices are missing (not all in any given helix) when I am showing them in the CARTOON mode. How should I set it to get them shown? I tried the Secondary Structure Assignment commands, they did not work.&lt;br /&gt;
----&lt;br /&gt;
Q: Why does PyMol run version 2.3 of Python when I have Python 2.5 installed?  How do I tell it to switch?&lt;br /&gt;
----&lt;br /&gt;
Q: How do I cite PyMOL?&lt;br /&gt;
&lt;br /&gt;
A: DeLano, W.L. The PyMOL Molecular Graphics System. (2008) DeLano Scientific LLC, Palo Alto, CA, USA. http://www.pymol.org&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q:  What is the status of the VMD plugin for Pymol?  How does one install it?  Is it installed by default?  Will it appear in the plugins list?  I compiled from source and changed several configuration files, but I cant't seem to be able to get the VMD plugins working properly.  Thanks!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: If I want to ask a question to the PyMol Wiki community, how do I do that?  Is there a page for PyMol usage questions?&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=4022</id>
		<title>Category:FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=4022"/>
		<updated>2009-07-17T04:13:15Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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?  Please note, not all AQ are FAQ.  Also, many answers to frequently recurring problems are probably best sought by searching for your terms in the Wiki.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
Q: I've installed PyMol_0_98, and recently my structures have stopped displaying. I've tried uninstalling PyMol_0_98 and installing PyMol_0_97, and yet i've ran into the same problem...my .pdb files no longer display, although it is evident that they are being loaded and I can edit them.&lt;br /&gt;
&lt;br /&gt;
Does anybody have any clue as to what might be the problem?&lt;br /&gt;
Thanks, shebsmehr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Startup===&lt;br /&gt;
Q: I've installed PyMol_0_98 correctly but I can't open my files in .mol2 or .pdb format from the menubar. Instead I can open them with the program. I can't even save the images I create in PyMol and obviously the mivie too.&lt;br /&gt;
&lt;br /&gt;
Could you help me to solve these problems.&lt;br /&gt;
Thanks&lt;br /&gt;
Vittorio&lt;br /&gt;
&lt;br /&gt;
A1: Vittorio, if I understand you correctly, then you need to (a) make sure you have the PDB file on your machine, say Desktop (or home directory, for *nix), then in the GUI click on, &amp;quot;File&amp;quot;-&amp;gt;&amp;quot;Open&amp;quot; then use the dialog to find the file you want to load.  You can save time if you know where the file is by just using PyMol's &amp;quot;load&amp;quot; command&lt;br /&gt;
 load fileName, objectName&lt;br /&gt;
loads the fileName into a new object called objectName, for example,&lt;br /&gt;
 load /tmp/1ggz.pdb, 1ggz&lt;br /&gt;
&lt;br /&gt;
See [[Cmd load|load]], &lt;br /&gt;
&lt;br /&gt;
A2: To save images you have a couple options.  First, to save a quick raw screen dump type, &amp;quot;png fileName&amp;quot; to save a PNG image (IE and other programs can view these files).  Or, secondly, if you prefer a higher quality image with ray-traced shadows and textures you can do, &amp;quot;ray&amp;quot; then, the above &amp;quot;png&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
See [[Cmd ray|ray]], [[Cmd png|png]], [[:Category:Using_Pymol|Using PyMol]]&lt;br /&gt;
&lt;br /&gt;
Hope this helps.  If it didn't please restate your question to make it more clear.&lt;br /&gt;
----&lt;br /&gt;
Q: Hi I have a problem. For some reason PyMOl do not display certain areas (several loops) of my .pdb file (1DAN) when in cartoon. When I display the structure in &amp;quot;lines&amp;quot; or &amp;quot;sticks&amp;quot; everything is ok. Furthermore, other .pdb viewers dont have this problem. I have tried several things:&lt;br /&gt;
1. Upgraded to the newest version og PyMol.&lt;br /&gt;
2. Redefined secondary structure using the &amp;quot;alter command&amp;quot;.&lt;br /&gt;
3. Imported the .pdb file into SwissViewer, saved as the imported structure as a .pdb file, and then imported into PyMOl.&lt;br /&gt;
&lt;br /&gt;
None of these things have solved the problem. Help please! (I would hate to have to start using another pdb-viewer!!)&lt;br /&gt;
Cheers&lt;br /&gt;
Kasper&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: Can the startup settings be edited so that MacPyMol starts with a One-Button Mouse mode? Please advise.&lt;br /&gt;
A: echo &amp;quot;config_mouse one_button&amp;quot; &amp;gt;&amp;gt; ~/.pymolrc&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: What I should write into the .pymolrc (Mandriva Linux) to be able open PyMol with .pdb or .pml from shell? I was able to run pymol *.pdb with old 0.99rc6 version, but then I upgraded Mandriva Linux and this option is not working anymore.&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
Q: I am wondering how to change the default settings for a color &amp;quot;spectrum&amp;quot;. I would like to color by b-factor but not with the default spectrum but from white-to-red.&lt;br /&gt;
&lt;br /&gt;
A: See [[Color#Color_by_Spectrum_Example]].&lt;br /&gt;
----&lt;br /&gt;
Q: I would like the distance labels generated with the 'distance' command to be single-digit only, e.g. 2.8 instead of 2.77. How can I do this? Thanks, MindFrog&lt;br /&gt;
&lt;br /&gt;
A: Setting startup settings and python commands can be done in a file: ~/.pymolrc&lt;br /&gt;
E.g. command in there: cmd.set('label_distance_digits',1)&lt;br /&gt;
On my windows machine this is in C:\Documents and Settings\jurgen.WHELK.000\.pymolrc&lt;br /&gt;
===Commands===&lt;br /&gt;
Q: I want to move one object while keeping another fixed. How do I do this?&lt;br /&gt;
&lt;br /&gt;
A: Load the proteins as separate objects, put the mouse into 3-button editing mode, then shift-middle click-and-drag on the molecule to translate and shift-left-click-and-drag to rotate. (Warren DeLano answer)&lt;br /&gt;
----&lt;br /&gt;
Q: I'd like to select residues that are in contact with a surface, or else be able to select buried/non-buried residues, is there any way to do this ? [[User:Xevi|Xevi]] 03:52, 16 Jun 2006 (CDT)&lt;br /&gt;
: I'm also looking for this (e.g. to see available lysines' -NH2 or cysteines' -SH on the surface), could one maybe cover the protein with an additional layer of new atoms, and then select all protein atoms close to these? Edit: there is now a simple solution for proteins displayed as non-transparent surfaces: [[Displaying_Biochemical_Properties#Residues_with_functional_groups]]  -- [[User:Moino|moino]] 19:35, 7 October 2008 (CDT)&lt;br /&gt;
----&lt;br /&gt;
Q: After using the usual mset command to rotate an object, states/frames are loaded into that object.  However, using the &amp;quot;frame&amp;quot; command has odd behaviour (in comparison to loading a molecular dynamics trajectory into the state in which the &amp;quot;frame&amp;quot; command behaves normally).  Can anyone explain this?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: How do I suppress the 'ExecutiveRMS' output while running cmd.pair_fit()?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: How does cmd.rms() choose a mapping between atoms in the selections?  Exhaustive search over all possibilities?&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: How do I select (especially, iterate through a set of) bonds?  The existence of [http://www.pymolwiki.org/index.php/Cycle_Valence cycle valence] seems to imply that it can be done.  Is this possible via the API?&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Export/Import===&lt;br /&gt;
Q: Is there any way to export PyMol models onto CAD standards (autocad, archicad) or 3D modeling software (blender, 3DStudio, Maya)? Thanks a lot.&lt;br /&gt;
----&lt;br /&gt;
Q: I am doing some MD simulations using CHARMM (not AMBER) and would like to visualize the .dcd files output by CHARMM.  I understand that PyMol can open .trj files from AMBER but is there a way to open up these .dcd files and if not, are there any plans to implement this?  Thank you for your time!&lt;br /&gt;
&lt;br /&gt;
A: Answering my own question here.  See: [[Load_Traj]]&lt;br /&gt;
&lt;br /&gt;
===Others===&lt;br /&gt;
Q: I was wondering what the percentage given under the mutengensis wizard means?   Thanks...&lt;br /&gt;
----&lt;br /&gt;
Q: Some of the bases in RNA helices are missing (not all in any given helix) when I am showing them in the CARTOON mode. How should I set it to get them shown? I tried the Secondary Structure Assignment commands, they did not work.&lt;br /&gt;
----&lt;br /&gt;
Q: Why does PyMol run version 2.3 of Python when I have Python 2.5 installed?  How do I tell it to switch?&lt;br /&gt;
----&lt;br /&gt;
Q: How do I cite PyMOL?&lt;br /&gt;
&lt;br /&gt;
A: DeLano, W.L. The PyMOL Molecular Graphics System. (2008) DeLano Scientific LLC, Palo Alto, CA, USA. http://www.pymol.org&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q:  What is the status of the VMD plugin for Pymol?  How does one install it?  Is it installed by default?  Will it appear in the plugins list?  I compiled from source and changed several configuration files, but I cant't seem to be able to get the VMD plugins working properly.  Thanks!&lt;br /&gt;
---&lt;br /&gt;
Q: If I want to ask a question to the PyMol Wiki community, how do I do that?  Is there a page for PyMol usage questions?&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Line_width&amp;diff=221</id>
		<title>Talk:Line width</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Line_width&amp;diff=221"/>
		<updated>2009-07-06T16:44:16Z</updated>

		<summary type="html">&lt;p&gt;Baker1: Created page with 'I was wondering if it's possible to change the line_width for a selection.  Say I want to have two line representations, one with most of a molecule at line_width,2 and a selecti...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I was wondering if it's possible to change the line_width for a selection.  Say I want to have two line representations, one with most of a molecule at line_width,2 and a selection at 4, say.  Doing the same with a sticks representation would be fine too if that's easier.&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Huge_surfaces&amp;diff=70</id>
		<title>Talk:Huge surfaces</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Huge_surfaces&amp;diff=70"/>
		<updated>2009-03-31T22:33:59Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have appreciated learning to work with these objects and make more coarse grained images as you describe.  The command 'as spheres' has caused my pyMol to crash every time.  If I just leave it out I still seem to get the same result, but I was curious if anyone knows why that command would consistently make PyMol crash.  If I do 'hide everything' then 'show spheres' it also works just fine.&lt;br /&gt;
--[[User:Baker1|Baker1]] 17:33, 31 March 2009 (CDT)&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:Huge_surfaces&amp;diff=69</id>
		<title>Talk:Huge surfaces</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:Huge_surfaces&amp;diff=69"/>
		<updated>2009-03-31T22:33:34Z</updated>

		<summary type="html">&lt;p&gt;Baker1: New page: I have appreciated learning to work with these objects and make more coarse grained images as you describe.  The command 'as spheres' has caused my pyMol to crash every time.  If I just le...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have appreciated learning to work with these objects and make more coarse grained images as you describe.  The command 'as spheres' has caused my pyMol to crash every time.  If I just leave it out I still seem to get the same result, but I was curious if anyone knows why that command would consistently make PyMol crash.  If I do 'hide everything' then 'show spheres' it also works just fine.&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symexp&amp;diff=9020</id>
		<title>Symexp</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symexp&amp;diff=9020"/>
		<updated>2008-11-21T19:42:32Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== DESCRIPTION ===&lt;br /&gt;
'''symexp''' is used to reconstruct neighboring asymmetric units from the crystallographic experiment that produced the given structure.  This is assuming the use of a [http://www.rcsb.org/pdb/home/home.do PDB] file or equivalent that contains enough information to reproduce the lattice.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From the PyMOL developers: &lt;br /&gt;
    &amp;quot;'symexp' creates all symmetry related objects for the specified object&lt;br /&gt;
    that occurs within a cutoff about an atom selection.  The new objects&lt;br /&gt;
    are labeled using the prefix provided along with their crystallographic&lt;br /&gt;
    symmetry operation and translation.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== USAGE ===&lt;br /&gt;
In general:&amp;lt;br&amp;gt;&lt;br /&gt;
symexp(prefix,object,selection,cutoff)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For one protein:&amp;lt;br&amp;gt;&lt;br /&gt;
symexp name_for_new_objects,asymmetric_name,(asymmetric_name),distance&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ''name_for_new_objects'' (prefix) - PyMOL will generate a number of new objects corresponding to copies (rotated and translated) of the given asymmetric unit with the given name (prefix) appended with a numerical counter&lt;br /&gt;
* ''asymmetric_name'' (object) - this is the name of the loaded asymmetric unit that you wish to reproduce neighboring crystal partners for; the source of the symmetry operators&lt;br /&gt;
* ''(asymmetric_name)'' (selection) - the same name, but with parentheses around it if you are reproducing a crystal from its asymmetric unit - the source of atom coordinates&lt;br /&gt;
* ''distance'' (cutoff) - in Angstroms; reproduce any other unit that has any part of it falling withing ''distance'' Angstroms from the original asymmetric unit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== EXAMPLE ===&lt;br /&gt;
load any .pdb file into PyMOL (here we use 1GVF).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:1GVF_assym.png]]&lt;br /&gt;
&lt;br /&gt;
At the PyMOL command prompt type the following:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; symexp sym,1GVF,(1GVF),1&amp;lt;br&amp;gt;&lt;br /&gt;
produces three new objects.  We now have four objects corresponding to two biologic units (the functional protein in a cell).&lt;br /&gt;
&lt;br /&gt;
[[Image:1GVF_1A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; symexp sym,1GVF,(1GVF),5&amp;lt;br&amp;gt;&lt;br /&gt;
If we color all of the sym* cyan we will produce the following:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:1GVF_5A.jpeg]]&lt;br /&gt;
&lt;br /&gt;
As you can see, we can begin to understand the crystal environment of our asymmetric unit.  Increasing ''distance'' will reveal more of the crystal lattice, but will place in increasing demand on your computer's rendering ability.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: My PyMOL likes to crash if I ask it to ray trace or make a .png of anything that is too large.  ''Too large'' varies, but (for instance) I was not able to ray trace the above picture using the default settings.  Just making a .png image without the extra visual niceties rarely creates problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Baker1|Baker1]] 13:41, 10 November 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|symexp]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symexp&amp;diff=9019</id>
		<title>Symexp</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symexp&amp;diff=9019"/>
		<updated>2008-11-10T19:50:11Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== DESCRIPTION ===&lt;br /&gt;
'''symexp''' is used to reconstruct neighboring asymmetric units from the crystallographic experiment that produced the given structure.  This is assuming the use of a [http://www.rcsb.org/pdb/home/home.do PDB] file or equivalent that contains enough information to reproduce the lattice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== USAGE ===&lt;br /&gt;
symexp name_for_new_objects,asymmetric_name,(asymmetric_name),distance&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ''name_for_new_objects'' - PyMOL will generate a number of new objects corresponding to copies (rotated and translated) of the given asymmetric unit with the given name appended with a numerical counter&lt;br /&gt;
* ''asymmetric_name'' - this is the name of the loaded asymmetric unit that you wish to reproduce neighboring crystal partners for&lt;br /&gt;
* ''(asymmetric_name)'' - the same name, but with parantheses around it - my guess is that the first is the source of atom coordinates and this is the source of the symmetry operators, but that is only a guess.&lt;br /&gt;
* ''distance'' - in Angstroms; reproduce any other unit that has any part of it falling withing ''distance'' Angstroms from the original asymetric unit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== EXAMPLE ===&lt;br /&gt;
load any .pdb file into PyMOL (here we use 1GVF).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:1GVF_assym.png]]&lt;br /&gt;
&lt;br /&gt;
At the PyMOL command prompt type the following:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; symexp sym,1GVF,(1GVF),1&amp;lt;br&amp;gt;&lt;br /&gt;
produces three new objects.  We now have four objects corresponding to two biologic units (the functional protein in a cell).&lt;br /&gt;
&lt;br /&gt;
[[Image:1GVF_1A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; symexp sym,1GVF,(1GVF),5&amp;lt;br&amp;gt;&lt;br /&gt;
If we color all of the sym* cyan we will produce the following:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:1GVF_5A.jpeg]]&lt;br /&gt;
&lt;br /&gt;
As you can see, we can begin to understand the crystal environment of our asymmetric unit.  Increasing ''distance'' will reveal more of the crystal lattice, but will place in increasing demand on your computer's rendering ability.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: My PyMOL likes to crash if I ask it to ray trace or make a .png of anything that is too large.  I'm not sure how large too large is, but be aware of this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Baker1|Baker1]] 13:41, 10 November 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|symexp]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:1GVF_5A.jpeg&amp;diff=1098</id>
		<title>File:1GVF 5A.jpeg</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:1GVF_5A.jpeg&amp;diff=1098"/>
		<updated>2008-11-10T19:47:13Z</updated>

		<summary type="html">&lt;p&gt;Baker1: result of symexp on 1GVF; shows all crystal neighbors within 5A&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;result of symexp on 1GVF; shows all crystal neighbors within 5A&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:1GVF_1A.png&amp;diff=1584</id>
		<title>File:1GVF 1A.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:1GVF_1A.png&amp;diff=1584"/>
		<updated>2008-11-10T19:45:11Z</updated>

		<summary type="html">&lt;p&gt;Baker1: Result of symexp on 1GVF with a 1A distance; shows 2 biologic units&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Result of symexp on 1GVF with a 1A distance; shows 2 biologic units&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=File:1GVF_assym.png&amp;diff=1338</id>
		<title>File:1GVF assym.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=File:1GVF_assym.png&amp;diff=1338"/>
		<updated>2008-11-10T19:44:16Z</updated>

		<summary type="html">&lt;p&gt;Baker1: A picture produced in PyMOL of the crystallographic asymmetric unit of 1GVF&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A picture produced in PyMOL of the crystallographic asymmetric unit of 1GVF&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Symexp&amp;diff=9018</id>
		<title>Symexp</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Symexp&amp;diff=9018"/>
		<updated>2008-11-10T19:41:20Z</updated>

		<summary type="html">&lt;p&gt;Baker1: New page: === DESCRIPTION === '''symexp''' is used to reconstruct neighboring asymmetric units from the crystallographic experiment that produced the given structure.  This is assuming the use of a ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== DESCRIPTION ===&lt;br /&gt;
'''symexp''' is used to reconstruct neighboring asymmetric units from the crystallographic experiment that produced the given structure.  This is assuming the use of a [http://www.rcsb.org/pdb/home/home.do PDB] file or equivalent that contains enough information to reproduce the lattice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== USAGE ===&lt;br /&gt;
symexp name_for_new_objects,asymmetric_name,(asymmetric_name),distance&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ''name_for_new_objects'' - PyMOL will generate a number of new objects corresponding to copies (rotated and translated) of the given asymmetric unit with the given name appended with a numerical counter&lt;br /&gt;
* ''asymmetric_name'' - this is the name of the loaded asymmetric unit that you wish to reproduce neighboring crystal partners for&lt;br /&gt;
* ''(asymmetric_name)'' - the same name, but with parantheses around it - my guess is that the first is the source of atom coordinates and this is the source of the symmetry operators, but that is only a guess.&lt;br /&gt;
* ''distance'' - in Angstroms; reproduce any other unit that has any part of it falling withing ''distance'' Angstroms from the original asymetric unit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== EXAMPLE ===&lt;br /&gt;
load any .pdb file into PyMOL (here we use 1GVF).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add image of 1GVF&lt;br /&gt;
&lt;br /&gt;
At the PyMOL command prompt type the following:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt; symexp sym,1GVF,(1GVF),1&amp;lt;br&amp;gt;&lt;br /&gt;
produces three new objects.  We now have four objects corresponding to two biologic units (the functional protein in a cell).&lt;br /&gt;
&lt;br /&gt;
add image of 1GVF_1A&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; symexp sym,1GVF,(1GVF),5&amp;lt;br&amp;gt;&lt;br /&gt;
If we color all of the sym* cyan we will produce the following:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
add image of 1GVF_5A&lt;br /&gt;
&lt;br /&gt;
As you can see, we can begin to understand the crystal environment of our asymmetric unit.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: My PyMOL likes to crash if I ask it to ray trace or make a .png of anything that is too large.  I'm not sure how large too large is, but be aware of this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I will try to learn how to upload pictures soon.&lt;br /&gt;
--[[User:Baker1|Baker1]] 13:41, 10 November 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|symexp]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki_talk:Community_Portal&amp;diff=483</id>
		<title>PyMOLWiki talk:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki_talk:Community_Portal&amp;diff=483"/>
		<updated>2008-11-10T18:45:10Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PyMOL wiki folks,&amp;lt;br&amp;gt;&lt;br /&gt;
I am new to the wiki community and am wondering how I create a new page.  I would like to contribute an explanation of the symexp command and link it to the 'PyMOL commands' page.  Where do I go start this new page?&amp;lt;br&amp;gt;&lt;br /&gt;
Thanks.&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki_talk:Community_Portal&amp;diff=482</id>
		<title>PyMOLWiki talk:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki_talk:Community_Portal&amp;diff=482"/>
		<updated>2008-11-10T18:45:00Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PyMOL wiki folks,&amp;lt;br&amp;gt;&lt;br /&gt;
I am new to the wiki community and am wondering how I create a new page.  I would like to contribute an explanation of the symexp command and link it to the 'PyMOL commands' page.  Where do I go start this new page?&lt;br /&gt;
Thanks.&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=PyMOLWiki_talk:Community_Portal&amp;diff=481</id>
		<title>PyMOLWiki talk:Community Portal</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=PyMOLWiki_talk:Community_Portal&amp;diff=481"/>
		<updated>2008-11-10T18:44:49Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PyMOL wiki folks,&lt;br /&gt;
I am new to the wiki community and am wondering how I create a new page.  I would like to contribute an explanation of the symexp command and link it to the 'PyMOL commands' page.  Where do I go start this new page?&lt;br /&gt;
Thanks.&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3115</id>
		<title>User:Baker1</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3115"/>
		<updated>2008-11-08T20:27:14Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am a Ph.D. student in biophysics and bioinformatics (BCB).  You can learn more about BCB at Iowa State University at the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bioinformatics.iastate.edu/ L. H. Baker Center] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bcb.iastate.edu/index.html BCB at ISU] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://lab.bcb.iastate.edu/ BCB Lab] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3114</id>
		<title>User:Baker1</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3114"/>
		<updated>2008-11-08T20:26:17Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am a Ph.D. student in biophysics and bioinformatics.  You can learn more about BCB at Iowa State University at the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bioinformatics.iastate.edu/ Baker Center] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://www.bcb.iastate.edu/index.html ISU BCB] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; [http://lab.bcb.iastate.edu/ BCB Lab] &amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3113</id>
		<title>User:Baker1</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Baker1&amp;diff=3113"/>
		<updated>2008-11-08T20:24:32Z</updated>

		<summary type="html">&lt;p&gt;Baker1: New page: I am a Ph.D. student in biophysics and bioinformatics.  You can learn more about BCB at Iowa State University at the following:  [http://www.bioinformatics.iastate.edu/ Baker Center] [http...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am a Ph.D. student in biophysics and bioinformatics.  You can learn more about BCB at Iowa State University at the following:&lt;br /&gt;
&lt;br /&gt;
[http://www.bioinformatics.iastate.edu/ Baker Center]&lt;br /&gt;
[http://www.bcb.iastate.edu/index.html ISU BCB]&lt;br /&gt;
[http://lab.bcb.iastate.edu/ BCB Lab]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Cealign_plugin&amp;diff=13264</id>
		<title>Cealign plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Cealign_plugin&amp;diff=13264"/>
		<updated>2008-11-08T20:14:33Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
'''Go directly to [[Cealign#Version_0.8-RBS|DOWNLOAD]]'''&lt;br /&gt;
&lt;br /&gt;
This page is the home page of the open-source CEAlign PyMOL plugin.  The CE algorithm is a fast and accurate protein structure alignment algorithm, pioneered by Drs. Shindyalov and Bourne (See &lt;br /&gt;
References).  There are a few changes from the original CE publication (See Notes).  &lt;br /&gt;
&lt;br /&gt;
The source code is implemented in C with the rotations finally done by Numpy in Python.  Because the computationally complex portion of the code is written in C, it's quick.  That is, on my machines --- relatively fast 64-bit machines --- I can align two 400+ amino acid structures in about 0.300 s with the C++ implementation.&lt;br /&gt;
&lt;br /&gt;
This plugs into PyMol very easily.  See [[Cealign#The_Code|the code]] and [[Cealign#Examples|examples]] for installation and usage.&lt;br /&gt;
&lt;br /&gt;
== Comparison to PyMol ==&lt;br /&gt;
'''Why should you use this?'''&lt;br /&gt;
&lt;br /&gt;
PyMOL's structure alignment algorithm is fast and robust.  However, its first step is to perform a sequence alignment of the two selections.  Thus, proteins in the '''twilight zone''' or those having a low sequence identity, may not align well.  Because CE is a structure-based alignment, this is not a problem.  Consider the following example.  The image at LEFT was the result of CE-aligning two proteins (1C0M chain B to 1BCO).  The result is '''152''' aligned (alpha carbons) residues (not atoms) at '''4.96 Angstroms'''.  The image on the RIGHT shows the results from PyMol's align command: an alignment of '''221 atoms''' (not residues) at an RMSD of '''15.7 Angstroms'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:cealign_ex1.png|Cealign's results (152 aligned; 4.96 Ang.)&lt;br /&gt;
Image:pymol_align.png|PyMol's results (763 atoms; 18.4 Ang. )&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Usage ===&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
&lt;br /&gt;
CEAlign has the semantic, and syntactic formalism of&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cealign MASTER, TARGET&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
where a post-condition of the algorithm is that the coordinates of the '''MASTER''' protein are unchanged.  This allows for easier multi-protein alignments.  For example,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cealign 1AUE, 1BZ4&lt;br /&gt;
cealign 1AUE, 1B68&lt;br /&gt;
cealign 1AUE, 1A7V&lt;br /&gt;
cealign 1AUE, 1CPR&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
will superimpose all the TARGETS onto the MASTER.&lt;br /&gt;
&lt;br /&gt;
=====Examples=====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cealign 1cll and i. 42-55, 1ggz and c. A&lt;br /&gt;
cealign 1kao, 1ctq&lt;br /&gt;
cealign 1fao, 1eaz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Multiple Structure Alignments=====&lt;br /&gt;
Use the '''alignto''' command, now provided with cealign.  Just type,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
alignto PROT&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to align all your proteins in PyMOL to the one called, '''PROT'''.&lt;br /&gt;
&lt;br /&gt;
=== Results ===&lt;br /&gt;
See '''Changes''' for updates.  But, overall, the results here are great.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:v7_1fao_1eaz.png|EASY: 1FAO vs. 1EAZ; 96 residues, 1.28 Ang&lt;br /&gt;
Image:v7_1cbs_1hmt.png|EASY: 1CBS vs. 1HMT; 128 residues, 2.01 Ang&lt;br /&gt;
Image:v7_1a15_1b50.png|MODERATE: 1A15 vs 1B50; 56 residues, 2.54 Ang.&lt;br /&gt;
Image:v7_1oan_1s6n.png|EASY: 1OAN vs. 1S6N (state 1); 96 residues aligned to 3.83 Ang. RMSD.&lt;br /&gt;
Image:v7_1rlw_1byn.png|HARD: 1RLW to 1BYN; 104 residues; 2.21 Ang.&lt;br /&gt;
Image:v7_1ten_3hhr.png|HARD: 1TEN vs. 3HHR; 80 residues, 2.91 Ang.&lt;br /&gt;
Image:v7_2sim_1nsb.png|HARD: 2SIM vs. 1NSB; 272 residues, 4.93 Ang.&lt;br /&gt;
Image:v7_1cew_1mol.png|HARD: 1CEW vs. 1MOL; 80 residues, 4.03 Ang.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Mac OS X (10.5)===&lt;br /&gt;
[[Image:Cealign mac os x.png|300px|thumb|center|CEAlign running on Mac OS X (10.5)]]&lt;br /&gt;
* Install PyMOL under fink.&lt;br /&gt;
* Install Numpy for fink:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/sw/bin/fink install scipy-core-25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* Install cealign&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo /sw/bin/python setup.py install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* In PyMOL, run the two scripts needed for cealing: &amp;quot;cealign.py&amp;quot; and &amp;quot;qkabsch.py&amp;quot;.&lt;br /&gt;
* Voila!&lt;br /&gt;
&lt;br /&gt;
===Windows systems===&lt;br /&gt;
This is a quick and dirty method to get it working on Win32 right now, more details coming soon.&lt;br /&gt;
====Requirements====&lt;br /&gt;
* Latest PyMol, installed on your system&lt;br /&gt;
* Numpy for python 2.4 -- quick download of just what's needed: http://users.umassmed.edu/Shivender.Shandilya/pymol/numpy.zip&lt;br /&gt;
* Pre-compiled ccealign.pyd python module: http://users.umassmed.edu/Shivender.Shandilya/pymol/ccealign.zip&lt;br /&gt;
* Modified pymolrc: http://users.umassmed.edu/Shivender.Shandilya/pymol/pymolrc&lt;br /&gt;
* cealign.py and qkabsch.py from the Cealign-0.8-RBS package: download below&lt;br /&gt;
&lt;br /&gt;
====Directions====&lt;br /&gt;
# Unzip the numpy.zip file, which will give you a folder named '''numpy'''&lt;br /&gt;
# Move this entire folder to: C:\Program Files\DeLano Scientific\PyMOL\modules\  (or the corresponding location on your system)&lt;br /&gt;
# Unzip ccealign.zip, which will give you a file called  '''ccealign.pyd'''&lt;br /&gt;
# Move this pyd file to: C:\Program Files\DeLano Scientific\PyMOL\py24\DLLs\  (or the corresponding location on your system)&lt;br /&gt;
# Copy the downloaded '''pymolrc''' file to: C:\Program Files\DeLano Scientific\PyMOL\   (or the corresponding location on your system)&lt;br /&gt;
# Extract and copy the files cealign.py and qkabsch.py from the Cealign-0.8-RBS package to: C:\Program Files\DeLano Scientific\PyMOL\py24\Lib\   (or the corresponding location on your system)&lt;br /&gt;
# Run PyMol and load some molecules&lt;br /&gt;
# Run this command in Pymol: '''cealign molecule1, molecule2'''&lt;br /&gt;
# Enjoy!&lt;br /&gt;
&lt;br /&gt;
===*nix systems===&lt;br /&gt;
====Requirements====&lt;br /&gt;
* C compiler&lt;br /&gt;
* Python 2.4+ with distutils&lt;br /&gt;
* Numpy&lt;br /&gt;
** for User-compiled PyMOL: &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;python setup.py install&amp;lt;/source&amp;gt;&lt;br /&gt;
** for the precompiled version of PyMOL &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;python setup.py install --prefix &amp;quot;&amp;quot; --root /DIR_TO/pymol/ext/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Directions====&lt;br /&gt;
# uncompress the distribution file '''cealign-VERSION.tgz'''&lt;br /&gt;
# cd cealign-VERSION&lt;br /&gt;
# sudo python setup.py install  # if you installed by PyMOL by hand&lt;br /&gt;
## python setup.py install --prefix &amp;quot;&amp;quot; --root /DIR/TO/pymol/ext/  # if you are using the precompiled binary download&lt;br /&gt;
# insert &amp;quot;run DIR_TO_CEALIGN/cealign.py&amp;quot; and &amp;quot;run DIR_TO_CEALIGN/qkabsch.py&amp;quot; into your '''.pymolrc''' file, or just run the two Python scripts by hand.&lt;br /&gt;
# load some molecules&lt;br /&gt;
# run, '''cealign molecule1, molecule2'''&lt;br /&gt;
# enjoy&lt;br /&gt;
&lt;br /&gt;
=====Pre-compiled Hackish Install=====&lt;br /&gt;
For those people that prefer to use the pre-compiled version of PyMOL, here are the basics for your install.  '''This is a poor method of installing Cealign.  I suggest users compile and install their own PyMOL.'''  The final goal is to get &lt;br /&gt;
# '''ccealign.so''' module into '''PYMOL/ext/lib/python2.4/site-packages'''&lt;br /&gt;
# numpy installed (get the numpy directory into (or linked into) '''PYMOL/ext/lib/python2.4/site-packages'''&lt;br /&gt;
# and be able to run cealign.py and qkabsch.py from PyMOL.&lt;br /&gt;
If you can do the above three steps, '''cealign''' should run from the pre-compiled PyMOL.&lt;br /&gt;
&lt;br /&gt;
In more detail, on a completely fictitious machine --- that is, I created the following commands from a fake machine and I don't expect a copy/paste of this to work '''anywhere''', but the commands should be helpful enough to those who need it:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# NOTES:&lt;br /&gt;
# This is fake code: don't copy/paste it.&lt;br /&gt;
#&lt;br /&gt;
# PYMOL='dir to precompiled PyMOL install'&lt;br /&gt;
# CEALIGN='dir where you will unpack cealign'&lt;br /&gt;
# replace lib with lib64 for x86-64&lt;br /&gt;
# install numpy&lt;br /&gt;
apt-get install numpy&lt;br /&gt;
&lt;br /&gt;
# link numpy to PyMOL&lt;br /&gt;
ln -s /usr/local/lib/python2.4/site-packages/numpy PYMOL/ext/lib/python2.4/site-packages&lt;br /&gt;
&lt;br /&gt;
# download and install Cealign&lt;br /&gt;
wget http://www.pymolwiki.org/images/e/ed/Cealign-0.6.tar.bz2&lt;br /&gt;
tar -jxvf Cealign-0.6.tar.bz2&lt;br /&gt;
cd cealign-0.6&lt;br /&gt;
sudo python setup.py build&lt;br /&gt;
cp build/lib-XYZ-linux/ccealign.so PYMOL/ext/lib/python2.4/site-packages&lt;br /&gt;
&lt;br /&gt;
# run pymol and try it out&lt;br /&gt;
pymol&lt;br /&gt;
run CEALIGN/cealign.py&lt;br /&gt;
run CEALIGN/qkabsch.py&lt;br /&gt;
fetch 1cew 1mol, async=0&lt;br /&gt;
cealign 1c, 1m&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Code ==&lt;br /&gt;
Please unpack and read the documentation.  All comments/questions should be directed to Jason Vertrees (javertre _at_ utmb ...dot... edu).  &lt;br /&gt;
&lt;br /&gt;
'''LATEST IS v0.8-RBS'''.  (Dedicated to Bryan Sutton for allowing me to use his computer for testing.)&lt;br /&gt;
&lt;br /&gt;
=== Version 0.8-RBS ===&lt;br /&gt;
* '''Download: [[Media:Cealign-0.8-RBS.tar.bz2|CE Align v0.8-RBS]] (bz2)'''&lt;br /&gt;
* '''Download: [[Media:Cealign-0.8-RBS.zip|CE Align v0.8-RBS]] (zip)'''&lt;br /&gt;
&lt;br /&gt;
=== Beta Version 0.9 ===&lt;br /&gt;
Use at your own peril.  Please report any problems or inconsistent alignments to this discussion page, or to me directly; my email address all over this page.&lt;br /&gt;
&lt;br /&gt;
'''Improvements/Changes''':&lt;br /&gt;
* All C++&lt;br /&gt;
** So, faster&lt;br /&gt;
** comes with the dependencies built in&lt;br /&gt;
* No numpy&lt;br /&gt;
&lt;br /&gt;
''' Download: [[Media:Cealign-0.9.zip|CE Align v0.9]] (zip)'''&lt;br /&gt;
&lt;br /&gt;
== Coming Soon ==&lt;br /&gt;
* Windows binary&lt;br /&gt;
* Linux Binaries (32bit, x86-64)&lt;br /&gt;
* Better instructions for precompiled distributions&lt;br /&gt;
* Optimization&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
&lt;br /&gt;
=== 2008-03-25 ===&lt;br /&gt;
Pure C++ code released.  See the beta version above.&lt;br /&gt;
&lt;br /&gt;
=== 2007-04-14 ===&lt;br /&gt;
v0.8-RBS source updated.  Found the bug that had been plaguing 32-bit machines.  This should be the last release for a little while.&lt;br /&gt;
&lt;br /&gt;
Also, I provide the option of aligning based solely upon RMSD or upon the better CE-Score.  See the '''References''' for information on the '''CE Score'''.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
Post your problems/solutions here.&lt;br /&gt;
&lt;br /&gt;
=== Unicode Issues in Python/Numpy ===&lt;br /&gt;
'''Problem''': Running/Installing cealign gives&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/byron/software/pymol_1.00b17/pymol/modules/pymol/parser.py&amp;quot;,&lt;br /&gt;
line 308, in parse&lt;br /&gt;
  File &amp;quot;/home/byron/software/pymol_1.00b17/pymol/modules/pymol/parsing.py&amp;quot;,&lt;br /&gt;
line 410, in run_file&lt;br /&gt;
  File &amp;quot;qkabsch.py&amp;quot;, line 86, in ?&lt;br /&gt;
    import numpy&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.4/site-packages/numpy/__init__.py&amp;quot;, line 36, in ?&lt;br /&gt;
    import core&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.4/site-packages/numpy/core/__init__.py&amp;quot;, line 5, in ?&lt;br /&gt;
    import multiarray&lt;br /&gt;
ImportError: /home/byron/software/pymol/ext/lib/python2.4/site-packages/numpy/core/multiarray.so:&lt;br /&gt;
undefined symbol: _PyUnicodeUCS4_IsWhitespace&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
where the important line is&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
undefined symbol: _PyUnicodeUCS4_IsWhitespace&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem indicates that your Numpy Unicode is using a different byte-size for unicode characters than is the Python distribution your PyMOL is running from.  For example, this can happen if you use the pre-built PyMOL and some other pre-built Numpy package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution''': Hand-install Numpy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LinAlg Module Not Found ===&lt;br /&gt;
'''Problem''': Running CE Align gives the following error message:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
run qkabsch.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;quot;/usr/lib/python2.4/site-packages/pymol/parser.py&amp;quot;, line 285, in parse&lt;br /&gt;
parsing.run_file(exp_path(args[nest][0]),pymol_names,pymol_names)&lt;br /&gt;
File &amp;quot;/usr/lib/python2.4/site-packages/pymol/parsing.py&amp;quot;, line 407, in run_file&lt;br /&gt;
execfile(file,global_ns,local_ns)&lt;br /&gt;
File &amp;quot;qkabsch.py&amp;quot;, line 86, in ?&lt;br /&gt;
import numpy&lt;br /&gt;
File &amp;quot;/usr/lib/python2.4/site-packages/numpy/__init__.py&amp;quot;, line 40, in ?&lt;br /&gt;
import linalg&lt;br /&gt;
ImportError: No module named linalg&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution''': You do not have the linear algebra module installed (or Python can't find it) on your machine.  One workaround is to install [http://www.scipy.org/ Scientific Python]. (on debian/ubuntu this can be done by: sudo apt-get install python-scipy) Another is to reinstall the Numpy package from source, ensuring that you have the necessary requirements for the linear algebra module (linpack, lapack, fft, etc.).&lt;br /&gt;
&lt;br /&gt;
=== CCEAlign &amp;amp; NumPy Modules Not Found ===&lt;br /&gt;
'''Problem''': Running CE Align gives the following error message:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;run cealign.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parser.py&amp;quot;, line 297, in parse&lt;br /&gt;
  File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parsing.py&amp;quot;, line 408, in run_file&lt;br /&gt;
  File &amp;quot;/usr/local/pymol/scripts/cealign-0.1/cealign.py&amp;quot;, line 59, in ?&lt;br /&gt;
    from ccealign import ccealign&lt;br /&gt;
ImportError: No module named ccealign&lt;br /&gt;
run qkabsch.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parser.py&amp;quot;, line 297, in parse&lt;br /&gt;
File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parsing.py&amp;quot;, line 408, in run_file&lt;br /&gt;
File &amp;quot;qkabsch.py&amp;quot;, line 86, in ?&lt;br /&gt;
import numpy&lt;br /&gt;
ImportError: No module named numpy&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution''': This problem occurs under [http://www.apple.com/macosx Apple Mac OS X] if (a) the Apple's python executable on your machine (/usr/bin/python, currently version 2.3.5) is superseded by [http://fink.sourceforge.net/ Fink]'s python executable (/sw/bin/python, currently version 2.5) and (b) you are using [http://delsci.com/rel/099/#MacOSX precompiled versions of PyMOL] (MacPyMOL, PyMOLX11Hybrid or PyMOL for Mac OS X/X11). These executables ignore Fink's python and instead use Apple's - so, in order to run CE Align, one must install NumPy (as well as CE Align itself) using Apple's python. To do so, first download the [http://sourceforge.net/project/showfiles.php?group_id=1369&amp;amp;package_id=175103 Numpy source code archive] (currently version 1.0.1), unpack it, change directory to numpy-1.0.1 and specify the full path to Apple's python executable during installation: &amp;lt;tt&amp;gt;sudo /usr/bin/python setup.py install | tee install.log&amp;lt;/tt&amp;gt;. Then, donwload the [http://www.pymolwiki.org/index.php/Cealign#The_Code CE Align source code archive] (currently version 0.2), unpack it, change directory to cealign-0.2 and finally install CE Align as follows: &amp;lt;tt&amp;gt;sudo /usr/bin/python setup.py install | tee install.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
[[User:Lucajovine|Luca Jovine]] 05:11, 25 January 2007 (CST).&lt;br /&gt;
&lt;br /&gt;
=== The Function SimpAlign() is not found ===&lt;br /&gt;
'''Problem''': Running CE Align gives the following error message:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;cealign 1CLL,1GGZ&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\Program Files (x86)\DeLano Scientific\PyMOL/modules\pymol\parser.py&amp;quot;, line 203, in parse&lt;br /&gt;
    result=apply(kw[nest][0],args[nest],kw_args[nest])&lt;br /&gt;
  File &amp;quot;py24/Lib/cealign.py&amp;quot;, line 177, in cealign&lt;br /&gt;
    curScore = simpAlign( matA, matB, mol1, mol2, stored.mol1, stored.mol2, align=0, L=len(matA) )&lt;br /&gt;
NameError: global name 'simpAlign' is not defined&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
I am running PyMOL v. 0.99rc6 on Win XP Professional x64 edition version 2003 sp2 and have followed the windows install procedure as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Short Alignments Don't Work ===&lt;br /&gt;
If you are trying to align fewer than 16 residues then use [[align]], [[super]], or [[optAlign]].  CE uses a window size of 8; and to build a path of more than one window, you need 2*8=16 residues.  I will insert some code to re-route small alignments to one of the aforementioned alignment algorithms.&lt;br /&gt;
&lt;br /&gt;
=== It Worked A Second Ago! ===&lt;br /&gt;
[[Image:Rewind.png|thumb|right|Showing the rewind button to rewind to state 1.]]&lt;br /&gt;
&lt;br /&gt;
If you were using cealign (or alignto) and now the commands don't work -- that is, they return an RMSD, but don't actually superimpose the objects, then you have a simple problem dealing with states.  Most likely the cause of this oddness was (1) when you issued &amp;quot;cealign prot1, prot2&amp;quot; one of them was actually an ensemble of states or (2) you are trying to align to proteins with only one state, but are not looking at state one (because the last protein you were considering had more than one state and you quit editing that protein on a state that's not state 1).  To fix this, use the rewind button to get the proteins back into state 1 &amp;amp; reissue the cealign/alignto command.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
Text taken from PubMed and formatted for the wiki.  The first reference is the most important for this code.&lt;br /&gt;
&lt;br /&gt;
#  Shindyalov IN, Bourne PE. '''Protein structure alignment by incremental combinatorial extension (CE) of the optimal path.'''  ''Protein Eng.'' 1998 Sep;11(9):739-47.  PMID: 9796821 [PubMed - indexed for MEDLINE]&lt;br /&gt;
# Jia Y, Dewey TG, Shindyalov IN, Bourne PE. '''A new scoring function and associated statistical significance for structure alignment by CE.'''  ''J Comput Biol.'' 2004;11(5):787-99. PMID: 15700402 [PubMed - indexed for MEDLINE]&lt;br /&gt;
#  Pekurovsky D, Shindyalov IN, Bourne PE. '''A case study of high-throughput biological data processing on parallel platforms.'''  ''Bioinformatics.'' 2004 Aug 12;20(12):1940-7. Epub 2004 Mar 25.  PMID: 15044237 [PubMed - indexed for MEDLINE]&lt;br /&gt;
#  Shindyalov IN, Bourne PE. '''An alternative view of protein fold space.'''  ''Proteins.'' 2000 Feb 15;38(3):247-60.  PMID: 10713986 [PubMed - indexed for MEDLINE]&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
The CEAlign and all its subprograms that I wrote, are released under the open source Free BSD License (BSDL).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library]]&lt;br /&gt;
[[Category:Structure_Alignment|Cealign]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Cealign&amp;diff=2956</id>
		<title>Cealign</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Cealign&amp;diff=2956"/>
		<updated>2008-11-08T20:14:33Z</updated>

		<summary type="html">&lt;p&gt;Baker1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
'''Go directly to [[Cealign#Version_0.8-RBS|DOWNLOAD]]'''&lt;br /&gt;
&lt;br /&gt;
This page is the home page of the open-source CEAlign PyMOL plugin.  The CE algorithm is a fast and accurate protein structure alignment algorithm, pioneered by Drs. Shindyalov and Bourne (See &lt;br /&gt;
References).  There are a few changes from the original CE publication (See Notes).  &lt;br /&gt;
&lt;br /&gt;
The source code is implemented in C with the rotations finally done by Numpy in Python.  Because the computationally complex portion of the code is written in C, it's quick.  That is, on my machines --- relatively fast 64-bit machines --- I can align two 400+ amino acid structures in about 0.300 s with the C++ implementation.&lt;br /&gt;
&lt;br /&gt;
This plugs into PyMol very easily.  See [[Cealign#The_Code|the code]] and [[Cealign#Examples|examples]] for installation and usage.&lt;br /&gt;
&lt;br /&gt;
== Comparison to PyMol ==&lt;br /&gt;
'''Why should you use this?'''&lt;br /&gt;
&lt;br /&gt;
PyMOL's structure alignment algorithm is fast and robust.  However, its first step is to perform a sequence alignment of the two selections.  Thus, proteins in the '''twilight zone''' or those having a low sequence identity, may not align well.  Because CE is a structure-based alignment, this is not a problem.  Consider the following example.  The image at LEFT was the result of CE-aligning two proteins (1C0M chain B to 1BCO).  The result is '''152''' aligned (alpha carbons) residues (not atoms) at '''4.96 Angstroms'''.  The image on the RIGHT shows the results from PyMol's align command: an alignment of '''221 atoms''' (not residues) at an RMSD of '''15.7 Angstroms'''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:cealign_ex1.png|Cealign's results (152 aligned; 4.96 Ang.)&lt;br /&gt;
Image:pymol_align.png|PyMol's results (763 atoms; 18.4 Ang. )&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Usage ===&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
&lt;br /&gt;
CEAlign has the semantic, and syntactic formalism of&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cealign MASTER, TARGET&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
where a post-condition of the algorithm is that the coordinates of the '''MASTER''' protein are unchanged.  This allows for easier multi-protein alignments.  For example,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cealign 1AUE, 1BZ4&lt;br /&gt;
cealign 1AUE, 1B68&lt;br /&gt;
cealign 1AUE, 1A7V&lt;br /&gt;
cealign 1AUE, 1CPR&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
will superimpose all the TARGETS onto the MASTER.&lt;br /&gt;
&lt;br /&gt;
=====Examples=====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cealign 1cll and i. 42-55, 1ggz and c. A&lt;br /&gt;
cealign 1kao, 1ctq&lt;br /&gt;
cealign 1fao, 1eaz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Multiple Structure Alignments=====&lt;br /&gt;
Use the '''alignto''' command, now provided with cealign.  Just type,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
alignto PROT&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to align all your proteins in PyMOL to the one called, '''PROT'''.&lt;br /&gt;
&lt;br /&gt;
=== Results ===&lt;br /&gt;
See '''Changes''' for updates.  But, overall, the results here are great.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:v7_1fao_1eaz.png|EASY: 1FAO vs. 1EAZ; 96 residues, 1.28 Ang&lt;br /&gt;
Image:v7_1cbs_1hmt.png|EASY: 1CBS vs. 1HMT; 128 residues, 2.01 Ang&lt;br /&gt;
Image:v7_1a15_1b50.png|MODERATE: 1A15 vs 1B50; 56 residues, 2.54 Ang.&lt;br /&gt;
Image:v7_1oan_1s6n.png|EASY: 1OAN vs. 1S6N (state 1); 96 residues aligned to 3.83 Ang. RMSD.&lt;br /&gt;
Image:v7_1rlw_1byn.png|HARD: 1RLW to 1BYN; 104 residues; 2.21 Ang.&lt;br /&gt;
Image:v7_1ten_3hhr.png|HARD: 1TEN vs. 3HHR; 80 residues, 2.91 Ang.&lt;br /&gt;
Image:v7_2sim_1nsb.png|HARD: 2SIM vs. 1NSB; 272 residues, 4.93 Ang.&lt;br /&gt;
Image:v7_1cew_1mol.png|HARD: 1CEW vs. 1MOL; 80 residues, 4.03 Ang.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Mac OS X (10.5)===&lt;br /&gt;
[[Image:Cealign mac os x.png|300px|thumb|center|CEAlign running on Mac OS X (10.5)]]&lt;br /&gt;
* Install PyMOL under fink.&lt;br /&gt;
* Install Numpy for fink:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/sw/bin/fink install scipy-core-25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* Install cealign&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo /sw/bin/python setup.py install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* In PyMOL, run the two scripts needed for cealing: &amp;quot;cealign.py&amp;quot; and &amp;quot;qkabsch.py&amp;quot;.&lt;br /&gt;
* Voila!&lt;br /&gt;
&lt;br /&gt;
===Windows systems===&lt;br /&gt;
This is a quick and dirty method to get it working on Win32 right now, more details coming soon.&lt;br /&gt;
====Requirements====&lt;br /&gt;
* Latest PyMol, installed on your system&lt;br /&gt;
* Numpy for python 2.4 -- quick download of just what's needed: http://users.umassmed.edu/Shivender.Shandilya/pymol/numpy.zip&lt;br /&gt;
* Pre-compiled ccealign.pyd python module: http://users.umassmed.edu/Shivender.Shandilya/pymol/ccealign.zip&lt;br /&gt;
* Modified pymolrc: http://users.umassmed.edu/Shivender.Shandilya/pymol/pymolrc&lt;br /&gt;
* cealign.py and qkabsch.py from the Cealign-0.8-RBS package: download below&lt;br /&gt;
&lt;br /&gt;
====Directions====&lt;br /&gt;
# Unzip the numpy.zip file, which will give you a folder named '''numpy'''&lt;br /&gt;
# Move this entire folder to: C:\Program Files\DeLano Scientific\PyMOL\modules\  (or the corresponding location on your system)&lt;br /&gt;
# Unzip ccealign.zip, which will give you a file called  '''ccealign.pyd'''&lt;br /&gt;
# Move this pyd file to: C:\Program Files\DeLano Scientific\PyMOL\py24\DLLs\  (or the corresponding location on your system)&lt;br /&gt;
# Copy the downloaded '''pymolrc''' file to: C:\Program Files\DeLano Scientific\PyMOL\   (or the corresponding location on your system)&lt;br /&gt;
# Extract and copy the files cealign.py and qkabsch.py from the Cealign-0.8-RBS package to: C:\Program Files\DeLano Scientific\PyMOL\py24\Lib\   (or the corresponding location on your system)&lt;br /&gt;
# Run PyMol and load some molecules&lt;br /&gt;
# Run this command in Pymol: '''cealign molecule1, molecule2'''&lt;br /&gt;
# Enjoy!&lt;br /&gt;
&lt;br /&gt;
===*nix systems===&lt;br /&gt;
====Requirements====&lt;br /&gt;
* C compiler&lt;br /&gt;
* Python 2.4+ with distutils&lt;br /&gt;
* Numpy&lt;br /&gt;
** for User-compiled PyMOL: &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;python setup.py install&amp;lt;/source&amp;gt;&lt;br /&gt;
** for the precompiled version of PyMOL &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;python setup.py install --prefix &amp;quot;&amp;quot; --root /DIR_TO/pymol/ext/&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Directions====&lt;br /&gt;
# uncompress the distribution file '''cealign-VERSION.tgz'''&lt;br /&gt;
# cd cealign-VERSION&lt;br /&gt;
# sudo python setup.py install  # if you installed by PyMOL by hand&lt;br /&gt;
## python setup.py install --prefix &amp;quot;&amp;quot; --root /DIR/TO/pymol/ext/  # if you are using the precompiled binary download&lt;br /&gt;
# insert &amp;quot;run DIR_TO_CEALIGN/cealign.py&amp;quot; and &amp;quot;run DIR_TO_CEALIGN/qkabsch.py&amp;quot; into your '''.pymolrc''' file, or just run the two Python scripts by hand.&lt;br /&gt;
# load some molecules&lt;br /&gt;
# run, '''cealign molecule1, molecule2'''&lt;br /&gt;
# enjoy&lt;br /&gt;
&lt;br /&gt;
=====Pre-compiled Hackish Install=====&lt;br /&gt;
For those people that prefer to use the pre-compiled version of PyMOL, here are the basics for your install.  '''This is a poor method of installing Cealign.  I suggest users compile and install their own PyMOL.'''  The final goal is to get &lt;br /&gt;
# '''ccealign.so''' module into '''PYMOL/ext/lib/python2.4/site-packages'''&lt;br /&gt;
# numpy installed (get the numpy directory into (or linked into) '''PYMOL/ext/lib/python2.4/site-packages'''&lt;br /&gt;
# and be able to run cealign.py and qkabsch.py from PyMOL.&lt;br /&gt;
If you can do the above three steps, '''cealign''' should run from the pre-compiled PyMOL.&lt;br /&gt;
&lt;br /&gt;
In more detail, on a completely fictitious machine --- that is, I created the following commands from a fake machine and I don't expect a copy/paste of this to work '''anywhere''', but the commands should be helpful enough to those who need it:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# NOTES:&lt;br /&gt;
# This is fake code: don't copy/paste it.&lt;br /&gt;
#&lt;br /&gt;
# PYMOL='dir to precompiled PyMOL install'&lt;br /&gt;
# CEALIGN='dir where you will unpack cealign'&lt;br /&gt;
# replace lib with lib64 for x86-64&lt;br /&gt;
# install numpy&lt;br /&gt;
apt-get install numpy&lt;br /&gt;
&lt;br /&gt;
# link numpy to PyMOL&lt;br /&gt;
ln -s /usr/local/lib/python2.4/site-packages/numpy PYMOL/ext/lib/python2.4/site-packages&lt;br /&gt;
&lt;br /&gt;
# download and install Cealign&lt;br /&gt;
wget http://www.pymolwiki.org/images/e/ed/Cealign-0.6.tar.bz2&lt;br /&gt;
tar -jxvf Cealign-0.6.tar.bz2&lt;br /&gt;
cd cealign-0.6&lt;br /&gt;
sudo python setup.py build&lt;br /&gt;
cp build/lib-XYZ-linux/ccealign.so PYMOL/ext/lib/python2.4/site-packages&lt;br /&gt;
&lt;br /&gt;
# run pymol and try it out&lt;br /&gt;
pymol&lt;br /&gt;
run CEALIGN/cealign.py&lt;br /&gt;
run CEALIGN/qkabsch.py&lt;br /&gt;
fetch 1cew 1mol, async=0&lt;br /&gt;
cealign 1c, 1m&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Code ==&lt;br /&gt;
Please unpack and read the documentation.  All comments/questions should be directed to Jason Vertrees (javertre _at_ utmb ...dot... edu).  &lt;br /&gt;
&lt;br /&gt;
'''LATEST IS v0.8-RBS'''.  (Dedicated to Bryan Sutton for allowing me to use his computer for testing.)&lt;br /&gt;
&lt;br /&gt;
=== Version 0.8-RBS ===&lt;br /&gt;
* '''Download: [[Media:Cealign-0.8-RBS.tar.bz2|CE Align v0.8-RBS]] (bz2)'''&lt;br /&gt;
* '''Download: [[Media:Cealign-0.8-RBS.zip|CE Align v0.8-RBS]] (zip)'''&lt;br /&gt;
&lt;br /&gt;
=== Beta Version 0.9 ===&lt;br /&gt;
Use at your own peril.  Please report any problems or inconsistent alignments to this discussion page, or to me directly; my email address all over this page.&lt;br /&gt;
&lt;br /&gt;
'''Improvements/Changes''':&lt;br /&gt;
* All C++&lt;br /&gt;
** So, faster&lt;br /&gt;
** comes with the dependencies built in&lt;br /&gt;
* No numpy&lt;br /&gt;
&lt;br /&gt;
''' Download: [[Media:Cealign-0.9.zip|CE Align v0.9]] (zip)'''&lt;br /&gt;
&lt;br /&gt;
== Coming Soon ==&lt;br /&gt;
* Windows binary&lt;br /&gt;
* Linux Binaries (32bit, x86-64)&lt;br /&gt;
* Better instructions for precompiled distributions&lt;br /&gt;
* Optimization&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
&lt;br /&gt;
=== 2008-03-25 ===&lt;br /&gt;
Pure C++ code released.  See the beta version above.&lt;br /&gt;
&lt;br /&gt;
=== 2007-04-14 ===&lt;br /&gt;
v0.8-RBS source updated.  Found the bug that had been plaguing 32-bit machines.  This should be the last release for a little while.&lt;br /&gt;
&lt;br /&gt;
Also, I provide the option of aligning based solely upon RMSD or upon the better CE-Score.  See the '''References''' for information on the '''CE Score'''.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
Post your problems/solutions here.&lt;br /&gt;
&lt;br /&gt;
=== Unicode Issues in Python/Numpy ===&lt;br /&gt;
'''Problem''': Running/Installing cealign gives&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/byron/software/pymol_1.00b17/pymol/modules/pymol/parser.py&amp;quot;,&lt;br /&gt;
line 308, in parse&lt;br /&gt;
  File &amp;quot;/home/byron/software/pymol_1.00b17/pymol/modules/pymol/parsing.py&amp;quot;,&lt;br /&gt;
line 410, in run_file&lt;br /&gt;
  File &amp;quot;qkabsch.py&amp;quot;, line 86, in ?&lt;br /&gt;
    import numpy&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.4/site-packages/numpy/__init__.py&amp;quot;, line 36, in ?&lt;br /&gt;
    import core&lt;br /&gt;
  File &amp;quot;/usr/lib/python2.4/site-packages/numpy/core/__init__.py&amp;quot;, line 5, in ?&lt;br /&gt;
    import multiarray&lt;br /&gt;
ImportError: /home/byron/software/pymol/ext/lib/python2.4/site-packages/numpy/core/multiarray.so:&lt;br /&gt;
undefined symbol: _PyUnicodeUCS4_IsWhitespace&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
where the important line is&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
undefined symbol: _PyUnicodeUCS4_IsWhitespace&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem indicates that your Numpy Unicode is using a different byte-size for unicode characters than is the Python distribution your PyMOL is running from.  For example, this can happen if you use the pre-built PyMOL and some other pre-built Numpy package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution''': Hand-install Numpy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LinAlg Module Not Found ===&lt;br /&gt;
'''Problem''': Running CE Align gives the following error message:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
run qkabsch.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;quot;/usr/lib/python2.4/site-packages/pymol/parser.py&amp;quot;, line 285, in parse&lt;br /&gt;
parsing.run_file(exp_path(args[nest][0]),pymol_names,pymol_names)&lt;br /&gt;
File &amp;quot;/usr/lib/python2.4/site-packages/pymol/parsing.py&amp;quot;, line 407, in run_file&lt;br /&gt;
execfile(file,global_ns,local_ns)&lt;br /&gt;
File &amp;quot;qkabsch.py&amp;quot;, line 86, in ?&lt;br /&gt;
import numpy&lt;br /&gt;
File &amp;quot;/usr/lib/python2.4/site-packages/numpy/__init__.py&amp;quot;, line 40, in ?&lt;br /&gt;
import linalg&lt;br /&gt;
ImportError: No module named linalg&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution''': You do not have the linear algebra module installed (or Python can't find it) on your machine.  One workaround is to install [http://www.scipy.org/ Scientific Python]. (on debian/ubuntu this can be done by: sudo apt-get install python-scipy) Another is to reinstall the Numpy package from source, ensuring that you have the necessary requirements for the linear algebra module (linpack, lapack, fft, etc.).&lt;br /&gt;
&lt;br /&gt;
=== CCEAlign &amp;amp; NumPy Modules Not Found ===&lt;br /&gt;
'''Problem''': Running CE Align gives the following error message:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;run cealign.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parser.py&amp;quot;, line 297, in parse&lt;br /&gt;
  File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parsing.py&amp;quot;, line 408, in run_file&lt;br /&gt;
  File &amp;quot;/usr/local/pymol/scripts/cealign-0.1/cealign.py&amp;quot;, line 59, in ?&lt;br /&gt;
    from ccealign import ccealign&lt;br /&gt;
ImportError: No module named ccealign&lt;br /&gt;
run qkabsch.py&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parser.py&amp;quot;, line 297, in parse&lt;br /&gt;
File &amp;quot;/home/local/warren/MacPyMOL060530/build/Deployment/MacPyMOL.app/pymol/modules/pymol/parsing.py&amp;quot;, line 408, in run_file&lt;br /&gt;
File &amp;quot;qkabsch.py&amp;quot;, line 86, in ?&lt;br /&gt;
import numpy&lt;br /&gt;
ImportError: No module named numpy&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution''': This problem occurs under [http://www.apple.com/macosx Apple Mac OS X] if (a) the Apple's python executable on your machine (/usr/bin/python, currently version 2.3.5) is superseded by [http://fink.sourceforge.net/ Fink]'s python executable (/sw/bin/python, currently version 2.5) and (b) you are using [http://delsci.com/rel/099/#MacOSX precompiled versions of PyMOL] (MacPyMOL, PyMOLX11Hybrid or PyMOL for Mac OS X/X11). These executables ignore Fink's python and instead use Apple's - so, in order to run CE Align, one must install NumPy (as well as CE Align itself) using Apple's python. To do so, first download the [http://sourceforge.net/project/showfiles.php?group_id=1369&amp;amp;package_id=175103 Numpy source code archive] (currently version 1.0.1), unpack it, change directory to numpy-1.0.1 and specify the full path to Apple's python executable during installation: &amp;lt;tt&amp;gt;sudo /usr/bin/python setup.py install | tee install.log&amp;lt;/tt&amp;gt;. Then, donwload the [http://www.pymolwiki.org/index.php/Cealign#The_Code CE Align source code archive] (currently version 0.2), unpack it, change directory to cealign-0.2 and finally install CE Align as follows: &amp;lt;tt&amp;gt;sudo /usr/bin/python setup.py install | tee install.log&amp;lt;/tt&amp;gt;.&lt;br /&gt;
[[User:Lucajovine|Luca Jovine]] 05:11, 25 January 2007 (CST).&lt;br /&gt;
&lt;br /&gt;
=== The Function SimpAlign() is not found ===&lt;br /&gt;
'''Problem''': Running CE Align gives the following error message:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
PyMOL&amp;gt;cealign 1CLL,1GGZ&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\Program Files (x86)\DeLano Scientific\PyMOL/modules\pymol\parser.py&amp;quot;, line 203, in parse&lt;br /&gt;
    result=apply(kw[nest][0],args[nest],kw_args[nest])&lt;br /&gt;
  File &amp;quot;py24/Lib/cealign.py&amp;quot;, line 177, in cealign&lt;br /&gt;
    curScore = simpAlign( matA, matB, mol1, mol2, stored.mol1, stored.mol2, align=0, L=len(matA) )&lt;br /&gt;
NameError: global name 'simpAlign' is not defined&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
I am running PyMOL v. 0.99rc6 on Win XP Professional x64 edition version 2003 sp2 and have followed the windows install procedure as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Short Alignments Don't Work ===&lt;br /&gt;
If you are trying to align fewer than 16 residues then use [[align]], [[super]], or [[optAlign]].  CE uses a window size of 8; and to build a path of more than one window, you need 2*8=16 residues.  I will insert some code to re-route small alignments to one of the aforementioned alignment algorithms.&lt;br /&gt;
&lt;br /&gt;
=== It Worked A Second Ago! ===&lt;br /&gt;
[[Image:Rewind.png|thumb|right|Showing the rewind button to rewind to state 1.]]&lt;br /&gt;
&lt;br /&gt;
If you were using cealign (or alignto) and now the commands don't work -- that is, they return an RMSD, but don't actually superimpose the objects, then you have a simple problem dealing with states.  Most likely the cause of this oddness was (1) when you issued &amp;quot;cealign prot1, prot2&amp;quot; one of them was actually an ensemble of states or (2) you are trying to align to proteins with only one state, but are not looking at state one (because the last protein you were considering had more than one state and you quit editing that protein on a state that's not state 1).  To fix this, use the rewind button to get the proteins back into state 1 &amp;amp; reissue the cealign/alignto command.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
Text taken from PubMed and formatted for the wiki.  The first reference is the most important for this code.&lt;br /&gt;
&lt;br /&gt;
#  Shindyalov IN, Bourne PE. '''Protein structure alignment by incremental combinatorial extension (CE) of the optimal path.'''  ''Protein Eng.'' 1998 Sep;11(9):739-47.  PMID: 9796821 [PubMed - indexed for MEDLINE]&lt;br /&gt;
# Jia Y, Dewey TG, Shindyalov IN, Bourne PE. '''A new scoring function and associated statistical significance for structure alignment by CE.'''  ''J Comput Biol.'' 2004;11(5):787-99. PMID: 15700402 [PubMed - indexed for MEDLINE]&lt;br /&gt;
#  Pekurovsky D, Shindyalov IN, Bourne PE. '''A case study of high-throughput biological data processing on parallel platforms.'''  ''Bioinformatics.'' 2004 Aug 12;20(12):1940-7. Epub 2004 Mar 25.  PMID: 15044237 [PubMed - indexed for MEDLINE]&lt;br /&gt;
#  Shindyalov IN, Bourne PE. '''An alternative view of protein fold space.'''  ''Proteins.'' 2000 Feb 15;38(3):247-60.  PMID: 10713986 [PubMed - indexed for MEDLINE]&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
The CEAlign and all its subprograms that I wrote, are released under the open source Free BSD License (BSDL).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library]]&lt;br /&gt;
[[Category:Structure_Alignment|Cealign]]&lt;/div&gt;</summary>
		<author><name>Baker1</name></author>
	</entry>
</feed>