X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=help%2Fhtml%2Fgroovy%2FfeatureCounter.html;h=2ebaf45c7a03ebc827e8e011b4d50c2cfab9846b;hb=dde303bc73617ab4eb3e681e67cf899e6a971318;hp=fe848a908d09b9c17be02f4a2066b73ec39a2de7;hpb=528c0f1815bc67b54618ad5b16c2162946974caf;p=jalview.git diff --git a/help/html/groovy/featureCounter.html b/help/html/groovy/featureCounter.html index fe848a9..2ebaf45 100644 --- a/help/html/groovy/featureCounter.html +++ b/help/html/groovy/featureCounter.html @@ -25,18 +25,25 @@

Extending Jalview with Groovy - A customisable - feature counter
-
The groovy script below shows how to add a new calculation - track to a Jalview alignment window.

As currently written, it will - add two tracks to a protein alignment view which count Pfam features - in each column, and ones where a charge residue also occur.

To try - it for yourself:

  1. Copy and paste it into the groovy script - console
  2. Load the example Feredoxin project (the one that opens - by default when you first launched Jalview)
  3. Select Calculations→Execute - Groovy Script from the alignment window's menu bar to run the script on - the current view.
+ feature counter

The groovy script below shows how to + add a new calculation track to a Jalview alignment window. +

+

As currently written, it will add two tracks to a protein + alignment view which count Pfam features in each column, and ones + where a charge residue also occur.

+

To try it for yourself:

+
    +
  1. Copy and paste it into the groovy script console
  2. +
  3. Load the example Feredoxin project (the one that opens by + default when you first launched Jalview)
  4. +
  5. Select Calculations→Execute Groovy + Script from the alignment window's menu bar to run the script on + the current view. +
  6. +
http://www.jalview.org/examples/groovy/featureCounter.groovy - rendered with hilite.me + href="http://www.jalview.org/examples/groovy/featureCounter.groovy">http://www.jalview.org/examples/groovy/featureCounter.groovy + - rendered with hilite.me