Difference between revisions of "Split Movement"

From PyMOLWiki
Jump to: navigation, search
 
Line 33: Line 33:
 
</source>
 
</source>
  
[[Category:Scripting_Script_Library|Split Movement]]
+
[[Category:Script_Library|Split Movement]]

Revision as of 17:27, 6 May 2005

load 1FJ1.pdb

# split PDB file

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