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.Mafft;\r
import compbio.runner.msa.Muscle;\r
import compbio.runner.msa.Probcons;\r
+import compbio.runner.msa.MSAprobs;\r
+import compbio.runner.msa.GLprobs;\r
import compbio.runner.msa.Tcoffee;\r
import compbio.runner.structure.RNAalifold;\r
\r
return null;\r
}\r
\r
- public static Class<? extends Executable<?>> getServiceImpl(Services service) {\r
+ private static Class<? extends Executable<?>> getServiceImpl(Services service) {\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 Tcoffee.class;\r
case ProbconsWS :\r
return Probcons.class;\r
+ case MSAprobsWS :\r
+ return MSAprobs.class;\r
+ case GLprobsWS :\r
+ return GLprobs.class;\r
case DisemblWS :\r
return Disembl.class;\r
case GlobPlotWS :\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