package compbio.ws.server; import java.util.List; import javax.jws.WebService; import org.apache.log4j.Logger; import compbio.data.msa.SequenceAnnotation; import compbio.data.sequence.FastaSequence; import compbio.metadata.JobSubmissionException; import compbio.metadata.LimitExceededException; import compbio.metadata.Preset; import compbio.metadata.UnsupportedRuntimeException; import compbio.metadata.WrongParameterException; import compbio.runner.disorder.IUPred; @WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = "http://msa.data.compbio/01/12/2010/", serviceName = "IUPredWS") public class IUPredWS extends SAService implements SequenceAnnotation { private static Logger log = Logger.getLogger(IUPredWS.class); public IUPredWS() { super(new IUPred(), log); } /* * No presets are supported, thus the result of this call will be as simple * call to analize without parameters */ @Override public String presetAnalize(List sequences, Preset preset) throws UnsupportedRuntimeException, LimitExceededException, JobSubmissionException, WrongParameterException { return analize(sequences); } }