X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fdata%2Fmsa%2FMsaWS.html;h=7542acd6c643ce0de8e53a2c56dc420721863f41;hb=5be600c3985aa7bcb8d8b51d77d773c76e6802bb;hp=911f90d0b714718c471993d3ef82dbfd565442e2;hpb=b413eee53fa3cc22a6bd4e03c9ac64bf26b7c834;p=jabaws.git diff --git a/website/full_javadoc/compbio/data/msa/MsaWS.html b/website/full_javadoc/compbio/data/msa/MsaWS.html index 911f90d..7542acd 100644 --- a/website/full_javadoc/compbio/data/msa/MsaWS.html +++ b/website/full_javadoc/compbio/data/msa/MsaWS.html @@ -2,12 +2,12 @@ - + MsaWS - + @@ -55,8 +55,8 @@ function windowTitle() - PREV CLASS  - NEXT CLASSPREV CLASS  + NEXT CLASS FRAMES    NO FRAMES   @@ -94,11 +94,14 @@ Interface MsaWS<T>
Type Parameters:
T - executable type / web service type
-
All Known Implementing Classes:
ClustalWS, MafftWS, MuscleWS, ProbconsWS, TcoffeeWS
+
All Superinterfaces:
JABAService, JManagement, Metadata<T>
+
+
+
All Known Implementing Classes:
ClustalOWS, ClustalWS, MafftWS, MuscleWS, ProbconsWS, TcoffeeWS

-
public interface MsaWS<T>
+
public interface MsaWS<T>
extends JABAService, JManagement, Metadata<T>

@@ -108,14 +111,32 @@ Multiple Sequence Alignment (MSA) Web Services Interface

Author:
-
pvtroshin - - Date September 2009
+
pvtroshin + + Date November 2010

+ + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface compbio.data.msa.JABAService
SERVICE_NAMESPACE, V2_SERVICE_NAMESPACE
@@ -126,95 +147,55 @@ Multiple Sequence Alignment (MSA) Web Services Interface - java.lang.String -align(java.util.List<FastaSequence> sequences) + String
+align(List<FastaSequence> sequences)
          Align a list of sequences with default settings. - boolean -cancelJob(java.lang.String jobId) - -
-          Stop running job but leave its output untouched - - - - java.lang.String -customAlign(java.util.List<FastaSequence> sequences, - java.util.List<Option<T>> options) + String +customAlign(List<FastaSequence> sequences, + List<Option<T>> options)
          Align a list of sequences with options. - JobStatus -getJobStatus(java.lang.String jobId) - -
-          Return the status of the job. - - - - Limit<T> -getLimit(java.lang.String presetName) - -
-          Get a Limit for a preset. - - - - LimitsManager<T> -getLimits() - -
-          List Limits supported by a web service. - - - - PresetManager<T> -getPresets() - -
-          Get presets supported by a web service - - -  Alignment -getResult(java.lang.String jobId) +getResult(String jobId)
          Return the result of the job. - RunnerConfig<T> -getRunnerOptions() - -
