boolean interactive = false;
+ private boolean isProtOperation = true;
+
+ private boolean isNucOperation = true;
+
/*
* Is it fine to get rid of AlignAnalysisUIText?
*/
{
return service.getName();
}
-
+
@Override
public String getDescription()
{
{
return service.getHostName();
}
-
+
@Override
public boolean hasParameters()
{
return service.hasParameters();
}
-
+
@Override
public ParamDatastoreI getParamStore()
{
@Override
public boolean isProteinOperation()
{
- return true;
+ return isProtOperation;
+ }
+
+ public void setProteinOperation(boolean value)
+ {
+ isProtOperation = value;
}
@Override
public boolean isNucleotideOperation()
{
- return true;
+ return isNucOperation;
+ }
+
+ public void setNucleotideOperation(boolean value)
+ {
+ isNucOperation = value;
}
@Override
{
switch (path[path.length - 1].toLowerCase())
{
- case "sequence alignment analysis (conservation)":
+ case "rna secondary structure prediction":
AnnotationOperation anop;
op = anop = new AnnotationOperation(instance,
instance::getAnnotations, instance::getFeaturesFile,
+ "Secondary Structure Prediction");
+ anop.setInteractive(true);
+ anop.setAlignmentAnalysis(true);
+ anop.setProteinOperation(false);
+ break;
+ case "sequence alignment analysis (conservation)":
+ op = anop = new AnnotationOperation(instance,
+ instance::getAnnotations, instance::getFeaturesFile,
"Conservation");
anop.setAlignmentAnalysis(true);
anop.setInteractive(true);