package compbio.ws.server;\r
\r
import java.util.List;\r
+import java.io.File;\r
\r
import javax.jws.WebService;\r
\r
import compbio.metadata.UnsupportedRuntimeException;\r
import compbio.metadata.WrongParameterException;\r
import compbio.runner.disorder.Disembl;\r
+import compbio.engine.Configurator;\r
+import compbio.runner.conservation.AACon;\r
+import compbio.metadata.ChunkHolder;\r
\r
@WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = JABAService.V2_SERVICE_NAMESPACE, serviceName = "DisemblWS")\r
public class DisemblWS extends SequenceAnnotationService<Disembl>\r
\r
return analize(sequences);\r
}\r
+ @Override\r
+ public ChunkHolder pullExecStatistics(String jobId, long position) {\r
+ WSUtil.validateJobId(jobId);\r
+ String file = Configurator.getWorkDirectory(jobId) + File.separator\r
+ + AACon.getStatFile();\r
+ return WSUtil.pullFile(file, position);\r
+ }\r
\r
}\r
package compbio.ws.server;\r
\r
import java.util.List;\r
+import java.io.File;\r
\r
import javax.jws.WebService;\r
\r
import compbio.metadata.UnsupportedRuntimeException;\r
import compbio.metadata.WrongParameterException;\r
import compbio.runner.disorder.GlobPlot;\r
+import compbio.engine.Configurator;\r
+import compbio.runner.conservation.AACon;\r
+import compbio.metadata.ChunkHolder;\r
\r
@WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = JABAService.V2_SERVICE_NAMESPACE, serviceName = "GlobPlotWS")\r
public class GlobPlotWS extends SequenceAnnotationService<GlobPlot>\r
\r
return analize(sequences);\r
}\r
+ @Override\r
+ public ChunkHolder pullExecStatistics(String jobId, long position) {\r
+ WSUtil.validateJobId(jobId);\r
+ String file = Configurator.getWorkDirectory(jobId) + File.separator\r
+ + AACon.getStatFile();\r
+ return WSUtil.pullFile(file, position);\r
+ }\r
\r
}\r
package compbio.ws.server;\r
\r
import java.util.List;\r
+import java.io.File;\r
\r
import javax.jws.WebService;\r
\r
import compbio.metadata.UnsupportedRuntimeException;\r
import compbio.metadata.WrongParameterException;\r
import compbio.runner.disorder.IUPred;\r
+import compbio.engine.Configurator;\r
+import compbio.runner.conservation.AACon;\r
+import compbio.metadata.ChunkHolder;\r
\r
@WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = JABAService.V2_SERVICE_NAMESPACE, serviceName = "IUPredWS")\r
public class IUPredWS extends SequenceAnnotationService<IUPred>\r
\r
return analize(sequences);\r
}\r
+ @Override\r
+ public ChunkHolder pullExecStatistics(String jobId, long position) {\r
+ WSUtil.validateJobId(jobId);\r
+ String file = Configurator.getWorkDirectory(jobId) + File.separator\r
+ + AACon.getStatFile();\r
+ return WSUtil.pullFile(file, position);\r
+ }\r
\r
}\r