From: Mateusz Warowny Date: Tue, 26 Apr 2022 12:36:40 +0000 (+0200) Subject: JAL-3878 Implement RNA Sec. Str. Pred. discovery for slivka X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=52eaee0814ad21a395b6e76bfb05511b4fc766ae;p=jalview.git JAL-3878 Implement RNA Sec. Str. Pred. discovery for slivka --- diff --git a/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java b/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java index 5bdbcfb..58f6d67 100644 --- a/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java +++ b/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java @@ -155,7 +155,24 @@ public class SlivkaWSDiscoverer extends AbstractWebServiceDiscoverer } else if (serviceClass == SERVICE_CLASS_RNA_SEC_STR_PRED) { - + var wsb = WebService. newBuilder(); + initServiceBuilder(slivkaService, wsb); + wsb.category("Secondary Structure Prediction"); + wsb.interactive(true); + wsb.actionClass(AnnotationAction.class); + var predService = wsb.build(); + var client = new SlivkaAnnotationWSClient(slivkaService); + var actionBuilder = AnnotationAction.newBuilder(client); + actionBuilder.webService(predService); + actionBuilder.name("Prediction"); + actionBuilder.minSequences(2); + actionBuilder.allowNucleotide(true); + actionBuilder.allowProtein(false); + actionBuilder.alignmentAnalysis(true); + actionBuilder.requireAlignedSequences(true); + actionBuilder.filterSymbols(false); + predService.addAction(actionBuilder.build()); + allServices.add(predService); } else {