Ticket #1267: ecoli_ribosome.cxc

File ecoli_ribosome.cxc, 1.3 KB (added by goddard@…, 7 years ago)

Added by email2trac

Line 
1#
2# ChimeraX command script to setup E coli ribosome antibiotic virtual reality scene.
3# Tested with HTC Vive and Geforce GTX 1080 graphics.
4#
5open 4v7s
6
7# Simple lighting so renders fast enough so VR does not stutter
8light simple
9
10# Delete second copy of ribosome
11del /ca-dz
12
13# Delete hydrogen bonds.
14close #1.1
15
16# Show RNA nucleotides as cylinders
17#rungs #1
18hide nucleic atoms
19show nucleic ribbons
20
21# For residues near antibiotic telithromycin
22# show full side chains instead of rungs near ligand
23select zone :tel 10 residues true
24#rungs hide sel
25show sel atoms
26style sel stick
27color sel byhet
28select clear
29
30# Show drug in ball and stick
31style :tel ball
32
33# Color antibiotic purple
34color :tel&C purple
35
36# Color numerous magnesium ions.
37color @MG byelement
38
39# Color antibiotic resistance methylation residue A2503 yellow
40# and C2 and C8 methylation sites orange.
41color /BA:2503&C yellow
42color /BA:2503@C2,C8 orange atoms
43
44# Add xray density near drug
45open 4v7s from eds
46volume #2 region 108,68,123,151,100,153 level 0.2
47wait 1
48surface zone #2 near :tel distance 10
49
50# Show transparent volume surface. Mesh lines shimmer too much.
51vol #2 transparency .8 style surface
52
53# Show initial view in VR.
54vr on roomPosition -4.85,-1.2722,1.1477,-64.092,-1.6333,4.4738,-1.9431,-59.467,-0.51761,-2.1966,-4.6222,13.089