From 5b27f1062b2203c4c31702e205f4c78e1992063e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 23 Feb 2022 14:27:11 +0000 Subject: [PATCH] JAL-3417 groovy script enables per group consensus and sequence logos for all so the sdppred calculation actually has something to work on --- examples/groovy/sdppred_testing.groovy | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 1.7.10.2