From 989dfdcbd007d4530dae7f0d8a64df55c7136703 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 18 Jul 2016 16:29:15 +0100 Subject: [PATCH] JAL-2068 clarify comments --- examples/groovy/featureCounter.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/groovy/featureCounter.groovy b/examples/groovy/featureCounter.groovy index 42d3187..3b5bca6 100644 --- a/examples/groovy/featureCounter.groovy +++ b/examples/groovy/featureCounter.groovy @@ -45,7 +45,8 @@ def hasPfam = { features -> } /* - * Closure that counts residues with a Pfam feature annotation + * Closure that computes an annotation based on + * presence of particular residues and features * Parameters are * - the name (label) for the alignment annotation * - the description (tooltip) for the annotation @@ -74,12 +75,12 @@ def getColumnCounter = { name, desc, acceptResidue, acceptFeatures -> } /* - * Define an annotation that counts any residue with Pfam domain annotation + * Define an annotation row that counts any residue with Pfam domain annotation */ def pfamAnnotation = getColumnCounter("Pfam", "Count of residues with Pfam domain annotation", {true}, hasPfam) /* - * Define an annotation that counts charged residues with Pfam domain annotation + * Define an annotation row that counts charged residues with Pfam domain annotation */ def chargedPfamAnnotation = getColumnCounter("Pfam charged", "Count of charged residues with Pfam domain annotation", isCharged, hasPfam) -- 1.7.10.2