compbio.ws.server
Class SequenceAnnotationService<T>

java.lang.Object
  extended by compbio.ws.server.GenericMetadataService
      extended by compbio.ws.server.SequenceAnnotationService<T>
Type Parameters:
T -
Direct Known Subclasses:
AAConWS, DisemblWS, GlobPlotWS, IUPredWS, JronnWS

public abstract class SequenceAnnotationService<T>
extends GenericMetadataService

Common methods for all SequenceAnnotation web services

Since:
2.0
Version:
1.0 June 2011
Author:
pvtroshin

Method Summary
 String analize(List<FastaSequence> sequences)
           
 String customAnalize(List<FastaSequence> sequences, List<Option<T>> options)
           
 ScoreManager getAnnotation(String jobId)
           
 String presetAnalize(List<FastaSequence> sequences, Preset<T> preset)
           
 
Methods inherited from class compbio.ws.server.GenericMetadataService
cancelJob, getJobStatus, getLimit, getLimits, getPresets, getRunnerOptions, pullExecStatistics
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAnnotation

public ScoreManager getAnnotation(String jobId)
                           throws ResultNotAvailableException
Throws:
ResultNotAvailableException

analize

public String analize(List<FastaSequence> sequences)
               throws UnsupportedRuntimeException,
                      LimitExceededException,
                      JobSubmissionException
Throws:
UnsupportedRuntimeException
LimitExceededException
JobSubmissionException

customAnalize

public String customAnalize(List<FastaSequence> sequences,
                            List<Option<T>> options)
                     throws UnsupportedRuntimeException,
                            LimitExceededException,
                            JobSubmissionException,
                            WrongParameterException
Throws:
UnsupportedRuntimeException
LimitExceededException
JobSubmissionException
WrongParameterException

presetAnalize

public String presetAnalize(List<FastaSequence> sequences,
                            Preset<T> preset)
                     throws UnsupportedRuntimeException,
                            LimitExceededException,
                            JobSubmissionException,
                            WrongParameterException
Throws:
UnsupportedRuntimeException
LimitExceededException
JobSubmissionException
WrongParameterException