<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Objects_and_Selections</id>
	<title>Objects and Selections - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Objects_and_Selections"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Objects_and_Selections&amp;action=history"/>
	<updated>2026-05-30T20:47:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Objects_and_Selections&amp;diff=8139&amp;oldid=prev</id>
		<title>Pyadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Objects_and_Selections&amp;diff=8139&amp;oldid=prev"/>
		<updated>2014-03-28T02:16:34Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Objects and Selections==&lt;br /&gt;
Selections are enclosed in parentheses and contain predicates, logical operations, object names, selection names and nested parenthesis: ( [... [(...) ... ]] )&lt;br /&gt;
&lt;br /&gt;
 name &amp;lt;atom names&amp;gt;            n. &amp;lt;atom names&amp;gt;          &lt;br /&gt;
 resn &amp;lt;residue names&amp;gt;         r. &amp;lt;residue names&amp;gt;&lt;br /&gt;
 resi &amp;lt;residue identifiers&amp;gt;   i. &amp;lt;residue identifiers&amp;gt;&lt;br /&gt;
 chain &amp;lt;chain ID&amp;gt;             c. &amp;lt;chain identifiers&amp;gt;&lt;br /&gt;
 segi &amp;lt;segment identifiers&amp;gt;   s. &amp;lt;segment identifiers&amp;gt;&lt;br /&gt;
 elem &amp;lt;element symbol&amp;gt;        e. &amp;lt;element symbols&amp;gt;&lt;br /&gt;
 flag &amp;lt;number&amp;gt;                f. &amp;lt;number&amp;gt;&lt;br /&gt;
 alt                    &lt;br /&gt;
 numeric_type &amp;lt;numeric type&amp;gt;  nt. &amp;lt;numeric type&amp;gt;&lt;br /&gt;
 text_type &amp;lt;text type&amp;gt;        tt. &amp;lt;text type&amp;gt;&lt;br /&gt;
 b &amp;lt;operator&amp;gt; &amp;lt;value&amp;gt;         &lt;br /&gt;
 q &amp;lt;operator&amp;gt; &amp;lt;value&amp;gt;         &lt;br /&gt;
 formal_charge &amp;lt;op&amp;gt; &amp;lt;value&amp;gt;   fc. &amp;lt;operator&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
 partial_charge &amp;lt;op&amp;gt; &amp;lt;value&amp;gt;  pc. &amp;lt;operator&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
 id &amp;lt;original-index&amp;gt;          &lt;br /&gt;
 hydrogen                     h.&lt;br /&gt;
 all                          *&lt;br /&gt;
 visible                      v.&lt;br /&gt;
 hetatm                       &lt;br /&gt;
 &amp;lt;selection&amp;gt; and &amp;lt;selection&amp;gt;  &amp;lt;selection&amp;gt; &amp;amp; &amp;lt;selection&amp;gt;&lt;br /&gt;
 &amp;lt;selection&amp;gt; or &amp;lt;selection&amp;gt;   &amp;lt;selection&amp;gt; | &amp;lt;selection&amp;gt;&lt;br /&gt;
 not &amp;lt;selection&amp;gt;              ! &amp;lt;selection&amp;gt;&lt;br /&gt;
 byres &amp;lt;selection&amp;gt;            br. &amp;lt;selection&amp;gt;&lt;br /&gt;
 byobj &amp;lt;selection&amp;gt;            bo. &amp;lt;selection&amp;gt;&lt;br /&gt;
 around &amp;lt;distance&amp;gt;            a. &amp;lt;distance&amp;gt;&lt;br /&gt;
 expand &amp;lt;distance&amp;gt;            e. &amp;lt;distance&amp;gt;&lt;br /&gt;
 gap &amp;lt;distance&amp;gt;               &lt;br /&gt;
 in &amp;lt;selection&amp;gt;               &lt;br /&gt;
 like &amp;lt;selection&amp;gt;             l. &amp;lt;selection&amp;gt;&lt;br /&gt;
 &amp;lt;selection&amp;gt; within &amp;lt;distance&amp;gt; of &amp;lt;selection&amp;gt;&lt;br /&gt;
 &amp;lt;selection&amp;gt; w. &amp;lt;distance&amp;gt; of &amp;lt;selection&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== USER COMMENTS ==&lt;br /&gt;
Working efficiently in PyMOL --- or any molecular visualization program --- requires in-depth knowledge of selections &amp;amp; representations.  You can select objects by more than just their residue name, number, etc; for example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# color blue, whatever is visible&lt;br /&gt;
color blue, visible&lt;br /&gt;
&lt;br /&gt;
# show sticks, for all residues that have a b-factor of 2.0&lt;br /&gt;
show sticks, all and b=2.0&lt;br /&gt;
&lt;br /&gt;
# show the surface representation for all residues within &lt;br /&gt;
# 5 angstroms of any hetero atoms in all molecules&lt;br /&gt;
show surface, byres all within 5 of het&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[User:Inchoate|Tree]] 13:27, 11 March 2007 (CDT)&lt;/div&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
</feed>