This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.


Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.


User:Karsten Theis/Sandbox 4

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<scene name='88/886517/Cobalamin/1'>Cobalamin example</scene>
+
<StructureSection size='350' side='right' scene=''>
 +
This green link is a &lt;jmolLink&gt; that directly loads an uploaded script (a modified state script).
 +
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.
-
==Beta sheet saved with different quality settings==
+
When this green link is clicked, an error is reported in the JSmol Javascript Console. I do not understand what causes this error.
-
<StructureSection load='1lys' size='350' side='right' caption='Escherichia coli reca protein-bound DNA (PDB entry [[3rec]])' scene=''>
+
-
<scene name='88/886517/Hiq/1'>High quality scene</scene>
+
<jmol>
 +
<jmolLink>
 +
<script>
 +
load wiki/images/2/21/1sva-half-capsid-distance_shorter.spt
 +
</script>
 +
<text>1sva half capsid colored by distance</text>
 +
</jmolLink>
 +
</jmol>
-
<scene name='88/886517/Loq/1'>Low quality scene</scene>
+
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.
-
<scene name='88/886517/Hiq/2'>High quality scene with fancy cartoon</scene>
+
Here is an extremely simplified script:
 +
<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>
</StructureSection>

Revision as of 00:47, 25 July 2022

Drag the structure with the mouse to rotate

Proteopedia Page Contributors and Editors (what is this?)

Karsten Theis

Personal tools