User:Karsten Theis/Sandbox 4

From Proteopedia

< User:Karsten Theis(Difference between revisions)
Jump to: navigation, search
Current revision (03:29, 6 August 2022) (edit) (undo)
 
(19 intermediate revisions not shown.)
Line 1: Line 1:
-
<StructureSection size='350' side='right' scene='/wiki/images/8/80/Initial_scene.spt'>
+
<StructureSection load='' size='350' frame='true' height='500' side='right' caption='' scene='91/919062/Blue_adamantane/1'>
 +
==Receptor ligand interaction==
-
This green link is a &lt;jmolLink&gt; that directly loads an uploaded script (a modified state script).
+
<scene name='88/886517/Overall/3'>First scene</scene>
-
When the script is dropped into Jmol.jar 14.31.8 (current main version in Proteopedia) it works (3 unrecognized but harmless set commands) even though the script was written from JSmol 14.32.64.
+
-
When this green link is clicked, an error is reported in the JSmol Javascript Console. I do not understand what causes this error.
+
<scene name='88/886517/Pocket/1'>Second scene
 +
</scene>
-
<jmol>
+
==Adamantane==
-
<jmolLink>
+
 
 +
<scene name='91/919062/Blue_adamantane_2/1'>not working
 +
</scene>91/919062/Blue_adamantane_2/1 atoms are loaded, not displayed
 +
 
 +
<scene name='88/886517/Blue_adamantane_2/1'>working</scene>: 88/886517/Blue_adamantane_2/1
 +
 
 +
<scene name='91/919062/Blue_adamantane/1'>does not load atoms, but displays them</scene>: 91/919062/Blue_adamantane/1
 +
 
 +
 
 +
 
 +
</StructureSection>
 +
 
 +
==all about adamantane==
 +
testing here
 +
 
 +
<StructureSection load='' size='350' side='right' caption='Insert caption here' scene='91/919062/Blue_adamantane/1'>
 +
 
 +
this is a test
 +
 
 +
 
 +
An example of using unaltered PNGJ files, <jmol><jmolLink>
<script>
<script>
-
load /wiki/images/2/21/1sva-half-capsid-distance.spt
+
load /wiki/images/a/a0/Histamine_-_Copy.png
</script>
</script>
-
<text>1sva half capsid colored by distance</text>
+
<text>click here to see</text>
-
</jmolLink>
+
</jmolLink></jmol> how it looks.
-
</jmol>
+
-
<jmol>
 
-
<jmolLink>
 
-
<script>script /scripts/37/376372/Overall/3.spt; hide water; set zshade off; spin off;</script>
 
-
<text>lyso</text>
 
-
</jmolLink>
 
-
</jmol>
 
-
The load command in the script loads a "frozen" uploaded PDB file [[Image:1sva-revdat2009.pdb.gz]].
 
-
When that command is run in the Proteopedia JSmol console, the virus capsid loads correctly.
 
-
Here is an extremely simplified script:
+
</StructureSection>
-
<small><pre>
+
-
set autobond false;
+
-
load "https://proteopedia.org/wiki/images/2/29/1sva-revdat2009.pdb.gz" FILTER "*.CA;biomolecule 1;bmchains;/=5";
+
-
spacefill 4.0;
+
-
color chain;
+
-
</pre></small>
+
-
When the above 4 commands are copied and pasted into the JSmol console and run, they work.
+
-
However, when a .spt file containing those commands is dropped into JSmol, the capsid loads, but the spacefill and color commands do not execute. I don't know why they fail.
 
-
<!--
 
-
OBSOLETE - FAILS TO LOAD: <scene name='85/859610/Half_capsid_spt_minus_props/1'>Half Capsid by Script</scene>: Scene created by dropping half-capsid-nodata.spt into JSmol after first loading 1sva. State script load command modified to
 
-
load "" FILTER "*.CA;biomolecule 1;bmchains;/=5"; and function _setDataState() made an empty function {} (previously it assigned distances from center to each of ~25,000 alpha carbons).
 
-
-->
 
-
</StructureSection>
+
== References ==
 +
<references/>

Current revision

Drag the structure with the mouse to rotate

all about adamantane

testing here

Insert caption here

Drag the structure with the mouse to rotate



References

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools