stylesheet support
SPICE has built in support for the DAS-stylesheet command.
DAS-sources can define how their data is rendered in SPICE. this can
affect both the sequence -feature rendering as well as the rendering
in 3D.
To provide a stylesheet that affects both sequence and structure
display one has to provide 2 style CATEGORies: The one with the id "3D"
allows to define how to render a feature in the Jmol 3D window.
supported 3D GLYPHs are
- RIBBONS
- CARTOON
- SPACEFILL
- WIREFRAME
- To view how HISTOGRAM data can be configured, please go histogram.shtml
For the "3D" category glyphs CPK coloring can be enabled by setting color to "cpk" .
example stylesheet:
<DASSTYLE>
<STYLESHEET>
<CATEGORY id="default">
<TYPE id="exon">
<GLYPH>
<SPAN>
<HEIGHT>10</HEIGHT>
<COLOR>#003366</COLOR>
<BUMP>no</BUMP>
</SPAN>
</GLYPH>
</TYPE>
<TYPE id="snp">
<GLYPH>
<TRIANGLE>
<HEIGHT>10</HEIGHT>
<COLOR>blue</COLOR>
<BUMP>yes</BUMP>
</TRIANGLE>
</GLYPH>
</TYPE>
</CATEGORY>
<CATEGORY id="3D">
<TYPE id="exon">
<GLYPH>
<RIBBONS>
<COLOR>rotate</COLOR>
</RIBBONS>
</GLYPH>
</TYPE>
<TYPE id="snp">
<GLYPH>
<WIREFRAME>
<COLOR>cpk</COLOR>
<WIDTH>0.3</WIDTH>
</WIREFRAME>
</GLYPH>
</TYPE>
</CATEGORY>
</STYLESHEET>
</DASSTYLE>


