JAL-384 documentation on custom colours groovy examples
authorJim Procter <jprocter@issues.jalview.org>
Tue, 16 May 2017 15:51:31 +0000 (16:51 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 16 May 2017 15:51:31 +0000 (16:51 +0100)
help/help.jhm
help/helpTOC.xml
help/html/features/groovy.html

index 53b86d2..54cce2a 100755 (executable)
    
    <mapID target="memory" url="html/memory.html" />
    <mapID target="groovy" url="html/features/groovy.html" />
+   <mapID target="groovy.colours" url="html/features/groovy.html#groovyColours" />
    <mapID target="groovy.featurescounter" url="html/groovy/featuresCounter.html" />
    <mapID target="privacy" url="html/privacy.html" />
    <mapID target="vamsas" url="html/vamsas/index.html"/>
index 62df81f..a8aadf5 100755 (executable)
@@ -25,6 +25,7 @@
                        <tocitem text="What's new" target="new" expand="true">
                                <tocitem text="Latest Release Notes" target="release"/>
                                <tocitem text="Groovy Features Counter example" target="groovy.featurescounter"/>
+                               <tocitem text="Custom Colourschemes in Groovy" target="groovy.colours"/>
                                <tocitem text="Omit hidden regions in Overview" target="overview"/>
                                <tocitem text="identifers.org for URL Links" target="linksprefs" />
                                <tocitem text="New features in Split Frame View" target="splitframe.mirrorfonts" />
index d9bf76e..ead4436 100644 (file)
@@ -111,6 +111,15 @@ print currentAlFrame.getTitle();</pre>
       href="../groovy/featuresCounter.html">featuresCounter.groovy</a>
     example for more information.
   </p>
+  <p><a name="groovyColours"/>
+    <em>Creating custom colourschemes</em><br/>
+    You can create your own alignment colourschemes with a groovy script. We've provided two examples:<br/>
+    <ul>
+    <li><a href="http://www.jalview.org/examples/groovy/colourConserved.groovy">colourConserved.groovy</a> creates an 'Conserved' colourscheme - similar to the classic <a href="http://www.nrbsc.org/old/gfx/genedoc/">GeneDOC</a> shading model.</li>
+    <li><a href="http://www.jalview.org/examples/groovy/colourUnconserved.groovy">colourUnconserved.groovy</a> creates an 'Unconserved' colourscheme, where any unconserved residues are coloured pink.</li>
+    
+    </ul>
+  </p>
 
 </body>
 </html>