This is a read-only mirror of pymolwiki.org

Difference between revisions of "Split Movement"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (Replaced "load" by "fetch")
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<source lang="python">
 
<source lang="python">
load 1FJ1.pdb
+
fetch 1FJ1, async=0
  
# split PDB file
+
# split object
  
 
create anti=(chain F)  
 
create anti=(chain F)  

Revision as of 12:18, 4 August 2010

fetch 1FJ1, async=0

# split object

create anti=(chain F) 
create fab=(chain A,B)

# delete original object
delete 1FJ1

# color objects
color green,fab
color pink,anti

# color interface
select inter = (byres ((fab within 5 of anti)\
   or (anti within 5 of fab)))

color yellow,inter

# splay apart
orient
origin fab
rotate y,60,fab
origin anti
rotate y,-60, anti

# zoom interface region
zoom inter
show sph,inter
disable inter