-          Get options supported by a web service - - - - java.lang.String -presetAlign(java.util.List<FastaSequence> sequences, + String +presetAlign(List<FastaSequence> sequences, Preset<T> preset)
          Align a list of sequences with preset. + +  + + + + - - + + +
Methods inherited from interface compbio.data.msa.JManagement
- ChunkHolderpullExecStatistics(java.lang.String jobId, - long position) - -
-          Reads 1kb chunk from the statistics file which is specific to a given web - service from the position.
cancelJob, getJobStatus, pullExecStatistics
+ + + + + +
Methods inherited from interface compbio.data.msa.Metadata
getLimit, getLimits, getPresets, getRunnerOptions
  @@ -233,40 +214,41 @@ Multiple Sequence Alignment (MSA) Web Services Interface

align

-java.lang.String align(java.util.List<FastaSequence> sequences)
-                       throws UnsupportedRuntimeException,
-                              LimitExceededException,
-                              JobSubmissionException
+String align(List<FastaSequence> sequences) + throws UnsupportedRuntimeException, + LimitExceededException, + JobSubmissionException
-
Align a list of sequences with default settings. - - Any dataset containing a greater number of sequences or the average - length of the sequences are greater then defined in the default Limit - will not be accepted for an alignment operation and +
Align a list of sequences with default settings. + + Any dataset containing a greater number of sequences or when the average + length of the sequences are greater then defined in the default Limit, + will not be accepted for an alignment operation and JobSubmissionException will be thrown.

-
Parameters:
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 information +
+
+
+
Parameters:
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 make sure of this
Returns:
jobId - unique identifier for the job
Throws: -
JobSubmissionException. - This - exception 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 +
JobSubmissionException - 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. -
java.security.InvalidParameterException - thrown if input list of fasta sequence is null or empty -
UnsupportedRuntimeException - 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 called -
LimitExceededException - is throw if the input sequences number or average length - exceeds what is defined by the limit -
JobSubmissionException
+
InvalidParameterException - thrown if input list of FASTA sequences is null or empty +
UnsupportedRuntimeException - 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 called +
LimitExceededException - is throw if the input sequences number or their average + length exceeds what is defined by the limit

@@ -274,41 +256,42 @@ java.lang.String align(java.util.List<

customAlign

-java.lang.String customAlign(java.util.List<FastaSequence> sequences,
-                             java.util.List<Option<T>> options)
-                             throws UnsupportedRuntimeException,
-                                    LimitExceededException,
-                                    JobSubmissionException,
-                                    WrongParameterException
+String customAlign(List<FastaSequence> sequences, + List<Option<T>> options) + throws UnsupportedRuntimeException, + LimitExceededException, + JobSubmissionException, + WrongParameterException
Align a list of sequences with options.

-
Parameters:
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 +
+
+
+
Parameters:
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 information
options - A list of Options
Returns:
jobId - unique identifier for the job
Throws: -
JobSubmissionException. - This - exception 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 +
JobSubmissionException - 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 +
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. -
java.security.InvalidParameterException - thrown if input list of fasta sequence is null or empty -
UnsupportedRuntimeException - 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 called -
LimitExceededException - is throw if the input sequences number or average length - exceeds what is defined by the limit -
JobSubmissionException
See Also:
Default Limit is used to decide whether the calculation will be +
InvalidParameterException - thrown if input list of FASTA sequence is null or empty +
UnsupportedRuntimeException - 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 called +
LimitExceededException - is throw if the input sequences number or their average + length exceeds what is defined by the limit
See Also:
Default Limit is used to decide whether the calculation will be permitted or denied
@@ -317,45 +300,46 @@ java.lang.String customAlign(java.util.List<

presetAlign

-java.lang.String presetAlign(java.util.List<FastaSequence> sequences,
-                             Preset<T> preset)
-                             throws UnsupportedRuntimeException,
-                                    LimitExceededException,
-                                    JobSubmissionException,
-                                    WrongParameterException
+String presetAlign(List<FastaSequence> sequences, + Preset<T> preset) + throws UnsupportedRuntimeException, + LimitExceededException, + JobSubmissionException, + WrongParameterException
-
Align a list of sequences with preset. @see Preset - - Limit for a presetName is used whether the calculation will be permitted - or denied. If no Limit was defined for a presetName, than default limit +
Align a list of sequences with preset. + + Limit for a presetName is used whether the calculation will be permitted + or denied. If no Limit was defined for a presetName, than default limit is used.

-
Parameters:
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 +
+
+
+
Parameters:
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 information
preset - A list of Options
Returns:
String - jobId - unique identifier for the job
Throws: -
JobSubmissionException. - This - exception 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 +
JobSubmissionException - 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 +
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. -
java.security.InvalidParameterException - thrown if input list of fasta sequence is null or empty -
UnsupportedRuntimeException - 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 called -
LimitExceededException - is throw if the input sequences number or average length - exceeds what is defined by the limit -
JobSubmissionException
+
InvalidParameterException - thrown if input list of FASTA sequence is null or empty +
UnsupportedRuntimeException - 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 called +
LimitExceededException - is throw if the input sequences number or average length + exceeds what is defined by the limit
See Also:
Preset

@@ -363,142 +347,27 @@ java.lang.String presetAlign(java.util.List<

getResult

-Alignment getResult(java.lang.String jobId)
+Alignment getResult(String jobId)
                     throws ResultNotAvailableException
-
Return the result of the job. -

-

-
Parameters:
jobId - a unique job identifier -
Returns:
Alignment -
Throws: -
ResultNotAvailableException - this exception is throw if the job execution was not - successful or the result of the execution could not be found. - (e.g. removed). Exception could also be thrown is dues to the - lower level problems on the server i.e. IOException, - FileNotFoundException problems as well as - UnknownFileFormatException. -
java.security.InvalidParameterException - thrown if jobId is empty or cannot be recognised e.g. in - invalid format
-
-
-
- -

-cancelJob

-
-boolean cancelJob(java.lang.String jobId)
-
-
Stop running job but leave its output untouched +
Return the result of the job. This method waits for the job + jobId to complete before return.

- -
Returns:
true if job was cancelled successfully, false otherwise -
Throws: -
java.security.InvalidParameterException - thrown if jobId is empty or cannot be recognised e.g. in - invalid format
-
-
- -

-getJobStatus

-
-JobStatus getJobStatus(java.lang.String jobId)
-
-
Return the status of the job. @see JobStatus -

-

-
Parameters:
jobId - - unique job identifier -
Returns:
JobStatus - status of the job -
Throws: -
java.security.InvalidParameterException - thrown if jobId is empty or cannot be recognised e.g. in - invalid format
-
-
- -

-pullExecStatistics

-
-ChunkHolder pullExecStatistics(java.lang.String jobId,
-                               long position)
-
-
Reads 1kb chunk from the statistics file which is specific to a given web - service from the position. If in time of a request less then 1kb data is - available from the position to the end of the file, then it returns all - the data available from the position to the end of the file. -

-
Parameters:
jobId - - unique job identifier
position - - next position within the file to read -
Returns:
ChunkHolder - @see ChunkHolder which contains a chuink of data - and a next position within the file from which no data has been - read +
Parameters:
jobId - a unique job identifier +
Returns:
Alignment
Throws: -
java.security.InvalidParameterException - thrown if jobId is empty or cannot be recognised e.g. in - invalid format and also if the position value is negative
-
-
-
- -

-getRunnerOptions

-
-RunnerConfig<T> getRunnerOptions()
-
-
Get options supported by a web service -

-

- -
Returns:
RunnerConfig the list of options and parameters supported by a - web service.
-
-
-
- -

-getPresets

-
-PresetManager<T> getPresets()
-
-
Get presets supported by a web service -

-

- -
Returns:
PresetManager the object contains information about presets - supported by a web service
-
-
-
- -

-getLimit

-
-Limit<T> getLimit(java.lang.String presetName)
-
-
Get a Limit for a preset. -

-

-
Parameters:
presetName - the name of the preset. if no name is provided, then the - default preset is returned. If no limit for a particular - preset is defined then the default preset is returned -
Returns:
Limit
-
-
-
- -

-getLimits

-
-LimitsManager<T> getLimits()
-
-
List Limits supported by a web service. -

-

-
Parameters:
presetName - the name of the preset. if no name is provided, then the - default preset is returned. If no limit for a particular - preset is defined then the default preset is returned -
Returns:
LimitManager
+
ResultNotAvailableException - this exception is throw if the job execution was not + successful or the result of the execution could not be found. + (e.g. removed). Exception could also be thrown due to the + lower level problems on the server i.e. IOException, + FileNotFoundException problems as well as + UnknownFileFormatException. +
InvalidParameterException - thrown if jobId is empty or is not recognised e.g. in invalid + format
@@ -532,8 +401,8 @@ getLimits - PREV CLASS  - NEXT CLASSPREV CLASS  + NEXT CLASS FRAMES    NO FRAMES