From: Jim Procter Date: Wed, 23 Feb 2022 14:27:11 +0000 (+0000) Subject: JAL-3417 groovy script enables per group consensus and sequence logos for all so... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git JAL-3417 groovy script enables per group consensus and sequence logos for all so the sdppred calculation actually has something to work on --- diff --git a/examples/groovy/sdppred_testing.groovy b/examples/groovy/sdppred_testing.groovy index 64199cc..9e7c862 100644 --- a/examples/groovy/sdppred_testing.groovy +++ b/examples/groovy/sdppred_testing.groovy @@ -58,13 +58,18 @@ def sdppredCounter = } } } - AlignmentAnnotation annotrow = new AlignmentAnnotation("SDPpred","SDP calculation results",annot); + AlignmentAnnotation annotrow = new AlignmentAnnotation("SDPpred","SDP calculation results for groups using displayed sequence logos for each group",annot); annotrow.setCalcId("SDPPRED"); return [annotrow]; } ] as AnnotationProviderI +def alf = Jalview.getCurrentAlignFrame() +alf.viewport.setShowGroupConsensus(true) +alf.viewport.setShowSequenceLogo(true) +alf.applyAutoAnnotationSettings.setState(true) +alf.alignPanel.updateAnnotation(true) /* * and register the counter */ -AlignmentAnnotationFactory.newCalculator(sdppredCounter) +AlignmentAnnotationFactory.newCalculator(sdppredCounter) \ No newline at end of file