This is a read-only mirror of pymolwiki.org

Difference between revisions of "Unbond"

From PyMOL Wiki
Jump to navigation Jump to search
 
m
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
===DESCRIPTION===
+
=DESCRIPTION=
+
'''unbond''' removes all bonds between two selections.
  "unbond" removes all bonds between two selections.
+
 
+
<gallery>
===USAGE===
+
Image:Unbond1.png|Atoms bound normally, but not the representation we want.
+
Image:Unbond2.png|Atoms unboud with the unbound command.
  unbond atom1,atom2
+
</gallery>
+
=USAGE=
===PYMOL API===
+
<source lang="python">
<source lang="python">  
+
unbond atom1,atom2
  cmd.unbond(selection atom1="(pk1)",selection atom2="(pk2)")
+
</source>
 +
 
 +
=PYMOL API=
 +
<source lang="python">
 +
cmd.unbond(selection atom1="(pk1)",selection atom2="(pk2)")
 
</source>
 
</source>
  
===SEE ALSO===
+
= Example =
+
<source lang="python">
  [[Cmd bond]], [[Cmd fuse]], [[Cmd remove_picked]], [[Cmd attach]], [[Cmd detach]], [[Cmd replace]]
+
# remove all bonds in residue 999 to residue 999
+
# this command was used in the examples above in PDB ID 1ACO.
 +
unbond i. 999, i. 999
 +
</source>
  
 +
=SEE ALSO=
 +
[[Bond]], [[Fuse]], [[Remove_picked]], [[Attach]], [[Detach]], [[Replace]]
  
[[Category:Commands|unbond]]
+
[[Category:Commands|Unbond]]

Revision as of 14:28, 20 June 2009

DESCRIPTION

unbond removes all bonds between two selections.

USAGE

unbond atom1,atom2

PYMOL API

cmd.unbond(selection atom1="(pk1)",selection atom2="(pk2)")

Example

# remove all bonds in residue 999 to residue 999
# this command was used in the examples above in PDB ID 1ACO.
unbond i. 999, i. 999

SEE ALSO

Bond, Fuse, Remove_picked, Attach, Detach, Replace