1 package compbio.ws.server;
\r
3 import java.util.List;
\r
5 import javax.jws.WebService;
\r
7 import org.apache.log4j.Logger;
\r
9 import compbio.data.msa.SequenceAnnotation;
\r
10 import compbio.data.sequence.FastaSequence;
\r
11 import compbio.metadata.JobSubmissionException;
\r
12 import compbio.metadata.LimitExceededException;
\r
13 import compbio.metadata.Option;
\r
14 import compbio.metadata.Preset;
\r
15 import compbio.metadata.UnsupportedRuntimeException;
\r
16 import compbio.metadata.WrongParameterException;
\r
17 import compbio.runner.disorder.Disembl;
\r
19 @WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = "http://msa.data.compbio/01/12/2010/", serviceName = "DisemblWS")
\r
20 public class DisemblWS extends SAService<Disembl>
\r
22 SequenceAnnotation<Disembl> {
\r
24 private static Logger log = Logger.getLogger(DisemblWS.class);
\r
26 public DisemblWS() {
\r
27 super(new Disembl(), log);
\r
31 * No options are supported, thus the result of this call will be as simple
\r
32 * call to analize without parameters
\r
35 public String customAnalize(List<FastaSequence> sequences,
\r
36 List<Option<Disembl>> options) throws UnsupportedRuntimeException,
\r
37 LimitExceededException, JobSubmissionException,
\r
38 WrongParameterException {
\r
39 return analize(sequences);
\r
43 * No presets are supported, thus the result of this call will be as simple
\r
44 * call to analize without parameters
\r
47 public String presetAnalize(List<FastaSequence> sequences,
\r
48 Preset<Disembl> preset) throws UnsupportedRuntimeException,
\r
49 LimitExceededException, JobSubmissionException,
\r
50 WrongParameterException {
\r
52 return analize(sequences);
\r