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
 java.lang.String analize(java.util.List<FastaSequence> sequences)
           
 java.lang.String customAnalize(java.util.List<FastaSequence> sequences, java.util.List<Option<T>> options)
           
 ScoreManager getAnnotation(java.lang.String jobId)
           
 java.lang.String presetAnalize(java.util.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(java.lang.String jobId)
                           throws ResultNotAvailableException
Throws:
ResultNotAvailableException

analize

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

customAnalize

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

presetAnalize

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