<?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=Orbeckst</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=Orbeckst"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Orbeckst"/>
	<updated>2026-04-26T12:15:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Molecular_Sculpting&amp;diff=14307</id>
		<title>Molecular Sculpting</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Molecular_Sculpting&amp;diff=14307"/>
		<updated>2011-04-28T17:11:26Z</updated>

		<summary type="html">&lt;p&gt;Orbeckst: /* What the heck is molecular sculpting? */ reformatted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==What the heck is molecular sculpting?==&lt;br /&gt;
&lt;br /&gt;
Molecular sculpting works like a real-time energy minimizer, except that it isn't minimizing the energy. Instead, its just trying to return local atomic geometries (bonds, angles, chirality, planarity) to the configuration the molecules possess when they were first loaded into PyMOL.&lt;br /&gt;
&lt;br /&gt;
To actually use this feature:&lt;br /&gt;
&lt;br /&gt;
# Load a PDB file.&lt;br /&gt;
# Configure the mouse for editing (''Mouse'' menu) or click in the mouse/key matrix box.&lt;br /&gt;
# Select ''Sculpting'' from the ''Wizard'' menu. (or: Select ''auto-sculpting'' from the ''Sculpting'' menu.)&lt;br /&gt;
# ''Ctrl-middle-click'' on any atom in your protein to activate sculpting. The green part will be free to move. The cyan part will be a fixed cushion to provide context. The grey part will be excluded.&lt;br /&gt;
# Now perform any conformational editing operation in the green region such as:&lt;br /&gt;
#* ''ctrl-left-click-and-drag'' on an atom&lt;br /&gt;
#* ''ctrl-right-click'' on a bond, then ''ctrl-left-click-and-drag'' about that bond.&lt;br /&gt;
&lt;br /&gt;
You can adjust the radius and cushion using the blue pop-up menus.&lt;br /&gt;
&lt;br /&gt;
Right now I'm not sure the sculpting feature is more than entertainment, but my expectation is that it will become part of PyMOL's crystallographic model building system in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Modeling_and_Editing_Structures|Molecular Sculpting]]&lt;/div&gt;</summary>
		<author><name>Orbeckst</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Mutagenesis&amp;diff=14379</id>
		<title>Mutagenesis</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Mutagenesis&amp;diff=14379"/>
		<updated>2010-05-17T14:51:10Z</updated>

		<summary type="html">&lt;p&gt;Orbeckst: added sectioning and explanation of colour codes (as found in an email message by WDL)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Mutagenesis =&lt;br /&gt;
PyMol has a '''Mutagenesis Wizard''' to make mutagenesis very easy for the end user.&lt;br /&gt;
&lt;br /&gt;
== Walk-through ==&lt;br /&gt;
To mutate a residue follow these easy steps:&lt;br /&gt;
&amp;lt;OL&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Load a PDB file&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mutag1.png|180px|none]]&lt;br /&gt;
&amp;lt;LI&amp;gt;Under the '''Wizard''' menu select '''Mutagenesis'''&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mutag2.png|180px|none]]&lt;br /&gt;
&amp;lt;LI&amp;gt;In the PyMol viewer window select a residue&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mutag3.png|180px|none]]&lt;br /&gt;
&amp;lt;LI&amp;gt;Select '''No Mutation''' and select resultant residue&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mutag4.png|180px|none]]&lt;br /&gt;
&amp;lt;LI&amp;gt;Selecting the rotamer you think better fits your structure. &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    Several side chain orientations (rotamers) are possible. You can use&lt;br /&gt;
    the back-and-forth movie controls (lower right corner) to display (in white) each of the rotamers available for&lt;br /&gt;
    this residue in PyMOL, whose current and total numbers are shown in the (green) Frame info. The rotamers&lt;br /&gt;
    are ordered according to their frequencies of occurrence in proteins, shown as a red percentage at the mutation&lt;br /&gt;
    object, which exists while mutagenesis is being performed.  &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;LI&amp;gt;Select Apply&lt;br /&gt;
