User:Eric Martz/Sandbox 4: Difference between revisions
Jump to navigation
Jump to search
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 31: | Line 31: | ||
Changes to the state script: | Changes to the state script: | ||
# load command should load frozen uploaded .pdb.gz file, for example [https://proteopedia.org/wiki/index.php/Image:1sva-revdat2009.pdb.gz Image:1sva-revdat2009.pdb.gz]. | # load command should load frozen uploaded .pdb.gz file, for example [https://proteopedia.org/wiki/index.php/Image:1sva-revdat2009.pdb.gz Image:1sva-revdat2009.pdb.gz]. | ||
# Optional: delete the DATA block in _setDataState() | |||
# Caption in _setState(), see [https://proteopedia.org/wiki/images/7/75/1sva-half-capsid-distance3.spt 1sva-half-capsid-distance3.spt]. | # Caption in _setState(), see [https://proteopedia.org/wiki/images/7/75/1sva-half-capsid-distance3.spt 1sva-half-capsid-distance3.spt]. | ||
Line 41: | Line 42: | ||
Filters "*.CA;biomolecule 1;" and "/=5" work in JSmol 14.31.8. Filter "bmchains" is ignored, so all copies of chain "1" are also named "1". This does not matter. | Filters "*.CA;biomolecule 1;" and "/=5" work in JSmol 14.31.8. Filter "bmchains" is ignored, so all copies of chain "1" are also named "1". This does not matter. | ||
As long as the atomindex values generated in 14.31.8 match those generated in 14.32.64, the script works. | As long as the atomindex values generated in 14.31.8 match those generated in 14.32.64, the script works. The script does not work if ligand HETATM are present in the AU because new JSmol includes them in BU1 while old JSmol does not. Therefore the scene must be generated in FirstGlance from an AU PDB file from which ligand HETATM have been deleted, and that PDB file must be uploaded for use by Proteopedia, e.g. 6mx4-nohet.pdb.gz. | ||
TEST OF NOHET SOLUTION | |||
<jmol> | |||
<jmolLink> | |||
<script> | |||
script /wiki/images/e/ee/Echo-loading.spt; | |||
script /wiki/images/5/56/6mx4-capsid-nohet-distance.spt; | |||
spin on; | |||
</script> | |||
<text>6MX4 capsid colored by distance</text> | |||
</jmolLink> | |||
</jmol> | |||
<!-- | <!-- | ||
Line 56: | Line 71: | ||
--> | --> | ||
==Saved | ==Scenes Saved from the SAT== | ||
FAILS BECAUSE CAPTION CONTAINS SEMICOLON: | FAILS BECAUSE CAPTION CONTAINS SEMICOLON: | ||
<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 | <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 |