public class RNAalifoldWS extends SequenceAnnotationService<RNAalifold> implements SequenceAnnotation<RNAalifold>
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
log |
JABAWS_VERSION, SERVICE_NAMESPACE, V2_SERVICE_NAMESPACE, V3_SERVICE_NAMESPACE
Constructor and Description |
---|
RNAalifoldWS() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
analize(java.util.List<FastaSequence> sequences)
Analyse the sequences.
|
java.lang.String |
customAnalize(java.util.List<FastaSequence> sequences,
java.util.List<Option<RNAalifold>> options)
Analyse the sequences according to custom settings defined in options
list.
|
java.lang.String |
presetAnalize(java.util.List<FastaSequence> sequences,
Preset<RNAalifold> preset)
Analyse the sequences according to the preset settings.
|
getAnnotation
cancelJob, getJobStatus, getLimit, getLimits, getPresets, getRunnerOptions, init, pullExecStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation
cancelJob, getJobStatus, pullExecStatistics
getLimit, getLimits, getPresets, getRunnerOptions
public java.lang.String analize(java.util.List<FastaSequence> sequences) throws UnsupportedRuntimeException, LimitExceededException, JobSubmissionException
SequenceAnnotation
analize
in interface SequenceAnnotation<RNAalifold>
analize
in class SequenceAnnotationService<RNAalifold>
sequences
- List of FastaSequence objects. The programme does not perform
any sequence validity checks. Nor does it checks whether the
sequences names are unique. It is responsibility of the caller
to validate this informationUnsupportedRuntimeException
- thrown if server OS does not support native executables for a
given web service, e.g. JABAWS is deployed on Windows and
Mafft service is calledLimitExceededException
- is throw if the input sequences number or average length
exceeds what is defined by the limitJobSubmissionException
- is thrown when the job could not be submitted due to the
following reasons: 1) The number of sequences in the
submission or their average length is greater then defined by
the default Limit. 2) Any problems on the server side e.g. it
is misconfigured or malfunction, is reported via this
exception. In the first case the information on the limit
could be obtained from an exception.public java.lang.String customAnalize(java.util.List<FastaSequence> sequences, java.util.List<Option<RNAalifold>> options) throws UnsupportedRuntimeException, LimitExceededException, JobSubmissionException, WrongParameterException
SequenceAnnotation
customAnalize
in interface SequenceAnnotation<RNAalifold>
customAnalize
in class SequenceAnnotationService<RNAalifold>
sequences
- List of FastaSequence objects. The programme does not perform
any sequence validity checks. Nor does it checks whether the
sequences names are unique. It is responsibility of the caller
to validate this informationoptions
- A list of OptionsUnsupportedRuntimeException
- thrown if server OS does not support native executables for a
given web service, e.g. JABAWS is deployed on Windows and
Mafft service is calledLimitExceededException
- is throw if the input sequences number or average length
exceeds what is defined by the limitJobSubmissionException
- is thrown when the job could not be submitted due to the
following reasons: 1) The number of sequences in the
submission or their average length is greater then defined by
the default Limit. 2) Any problems on the server side e.g. it
is misconfigured or malfunction, is reported via this
exception. In the first case the information on the limit
could be obtained from an exception.WrongParameterException
- is throws when 1) One of the Options provided is not
supported, 2) The value of the option is defined outside the
boundaries. In both cases exception object contain the
information on the violating Option.Option
public java.lang.String presetAnalize(java.util.List<FastaSequence> sequences, Preset<RNAalifold> preset) throws UnsupportedRuntimeException, LimitExceededException, JobSubmissionException, WrongParameterException
SequenceAnnotation
presetAnalize
in interface SequenceAnnotation<RNAalifold>
presetAnalize
in class SequenceAnnotationService<RNAalifold>
sequences
- List of FastaSequence objects. The programme does not perform
any sequence validity checks. Nor does it checks whether the
sequences names are unique. It is responsibility of the caller
to validate this informationpreset
- A list of OptionsUnsupportedRuntimeException
- thrown if server OS does not support native executables for a
given web service, e.g. JABAWS is deployed on Windows and
Mafft service is calledLimitExceededException
- is throw if the input sequences number or average length
exceeds what is defined by the limitJobSubmissionException
- is thrown when the job could not be submitted due to the
following reasons: 1) The number of sequences in the
submission or their average length is greater then defined by
the default Limit. 2) Any problems on the server side e.g. it
is misconfigured or malfunction, is reported via this
exception. In the first case the information on the limit
could be obtained from an exception.WrongParameterException
- is throws when 1) One of the Options provided is not
supported, 2) The value of the option is defined outside the
boundaries. In both cases exception object contain the
information on the violating Option.