&amp;lt;LI&amp;gt;Select Done&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Explanation of colour codes ==&lt;br /&gt;
&lt;br /&gt;
From [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg06196.html]:&lt;br /&gt;
&lt;br /&gt;
The visible disks &amp;amp; colors in the Mutagenesis Wizard indicate pairwise overlap of atomic van der Waals radii.  The intent is to provide a qualitative feedback regarding contacts and bumps.&lt;br /&gt;
&lt;br /&gt;
Short green lines or small green disks are shown when atoms are almost in contact or slightly overlapping.  Large red disks indicate signficant van der Waals overlap.  Everything else lies between those extremes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials|Mutagenesis]]&lt;/div&gt;</summary>
		<author><name>Orbeckst</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ls&amp;diff=8074</id>
		<title>Ls</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ls&amp;diff=8074"/>
		<updated>2010-05-15T23:02:03Z</updated>

		<summary type="html">&lt;p&gt;Orbeckst: typo corrected&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''ls''' lists contents of the current working directory.  PyMOL comes with a few commands that allows the user to traverse a directory structure and list files.  This is a powerful tool if you have many directories full of files --- you don't have to quit PyMOL, you can just '''cd''' to the directory and '''ls''' to find the contents.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
ls [pattern]&lt;br /&gt;
dir [pattern]&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# list all files in the current directory&lt;br /&gt;
ls&lt;br /&gt;
&lt;br /&gt;
# list all files ending in, pml, in the current directory. &lt;br /&gt;
ls *.pml&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Cd]], [[Pwd]], [[System]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Ls]]&lt;/div&gt;</summary>
		<author><name>Orbeckst</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=MAC_Install&amp;diff=6887</id>
		<title>MAC Install</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=MAC_Install&amp;diff=6887"/>
		<updated>2010-05-15T22:56:02Z</updated>

		<summary type="html">&lt;p&gt;Orbeckst: pymol is also in MacPorts; also reformatted trouble shooting to use definition lists&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation|Mac]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Installing MacPyMOL=&lt;br /&gt;
===Essentials===&lt;br /&gt;
The [http://delsci.com/macpymol/ download] is about as straightforward as it gets, and you can install it wherever it makes you happy. You need a 3 button mouse (clickable scroll wheel = middle button). Apple has finally come to its senses and designed a proper, ergonomically pleasant, [http://www.apple.com/mightymouse/ scrollbutton mouse] that works well with pymol and permits horizontal scrolling.  Most other mice will also work well.&lt;br /&gt;
&lt;br /&gt;
===Warning on Mouse Drivers===&lt;br /&gt;
&lt;br /&gt;
One word of warning: '''Do not install 3rd party drivers''' for multi-button mice if you can avoid it.  These often mess with the mapping of the middle button or have other horrific side effects.  Fortunately, with OS X, you should not need to.&lt;br /&gt;
&lt;br /&gt;
===Invoking pymol from the unix command line===&lt;br /&gt;
&lt;br /&gt;
The unix executable resides at MacPyMOL.app/Contents/MacOS/MacPyMOL&lt;br /&gt;
&lt;br /&gt;
I ([[User:Wgscott|Bill Scott]]) wrote a cheezy [http://xanana.ucsc.edu/Library/init/zsh/local-functions/xtal/pymol pymol] shell script (and zsh function) to invoke this on the command line. It uses mdfind to find the executable.  I also use [[MacOSX-specific .pymolrc file|this ~/.pymolrc]] file.&lt;br /&gt;
&lt;br /&gt;
Additional invokation options and further details are discussed under [[Launching_PyMOL#MacOS_X:]]&lt;br /&gt;
&lt;br /&gt;
===Extras===&lt;br /&gt;
&lt;br /&gt;
You don't need any of these to use MacPyMOL.  But you didn't really '''need''' a Mac either.  Face it: You need these.&lt;br /&gt;
&lt;br /&gt;
====Mighty Mouse====&lt;br /&gt;
&lt;br /&gt;
http://images.apple.com/mightymouse/images/index360scroll220050802.gif&lt;br /&gt;
&lt;br /&gt;
A 3-button mouse is essential.  [http://www.apple.com/mightymouse/ Apple's Mighty Mouse] is an extra treat.&lt;br /&gt;
&lt;br /&gt;
====PowerMate Dial====&lt;br /&gt;
&lt;br /&gt;
http://www.griffintechnology.com/assets/images/products/powermate/prod_powermate_sub01b.jpg&lt;br /&gt;
&lt;br /&gt;
The [http://www.chemistry.ucsc.edu/~wgscott/xtal/powermate_pymol_osx.html PowerMate dial works nicely with pymol].&lt;br /&gt;
&lt;br /&gt;
====Stereo====&lt;br /&gt;
&lt;br /&gt;
http://images.apple.com/powermac/images/graphicspymol20051018.jpg&lt;br /&gt;
&lt;br /&gt;
The [http://www.apple.com/powermac/upgrade.html latest Macs] finally support [http://www.apple.com/powermac/graphics.html stereo in a window].  There is more information in the [[Monitors Hardware Options]] section.&lt;br /&gt;
&lt;br /&gt;
====Second Monitor====&lt;br /&gt;
The trick to getting MacPyMOL to work in stereo on the second monitor is to force it to initially open on that display by providing an appropriate &amp;quot;-X #&amp;quot; (and perhaps -Y #) option on launch.  That way the OpenGL context will be created with stereo support.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
./MacPyMOL.app/Contents/MacOS/MacPyMOL -X -1000&lt;br /&gt;
./MacPyMOL.app/Contents/MacOS/MacPyMOL -X -1000 -Y 100&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Source:''' ''Warren DeLano; PyMOL Users Archive''&lt;br /&gt;
&lt;br /&gt;
=Installing X-windows based pymol on Mac OS X=&lt;br /&gt;
&lt;br /&gt;
===Why would you want to do this?===&lt;br /&gt;
&lt;br /&gt;
#You want to run a [http://www.oreilly.com/openbook/freedom/ free], guilt-free, open-source version of pymol&lt;br /&gt;
#You just happen to prefer the [http://wiki.python.org/moin/TkInter tkinter] menu&lt;br /&gt;
#You want to use [http://pymol.sourceforge.net/plugins.html plugins], for example, the [http://www-personal.umich.edu/~mlerner/PyMOL/  apbs plugin] for free grasp-like electrostatic calculations.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===PyMOL and Fink===&lt;br /&gt;
Fink is a subsystem that was created to bring the full power of Linux open-source to the Darwin (Apple) platform.  It is essentially a full working Linux system integrated with the Apple OS.  Even X11 applications can be run.  To use PyMOL with fink, you will first need to install [http://fink.sourceforge.net/ fink].  This usually takes a while, but is straightforward.&lt;br /&gt;
&lt;br /&gt;
Once fink is installed, you have two options: (1) use the PyMOL package setup by [[User:wgscott|wgscott]], which might be old, but easier to install; or, download the PyMOL source and build.  As usual, it comes down to ease of install vs. new features.&lt;br /&gt;
&lt;br /&gt;
==== PyMOL Directly from Fink ====&lt;br /&gt;
To install PyMOL directly from fink, type:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install python2.5 in fink, along with an X-windows based tkinter. There are also versions that permit you to install PyMOL to interact with python2.4 and even python2.3.  Fink uses its own unix-type python installation.&lt;br /&gt;
&lt;br /&gt;
=====Notes and Possible Issues =====&lt;br /&gt;
* The [http://pdb.finkproject.org/pdb/package.php/pymol-py25 fink pymol package] currently exists in the [http://fink.sourceforge.net/faq/usage-fink.php#unstable unstable branch of fink], so you will either have to [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch] or make the following symbolic links:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo ln -s /sw/fink/dists/unstable/main/finkinfo/sci/pymol-py.* /sw/fink/dists/local/main/finkinfo/.&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
You might need to create the latter directory if it doesn't already exist, i.e., issue the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mkdir -p /sw/fink/dists/local/main/finkinfo&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* 10.4 ONLY: Be sure to set your display environment in your start up shell script to use pymol.  For example in your home directory, the .bashrc (or .bash_profile) file should contain:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export DISPLAY=&amp;quot;:0.0&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Do NOT set the DISPLAY variable for 10.5+, as God does this for you automatically.  If for some reason you don't want to set DISPLAY, launch X11 manually (Applications/Utilities) then start a login shell with 'xterm -ls' (note default xterm is not a login shell so will not read .bashrc) and finally issue 'pymol' &lt;br /&gt;
* Fink pymol also reads ~/.pymolrc in your home directory.&lt;br /&gt;
* I ([[User:wgscott|wgscott]]) have put a whole lot of further information on how to use fink to install crystallographic software on my own [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Main_Page wiki] and [http://chemistry.ucsc.edu/~wgscott/xtal/ website], including instructions on [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Getting_your_fink_installation_to_use_packages_that_I_have_pre-compiled how to install precompiled binary packages using fink].&lt;br /&gt;
&lt;br /&gt;
* The [http://pdb.finkproject.org/pdb/search.php?summary=pymol fink pymol package] is currently maintained by Jack Howarth.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== PyMOL Install from Source, Using Fink ====&lt;br /&gt;
If the above didn't work, of you really want the latest PyMOL code, then&lt;br /&gt;
* Download the latest PyMOL source and unpack it.&lt;br /&gt;
* Ensure that you have installed, in Fink:&lt;br /&gt;
** python-2.5 pmw-py25&lt;br /&gt;
** mesa mesa-shlibs&lt;br /&gt;
** libpng3 libpng3-shlibs&lt;br /&gt;
** freetype2 freetype2-deve&lt;br /&gt;
** freeglut freeglut-shlibs&lt;br /&gt;
* Change directory into the new PyMOL dir, eg. ''cd pymol''&lt;br /&gt;
* Then, install PyMOL with,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/sw/bin/python setup.py install&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Notes and Possible Issues=====&lt;br /&gt;
* If you get an error about '''-Wno-long-double''' then your gcc is mismatched.  I fixed this by pointing the symbolic link ''/usr/bin/gcc'' from ''/usr/bin/gcc-4.2'' to ''/usr/bin/gcc-4.0''.  Or, in code,&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# These command are commented out to stop people from copy/pasting b/c &lt;br /&gt;
# these are possibly dangerous for your system.  Ensure that /usr/bin/gcc&lt;br /&gt;
# is a symbolic link and not a real binary.  If so, I used the following&lt;br /&gt;
# to fix the -Wno-long-double error.&lt;br /&gt;
# sudo rm /usr/bin/gcc&lt;br /&gt;
# sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* If you get an error about something like ''GL_PALETTE_TEXTURE'' then you need to comment out those few lines in the code that throws the error.  Read the output.&lt;br /&gt;
&lt;br /&gt;
====Install APBS and friends with fink====&lt;br /&gt;
&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS calculated electrostatic potential of SARS s2m RNA reveals the colors of a true patriot.]]&lt;br /&gt;
&lt;br /&gt;
To use the electrostatics plugin, you will need [http://apbs.sourceforge.net/ APBS] and its dependencies.  These are also available as fink packages, and include [http://pdb.finkproject.org/pdb/package.php/apbs apbs], [http://pdb.finkproject.org/pdb/package.php/maloc maloc] and [http://pdb.finkproject.org/pdb/package.php/pdb2pqr pdb2pqr].  If you have multiple processors available, you might wish to install the [http://pdb.finkproject.org/pdb/package.php/apbs-mpi-openmpi mpi version of apbs].&lt;br /&gt;
&lt;br /&gt;
Issuing the command&lt;br /&gt;
&lt;br /&gt;
 fink install apbs&lt;br /&gt;
&lt;br /&gt;
will install apbs and its required dependencies for you.  The fink pymol package is already preconfigured to do the right thing to use apbs as a plugin. Here is [http://xanana.ucsc.edu/xtal/pymol_screenshot.png a big screenshot of the fink APBS package being invoked via the pymol plugin].&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids''' may prove problematic for the apbs plugin.  If so, use the pdb2pqr command-line tool to create a pqr file manually, instead of using the plugin to generate it.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===PyMOLX11Hybrid=== &lt;br /&gt;
&lt;br /&gt;
MacPyMOL for Tiger now includes a hybrid X11 mode. Assuming that X11 is already installed, simply duplicate MacPyMOL.app and rename it &amp;quot;PyMOLX11Hybrid.app&amp;quot; and launch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===PyMOL in MacPorts===&lt;br /&gt;
&lt;br /&gt;
Recent versions of [http://www.macports.org/ MacPorts] (at least 1.8.2) also include a hybrid PyMOL and also apbs. One can install it with&lt;br /&gt;
 sudo port install pymol apbs apbs-mpi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
&lt;br /&gt;
; When selecting atoms with the mouse, no matter how well one aims, the atoms selected are actually those far from the ones wanted: This is a known problem.  Select &amp;quot;Millions of Colors&amp;quot; in '''System Preferences-&amp;gt;Display'''.&lt;br /&gt;
; There seems to be a race condition between the Tk window and the openGL window.  (The focus for the windows are very quickly flashing back and forth.): This is a well-known problem.  The blame here is circular: Apple blames developers, developers blame Apple.  Regardless, it appears to have been fixed with the latest Mac OS X (10.6) release.  Upgrade to 10.6 and this problem goes away.&lt;br /&gt;
;When using multiple displays, the OpenGL window flickers; moving the window between displays crashes the whole session [https://trac.macports.org/ticket/24895]: If you don't need stereo then start PyMOL in mono mode with &amp;lt;pre&amp;gt;pymol -M&amp;lt;/pre&amp;gt;If you need stereo then you probably need to wait for a fix in the graphics driver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Nucleic_Acids|MAC Install]]&lt;br /&gt;
[[Category:Technical Issues|MAC Install]]&lt;/div&gt;</summary>
		<author><name>Orbeckst</name></author>
	</entry>
</feed>