Next version of JABA
[jabaws.git] / website / dm_javadoc / compbio / ws / server / ProbconsWS.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\r
2 <!--NewPage-->\r
3 <HTML>\r
4 <HEAD>\r
5 <!-- Generated by javadoc (build 1.6.0_14) on Wed Feb 03 14:32:20 GMT 2010 -->\r
6 <TITLE>\r
7 ProbconsWS\r
8 </TITLE>\r
9 \r
10 <META NAME="date" CONTENT="2010-02-03">\r
11 \r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">\r
13 \r
14 <SCRIPT type="text/javascript">\r
15 function windowTitle()\r
16 {\r
17     if (location.href.indexOf('is-external=true') == -1) {\r
18         parent.document.title="ProbconsWS";\r
19     }\r
20 }\r
21 </SCRIPT>\r
22 <NOSCRIPT>\r
23 </NOSCRIPT>\r
24 \r
25 </HEAD>\r
26 \r
27 <BODY BGCOLOR="white" onload="windowTitle();">\r
28 <HR>\r
29 \r
30 \r
31 <!-- ========= START OF TOP NAVBAR ======= -->\r
32 <A NAME="navbar_top"><!-- --></A>\r
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>\r
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
35 <TR>\r
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
37 <A NAME="navbar_top_firstrow"><!-- --></A>\r
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
39   <TR ALIGN="center" VALIGN="top">\r
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
42   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ProbconsWS.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
47   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
48   </TR>\r
49 </TABLE>\r
50 </TD>\r
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
52 </EM>\r
53 </TD>\r
54 </TR>\r
55 \r
56 <TR>\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
58 &nbsp;<A HREF="../../../compbio/ws/server/MuscleWS.html" title="class in compbio.ws.server"><B>PREV CLASS</B></A>&nbsp;\r
59 &nbsp;<A HREF="../../../compbio/ws/server/SimpleWSPublisher.html" title="class in compbio.ws.server"><B>NEXT CLASS</B></A></FONT></TD>\r
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
61   <A HREF="../../../index.html?compbio/ws/server/ProbconsWS.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
62 &nbsp;<A HREF="ProbconsWS.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
63 &nbsp;<SCRIPT type="text/javascript">\r
64   <!--\r
65   if(window==top) {\r
66     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
67   }\r
68   //-->\r
69 </SCRIPT>\r
70 <NOSCRIPT>\r
71   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>\r
72 </NOSCRIPT>\r
73 \r
74 \r
75 </FONT></TD>\r
76 </TR>\r
77 <TR>\r
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
79   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
82 </TR>\r
83 </TABLE>\r
84 <A NAME="skip-navbar_top"></A>\r
85 <!-- ========= END OF TOP NAVBAR ========= -->\r
86 \r
87 <HR>\r
88 <!-- ======== START OF CLASS DATA ======== -->\r
89 <H2>\r
90 <FONT SIZE="-1">\r
91 compbio.ws.server</FONT>\r
92 <BR>\r
93 Class ProbconsWS</H2>\r
94 <PRE>\r
95 java.lang.Object\r
96   <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>compbio.ws.server.ProbconsWS</B>\r
97 </PRE>\r
98 <DL>\r
99 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</DD>\r
100 </DL>\r
101 <HR>\r
102 <DL>\r
103 <DT><PRE>public class <B>ProbconsWS</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</DL>\r
104 </PRE>\r
105 \r
106 <P>\r
107 <HR>\r
108 \r
109 <P>\r
110 \r
111 <!-- ======== CONSTRUCTOR SUMMARY ======== -->\r
112 \r
113 <A NAME="constructor_summary"><!-- --></A>\r
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
116 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
117 <B>Constructor Summary</B></FONT></TH>\r
118 </TR>\r
119 <TR BGCOLOR="white" CLASS="TableRowColor">\r
120 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#ProbconsWS()">ProbconsWS</A></B>()</CODE>\r
121 \r
122 <BR>\r
123 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>\r
124 </TR>\r
125 </TABLE>\r
126 &nbsp;\r
127 <!-- ========== METHOD SUMMARY =========== -->\r
128 \r
129 <A NAME="method_summary"><!-- --></A>\r
130 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
131 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
132 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">\r
133 <B>Method Summary</B></FONT></TH>\r
134 </TR>\r
135 <TR BGCOLOR="white" CLASS="TableRowColor">\r
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
137 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
138 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#align(java.util.List)">align</A></B>(java.util.List&lt;<A HREF="../../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>&gt;&nbsp;sequences)</CODE>\r
139 \r
140 <BR>\r
141 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align a list of sequences with default settings.</TD>\r
142 </TR>\r
143 <TR BGCOLOR="white" CLASS="TableRowColor">\r
144 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
145 <CODE>&nbsp;boolean</CODE></FONT></TD>\r
146 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#cancelJob(java.lang.String)">cancelJob</A></B>(java.lang.String&nbsp;jobId)</CODE>\r
147 \r
148 <BR>\r
149 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop running job but leave its output untouched</TD>\r
150 </TR>\r
151 <TR BGCOLOR="white" CLASS="TableRowColor">\r
152 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
153 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
154 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#customAlign(java.util.List, java.util.List)">customAlign</A></B>(java.util.List&lt;<A HREF="../../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>&gt;&nbsp;sequences,\r
155             java.util.List&lt;<A HREF="../../../compbio/metadata/Option.html" title="class in compbio.metadata">Option</A>&lt;compbio.runner.msa.Probcons&gt;&gt;&nbsp;options)</CODE>\r
156 \r
157 <BR>\r
158 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align a list of sequences with options.</TD>\r
159 </TR>\r
160 <TR BGCOLOR="white" CLASS="TableRowColor">\r
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
162 <CODE>&nbsp;<A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata">JobStatus</A></CODE></FONT></TD>\r
163 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#getJobStatus(java.lang.String)">getJobStatus</A></B>(java.lang.String&nbsp;jobId)</CODE>\r
164 \r
165 <BR>\r
166 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the status of the job.</TD>\r
167 </TR>\r
168 <TR BGCOLOR="white" CLASS="TableRowColor">\r
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
170 <CODE>&nbsp;<A HREF="../../../compbio/metadata/Limit.html" title="class in compbio.metadata">Limit</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></FONT></TD>\r
171 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#getLimits(java.lang.String)">getLimits</A></B>(java.lang.String&nbsp;presetName)</CODE>\r
172 \r
173 <BR>\r
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Limit for a preset.</TD>\r
175 </TR>\r
176 <TR BGCOLOR="white" CLASS="TableRowColor">\r
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
178 <CODE>&nbsp;<A HREF="../../../compbio/metadata/PresetManager.html" title="class in compbio.metadata">PresetManager</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></FONT></TD>\r
179 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#getPresets()">getPresets</A></B>()</CODE>\r
180 \r
181 <BR>\r
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get presets supported by a web service</TD>\r
183 </TR>\r
184 <TR BGCOLOR="white" CLASS="TableRowColor">\r
185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
186 <CODE>&nbsp;<A HREF="../../../compbio/data/sequence/Alignment.html" title="class in compbio.data.sequence">Alignment</A></CODE></FONT></TD>\r
187 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#getResult(java.lang.String)">getResult</A></B>(java.lang.String&nbsp;jobId)</CODE>\r
188 \r
189 <BR>\r
190 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the result of the job.</TD>\r
191 </TR>\r
192 <TR BGCOLOR="white" CLASS="TableRowColor">\r
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
194 <CODE>&nbsp;<A HREF="../../../compbio/metadata/RunnerConfig.html" title="class in compbio.metadata">RunnerConfig</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></FONT></TD>\r
195 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#getRunnerOptions()">getRunnerOptions</A></B>()</CODE>\r
196 \r
197 <BR>\r
198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get options supported by a web service</TD>\r
199 </TR>\r
200 <TR BGCOLOR="white" CLASS="TableRowColor">\r
201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
202 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>\r
203 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#presetAlign(java.util.List, compbio.metadata.Preset)">presetAlign</A></B>(java.util.List&lt;<A HREF="../../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>&gt;&nbsp;sequences,\r
204             <A HREF="../../../compbio/metadata/Preset.html" title="class in compbio.metadata">Preset</A>&lt;compbio.runner.msa.Probcons&gt;&nbsp;preset)</CODE>\r
205 \r
206 <BR>\r
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Align a list of sequences with preset.</TD>\r
208 </TR>\r
209 <TR BGCOLOR="white" CLASS="TableRowColor">\r
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">\r
211 <CODE>&nbsp;<A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata">ChunkHolder</A></CODE></FONT></TD>\r
212 <TD><CODE><B><A HREF="../../../compbio/ws/server/ProbconsWS.html#pullExecStatistics(java.lang.String, long)">pullExecStatistics</A></B>(java.lang.String&nbsp;jobId,\r
213                    long&nbsp;position)</CODE>\r
214 \r
215 <BR>\r
216 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads 1kb chunk from the statistics file which is specific to a given web
217  service from the position.</TD>\r
218 </TR>\r
219 </TABLE>\r
220 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>\r
221 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
222 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
223 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>\r
224 </TR>\r
225 <TR BGCOLOR="white" CLASS="TableRowColor">\r
226 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
227 </TR>\r
228 </TABLE>\r
229 &nbsp;\r
230 <P>\r
231 \r
232 <!-- ========= CONSTRUCTOR DETAIL ======== -->\r
233 \r
234 <A NAME="constructor_detail"><!-- --></A>\r
235 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
236 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
237 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
238 <B>Constructor Detail</B></FONT></TH>\r
239 </TR>\r
240 </TABLE>\r
241 \r
242 <A NAME="ProbconsWS()"><!-- --></A><H3>\r
243 ProbconsWS</H3>\r
244 <PRE>\r
245 public <B>ProbconsWS</B>()</PRE>\r
246 <DL>\r
247 </DL>\r
248 \r
249 <!-- ============ METHOD DETAIL ========== -->\r
250 \r
251 <A NAME="method_detail"><!-- --></A>\r
252 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
253 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">\r
254 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">\r
255 <B>Method Detail</B></FONT></TH>\r
256 </TR>\r
257 </TABLE>\r
258 \r
259 <A NAME="align(java.util.List)"><!-- --></A><H3>\r
260 align</H3>\r
261 <PRE>\r
262 public java.lang.String <B>align</B>(java.util.List&lt;<A HREF="../../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>&gt;&nbsp;sequences)\r
263                        throws <A HREF="../../../compbio/metadata/JobSubmissionException.html" title="class in compbio.metadata">JobSubmissionException</A></PRE>\r
264 <DL>\r
265 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#align(java.util.List)">MsaWS</A></CODE></B></DD>\r
266 <DD>Align a list of sequences with default settings.
267  
268  Any dataset containing a greater number of sequences or the average
269  length of the sequences are greater then defined in the default Limit
270  will not be accepted for an alignment operation and
271  JobSubmissionException will be thrown.\r
272 <P>\r
273 <DD><DL>\r
274 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#align(java.util.List)">align</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
275 </DD>\r
276 <DD><DL>\r
277 <DT><B>Parameters:</B><DD><CODE>sequences</CODE> - List of FastaSequence objects. The programme does not perform
278             any sequence validity checks. Nor does it checks whether the
279             sequences names are unique. It is responsibility of the caller
280             to validate this information\r
281 <DT><B>Returns:</B><DD>jobId - unique identifier for the job\r
282 <DT><B>Throws:</B>\r
283 <DD><CODE><A HREF="../../../compbio/metadata/JobSubmissionException.html" title="class in compbio.metadata">JobSubmissionException</A></CODE></DL>\r
284 </DD>\r
285 </DL>\r
286 <HR>\r
287 \r
288 <A NAME="customAlign(java.util.List, java.util.List)"><!-- --></A><H3>\r
289 customAlign</H3>\r
290 <PRE>\r
291 public java.lang.String <B>customAlign</B>(java.util.List&lt;<A HREF="../../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>&gt;&nbsp;sequences,\r
292                                     java.util.List&lt;<A HREF="../../../compbio/metadata/Option.html" title="class in compbio.metadata">Option</A>&lt;compbio.runner.msa.Probcons&gt;&gt;&nbsp;options)\r
293                              throws <A HREF="../../../compbio/metadata/JobSubmissionException.html" title="class in compbio.metadata">JobSubmissionException</A>,\r
294                                     <A HREF="../../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></PRE>\r
295 <DL>\r
296 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#customAlign(java.util.List, java.util.List)">MsaWS</A></CODE></B></DD>\r
297 <DD>Align a list of sequences with options.\r
298 <P>\r
299 <DD><DL>\r
300 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#customAlign(java.util.List, java.util.List)">customAlign</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
301 </DD>\r
302 <DD><DL>\r
303 <DT><B>Parameters:</B><DD><CODE>sequences</CODE> - List of FastaSequence objects. The programme does not perform
304             any sequence validity checks. Nor does it checks whether the
305             sequences names are unique. It is responsibility of the caller
306             to validate this information<DD><CODE>options</CODE> - A list of Options\r
307 <DT><B>Returns:</B><DD>jobId - unique identifier for the job\r
308 <DT><B>Throws:</B>\r
309 <DD><CODE><A HREF="../../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></CODE> - is throws when 1) One of the Options provided is not
310              supported, 2) The value of the option is defined outside the
311              boundaries. In both cases exception object contain the
312              information on the violating Option.\r
313 <DD><CODE><A HREF="../../../compbio/metadata/JobSubmissionException.html" title="class in compbio.metadata">JobSubmissionException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../compbio/metadata/Option.html" title="class in compbio.metadata"><CODE>Default Limit is used to decide whether the calculation will be
314       permitted or denied</CODE></A></DL>\r
315 </DD>\r
316 </DL>\r
317 <HR>\r
318 \r
319 <A NAME="presetAlign(java.util.List, compbio.metadata.Preset)"><!-- --></A><H3>\r
320 presetAlign</H3>\r
321 <PRE>\r
322 public java.lang.String <B>presetAlign</B>(java.util.List&lt;<A HREF="../../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>&gt;&nbsp;sequences,\r
323                                     <A HREF="../../../compbio/metadata/Preset.html" title="class in compbio.metadata">Preset</A>&lt;compbio.runner.msa.Probcons&gt;&nbsp;preset)\r
324                              throws <A HREF="../../../compbio/metadata/JobSubmissionException.html" title="class in compbio.metadata">JobSubmissionException</A>,\r
325                                     <A HREF="../../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></PRE>\r
326 <DL>\r
327 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#presetAlign(java.util.List, compbio.metadata.Preset)">MsaWS</A></CODE></B></DD>\r
328 <DD>Align a list of sequences with preset. @see Preset
329  
330  Limit for a presetName is used whether the calculation will be permitted
331  or denied. If no Limit was defined for a presetName, than default limit
332  is used.\r
333 <P>\r
334 <DD><DL>\r
335 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#presetAlign(java.util.List, compbio.metadata.Preset)">presetAlign</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
336 </DD>\r
337 <DD><DL>\r
338 <DT><B>Parameters:</B><DD><CODE>sequences</CODE> - List of FastaSequence objects. The programme does not perform
339             any sequence validity checks. Nor does it checks whether the
340             sequences names are unique. It is responsibility of the caller
341             to validate this information\r
342 <DT><B>Returns:</B><DD>String - jobId - unique identifier for the job\r
343 <DT><B>Throws:</B>\r
344 <DD><CODE><A HREF="../../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></CODE> - is throws when 1) One of the Options provided is not
345              supported, 2) The value of the option is defined outside the
346              boundaries. In both cases exception object contain the
347              information on the violating Option.\r
348 <DD><CODE><A HREF="../../../compbio/metadata/JobSubmissionException.html" title="class in compbio.metadata">JobSubmissionException</A></CODE></DL>\r
349 </DD>\r
350 </DL>\r
351 <HR>\r
352 \r
353 <A NAME="getResult(java.lang.String)"><!-- --></A><H3>\r
354 getResult</H3>\r
355 <PRE>\r
356 public <A HREF="../../../compbio/data/sequence/Alignment.html" title="class in compbio.data.sequence">Alignment</A> <B>getResult</B>(java.lang.String&nbsp;jobId)\r
357                     throws <A HREF="../../../compbio/metadata/ResultNotAvailableException.html" title="class in compbio.metadata">ResultNotAvailableException</A></PRE>\r
358 <DL>\r
359 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getResult(java.lang.String)">MsaWS</A></CODE></B></DD>\r
360 <DD>Return the result of the job.\r
361 <P>\r
362 <DD><DL>\r
363 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getResult(java.lang.String)">getResult</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
364 </DD>\r
365 <DD><DL>\r
366 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - a unique job identifier\r
367 <DT><B>Returns:</B><DD>Alignment\r
368 <DT><B>Throws:</B>\r
369 <DD><CODE><A HREF="../../../compbio/metadata/ResultNotAvailableException.html" title="class in compbio.metadata">ResultNotAvailableException</A></CODE> - this exception is throw if the job execution was not
370              successful or the result of the execution could not be found.
371              (e.g. removed). Exception could also be thrown is dues to the
372              lower level problems on the server i.e. IOException,
373              FileNotFoundException problems as well as
374              UnknownFileFormatException.</DL>\r
375 </DD>\r
376 </DL>\r
377 <HR>\r
378 \r
379 <A NAME="getLimits(java.lang.String)"><!-- --></A><H3>\r
380 getLimits</H3>\r
381 <PRE>\r
382 public <A HREF="../../../compbio/metadata/Limit.html" title="class in compbio.metadata">Limit</A>&lt;compbio.runner.msa.Probcons&gt; <B>getLimits</B>(java.lang.String&nbsp;presetName)</PRE>\r
383 <DL>\r
384 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getLimits(java.lang.String)">MsaWS</A></CODE></B></DD>\r
385 <DD>Get a Limit for a preset.\r
386 <P>\r
387 <DD><DL>\r
388 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getLimits(java.lang.String)">getLimits</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
389 </DD>\r
390 <DD><DL>\r
391 <DT><B>Parameters:</B><DD><CODE>presetName</CODE> - the name of the preset. if no name is provided, then the
392             default preset is returned. If no limit for a particular
393             preset is defined then the default preset is returned\r
394 <DT><B>Returns:</B><DD>Limit</DL>\r
395 </DD>\r
396 </DL>\r
397 <HR>\r
398 \r
399 <A NAME="pullExecStatistics(java.lang.String, long)"><!-- --></A><H3>\r
400 pullExecStatistics</H3>\r
401 <PRE>\r
402 public <A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata">ChunkHolder</A> <B>pullExecStatistics</B>(java.lang.String&nbsp;jobId,\r
403                                       long&nbsp;position)</PRE>\r
404 <DL>\r
405 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#pullExecStatistics(java.lang.String, long)">MsaWS</A></CODE></B></DD>\r
406 <DD>Reads 1kb chunk from the statistics file which is specific to a given web
407  service from the position. If in time of a request less then 1kb data is
408  available from the position to the end of the file, then it returns all
409  the data available from the position to the end of the file.\r
410 <P>\r
411 <DD><DL>\r
412 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#pullExecStatistics(java.lang.String, long)">pullExecStatistics</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
413 </DD>\r
414 <DD><DL>\r
415 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - - unique job identifier\r
416 <DT><B>Returns:</B><DD>ChunkHolder - @see ChunkHolder which contains a chuink of data
417          and a next position within the file from which no data has been
418          read</DL>\r
419 </DD>\r
420 </DL>\r
421 <HR>\r
422 \r
423 <A NAME="cancelJob(java.lang.String)"><!-- --></A><H3>\r
424 cancelJob</H3>\r
425 <PRE>\r
426 public boolean <B>cancelJob</B>(java.lang.String&nbsp;jobId)</PRE>\r
427 <DL>\r
428 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#cancelJob(java.lang.String)">MsaWS</A></CODE></B></DD>\r
429 <DD>Stop running job but leave its output untouched\r
430 <P>\r
431 <DD><DL>\r
432 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#cancelJob(java.lang.String)">cancelJob</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
433 </DD>\r
434 <DD><DL>\r
435 \r
436 <DT><B>Returns:</B><DD>true if job was cancelled successfully, false otherwise</DL>\r
437 </DD>\r
438 </DL>\r
439 <HR>\r
440 \r
441 <A NAME="getJobStatus(java.lang.String)"><!-- --></A><H3>\r
442 getJobStatus</H3>\r
443 <PRE>\r
444 public <A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata">JobStatus</A> <B>getJobStatus</B>(java.lang.String&nbsp;jobId)</PRE>\r
445 <DL>\r
446 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getJobStatus(java.lang.String)">MsaWS</A></CODE></B></DD>\r
447 <DD>Return the status of the job. @see JobStatus\r
448 <P>\r
449 <DD><DL>\r
450 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getJobStatus(java.lang.String)">getJobStatus</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
451 </DD>\r
452 <DD><DL>\r
453 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - - unique job identifier\r
454 <DT><B>Returns:</B><DD>JobStatus - status of the job</DL>\r
455 </DD>\r
456 </DL>\r
457 <HR>\r
458 \r
459 <A NAME="getPresets()"><!-- --></A><H3>\r
460 getPresets</H3>\r
461 <PRE>\r
462 public <A HREF="../../../compbio/metadata/PresetManager.html" title="class in compbio.metadata">PresetManager</A>&lt;compbio.runner.msa.Probcons&gt; <B>getPresets</B>()</PRE>\r
463 <DL>\r
464 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getPresets()">MsaWS</A></CODE></B></DD>\r
465 <DD>Get presets supported by a web service\r
466 <P>\r
467 <DD><DL>\r
468 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getPresets()">getPresets</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
469 </DD>\r
470 <DD><DL>\r
471 \r
472 <DT><B>Returns:</B><DD>PresetManager the object contains information about presets
473          supported by a web service</DL>\r
474 </DD>\r
475 </DL>\r
476 <HR>\r
477 \r
478 <A NAME="getRunnerOptions()"><!-- --></A><H3>\r
479 getRunnerOptions</H3>\r
480 <PRE>\r
481 public <A HREF="../../../compbio/metadata/RunnerConfig.html" title="class in compbio.metadata">RunnerConfig</A>&lt;compbio.runner.msa.Probcons&gt; <B>getRunnerOptions</B>()</PRE>\r
482 <DL>\r
483 <DD><B>Description copied from interface: <CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getRunnerOptions()">MsaWS</A></CODE></B></DD>\r
484 <DD>Get options supported by a web service\r
485 <P>\r
486 <DD><DL>\r
487 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../compbio/data/msa/MsaWS.html#getRunnerOptions()">getRunnerOptions</A></CODE> in interface <CODE><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A>&lt;compbio.runner.msa.Probcons&gt;</CODE></DL>\r
488 </DD>\r
489 <DD><DL>\r
490 \r
491 <DT><B>Returns:</B><DD>RunnerConfig the list of options and parameters supported by a
492          web service.</DL>\r
493 </DD>\r
494 </DL>\r
495 <!-- ========= END OF CLASS DATA ========= -->\r
496 <HR>\r
497 \r
498 \r
499 <!-- ======= START OF BOTTOM NAVBAR ====== -->\r
500 <A NAME="navbar_bottom"><!-- --></A>\r
501 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>\r
502 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">\r
503 <TR>\r
504 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">\r
505 <A NAME="navbar_bottom_firstrow"><!-- --></A>\r
506 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">\r
507   <TR ALIGN="center" VALIGN="top">\r
508   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>\r
509   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>\r
510   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>\r
511   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ProbconsWS.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>\r
512   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>\r
513   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>\r
514   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>\r
515   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>\r
516   </TR>\r
517 </TABLE>\r
518 </TD>\r
519 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>\r
520 </EM>\r
521 </TD>\r
522 </TR>\r
523 \r
524 <TR>\r
525 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
526 &nbsp;<A HREF="../../../compbio/ws/server/MuscleWS.html" title="class in compbio.ws.server"><B>PREV CLASS</B></A>&nbsp;\r
527 &nbsp;<A HREF="../../../compbio/ws/server/SimpleWSPublisher.html" title="class in compbio.ws.server"><B>NEXT CLASS</B></A></FONT></TD>\r
528 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">\r
529   <A HREF="../../../index.html?compbio/ws/server/ProbconsWS.html" target="_top"><B>FRAMES</B></A>  &nbsp;\r
530 &nbsp;<A HREF="ProbconsWS.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;\r
531 &nbsp;<SCRIPT type="text/javascript">\r
532   <!--\r
533   if(window==top) {\r
534     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');\r
535   }\r
536   //-->\r
537 </SCRIPT>\r
538 <NOSCRIPT>\r
539   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>\r
540 </NOSCRIPT>\r
541 \r
542 \r
543 </FONT></TD>\r
544 </TR>\r
545 <TR>\r
546 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
547   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>\r
548 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">\r
549 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>\r
550 </TR>\r
551 </TABLE>\r
552 <A NAME="skip-navbar_bottom"></A>\r
553 <!-- ======== END OF BOTTOM NAVBAR ======= -->\r
554 \r
555 <HR>\r
556 \r
557 </BODY>\r
558 </HTML>\r