import compbio.engine.client.ConfExecutable;\r
import compbio.engine.client.Executable;\r
import compbio.runner.conservation.AACon;\r
+import compbio.runner.predictors.Jpred;\r
import compbio.runner.disorder.Disembl;\r
import compbio.runner.disorder.GlobPlot;\r
import compbio.runner.disorder.IUPred;\r
import compbio.runner.msa.Muscle;\r
import compbio.runner.msa.Probcons;\r
import compbio.runner.msa.Tcoffee;\r
+import compbio.runner.structure.RNAalifold;\r
\r
public class ServicesUtil {\r
\r
switch (service) {\r
case AAConWS :\r
return AACon.class;\r
+ case JpredWS :\r
+ return Jpred.class;\r
case ClustalOWS :\r
return ClustalO.class;\r
case ClustalWS :\r
return Jronn.class;\r
case IUPredWS :\r
return IUPred.class;\r
+ case RNAalifoldWS :\r
+ return RNAalifold.class;\r
default :\r
- throw new RuntimeException(\r
- "Unknown web service implementation class for service: "\r
- + service);\r
+ throw new RuntimeException("Unknown web service implementation class for service: " + service);\r
}\r
}\r
\r
- public static Class<? extends Executable<?>> getRunnerByJobDirectory(\r
- File jobdir) {\r
+ public static Class<? extends Executable<?>> getRunnerByJobDirectory(File jobdir) {\r
Services service = getServiceByRunnerName(getRunnerNameByJobDirectory(jobdir));\r
return getServiceImpl(service);\r
}\r
\r
private static Services getServiceByRunnerName(String name) {\r
for (Services service : Services.values()) {\r
- String runnerName = getServiceImpl(service).getSimpleName()\r
- .toLowerCase();\r
+ String runnerName = getServiceImpl(service).getSimpleName().toLowerCase();\r
name = name.trim().toLowerCase();\r
if (name.startsWith(runnerName)) {\r
return service;\r