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