import compbio.data.sequence.Score;
import compbio.metadata.Argument;
+/**
+ * Client for the JABA RNA Alifold Service
+ * @author daluke - Daniel Barton
+ *
+ */
+
public class RNAalifoldClient extends JabawsAlignCalcWorker implements
AlignCalcWorkerI
{
{
super(sh, alignFrame, preset, paramset);
- if (arguments == null)
- arguments = new ArrayList<Argument>();
+ //if (arguments == null)
+ // arguments = new ArrayList<Argument>();
af = alignFrame;
methodName = sh.serviceType;
-
+ alignedSeqs=true;
+ submitGaps=true;
nucleotidesAllowed = true;
proteinAllowed = false;
initViewportParams();
}
+
+ public String getCalcId()
+ {
+ return CALC_ID;
+ }
+ private static String CALC_ID="jalview.ws.jws2.RNAalifoldClient";
- protected void initViewportParams()
{
- ((jalview.gui.AlignViewport) alignViewport).setCalcIdSettingsFor(
- getCalcId(),
- new AAConSettings(true, service, this.preset,
- (arguments != null) ? JabaParamStore
- .getJwsArgsfromJaba(arguments) : null), true);
}
@Override
char ss = (Pattern.matches(regex, Character.toString(chr))) ? 'S' : ' ';
return ss;
}
-
- public String getCalcId()
- {
- return SequenceAnnotationWSClient.AAConCalcId;
- }
-
}