installation of Groovy. Just select <strong>Tools→Groovy
Console...</strong> from the Jalview Desktop's drop-down menu. After a
short pause, you should then see the <a
- href="http://groovy-lang.org/groovyconsole.html">Groovy
+ href="https://groovy-lang.org/groovyconsole.html">Groovy
Console</a> appear. This allows you to interactively execute Groovy
scripts whilst Jalview is running. We've also provided a <strong>Calculations→Execute
Groovy Script</strong> button so you can execute the currently loaded
</p>
<p>
<strong>Executing groovy scripts on Jalview startup</strong><br>
- The -groovy <script> option on the <a href="commandline.html">
+ The --groovy <script> option on the <a href="commandline.html">
Jalview command line</a> will execute the contents of <script>.
<script> may be a file, a URL, or alternatively if it is
"STDIN" then the standard input will be used.<br> <em>Note:
window which is currently being looked at by the user</li>
</ul></li>
<li><strong>currentAlFrame</strong> - this is only defined when
- running a Groovy script via the -groovy command line argument. It
+ running a Groovy script via the --groovy command line argument. It
returns the first alignment window created after acting on the
other arguments passed on the command line.</li>
</ul>
InstallAnywhere version of Jalview, you can find additional groovy
scripts in the examples/groovy subfolder of the installation
directory. The examples are also available at <a
- href="http://www.jalview.org/examples/groovy">http://www.jalview.org/examples/groovy</a>.
+ href="https://www.jalview.org/examples/groovy">https://www.jalview.org/examples/groovy</a>.
</p>
<p>
<em>Using Groovy to add new Alignment Calculations</em><br />We've
<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>
+ <li><a href="https://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="https://www.jalview.org/examples/groovy/colourUnconserved.groovy">colourUnconserved.groovy</a> creates an 'Unconserved' colourscheme, where any unconserved residues are coloured pink.</li>
</ul>
</p>