Included libraries | Package variables | General documentation | Methods |
WebCvs | Raw content |
created | Description | Code |
elapsed | Description | Code |
ended | Description | Code |
id | Description | Code |
last_event | Description | Code |
remove | Description | Code |
result | Description | Code |
results | Description | Code |
run | Description | Code |
started | Description | Code |
status | Description | Code |
terminate | Description | Code |
times | Description | Code |
wait_for | Description | Code |
created | code | next | Top |
Usage : $job->created (1)Without any argument it returns a time of creation of this job in seconds, counting from the beginning of the UNIX epoch (1.1.1970). With a true argument it returns a formatted time, using rules described in Bio::Tools::Run::Analysis::Utils::format_time. |
elapsed | code | prev | next | Top |
Usage : $job->elapsedNote that some server implementations cannot count in millisecond - so the returned time may be rounded to seconds. |
ended | code | prev | next | Top |
Usage : $job->ended (1)See created. |
id | code | prev | next | Top |
Usage : $job->id;Each job (an execution) is identifiable by this unique ID which can be used later to re-create the same job (in other words: to re-connect to the same job). It is useful in cases when a job takes long time to finish and your client program does not want to wait for it within the same session. |
last_event | code | prev | next | Top |
Usage : $job->last_eventIt returns a short XML document showing what happened last with this job. This is the used DTD: <!-- place for extensions -->Here is an example what is returned after a job was created and started, but before it finishes (note that the example uses an analysis 'showdb' which does not need any input data): use Bio::Tools::Run::Analysis;It prints: <?xml version = "1.0"?>The same example but now after it finishes: use Bio::Tools::Run::Analysis; |
remove | code | prev | next | Top |
Usage : $job->removeThe job object is not actually removed in this time but it is marked (setting 1 to _destroy_on_exit attribute) as ready for deletion when the client program ends (including a request to server to forget the job mirror object on the server side). |
result | code | prev | next | Top |
Usage : $job->result (...) |
results | code | prev | next | Top |
Usage : $job->results (...)This is a complex method trying to make sense for all kinds of results. Especially it tries to help to put binary results (such as images) into local files. Generally it deals with fhe following facts: *(1) Each analysis tool may produce more results. *(2) Some results may contain binary data not suitable for printing into aterminal window. *(3) Some results may be split into variable number of parts (this ismainly true for the image results that can consist of more *.png files). Note also that results have names to distinguish if there are more of them. The names can be obtained by method result_spec. Here are the rules how the method works: Retrieving NAMED results: |
run | code | prev | next | Top |
Usage : $job->runIt starts previously created job. The job already must have all input data filled-in. This differs from the method of the same name of the Bio::Tools::Run::Analysis object where the run method creates also a new job allowing to set input data. |
started | code | prev | next | Top |
Usage : $job->started (1)See created. |
status | code | prev | next | Top |
Usage : $job->statusIt returns one of the following strings (and perhaps more if a server implementation extended possible job states): CREATED |
terminate | code | prev | next | Top |
Usage : $job->terminateStop the currently running job (represented by this object). This is a definitive stop, there is no way to resume it later. |
times | code | prev | next | Top |
Usage : $job->times ('formatted')It is a convenient method returning a hash reference with the folowing keys: createdSee create for remarks on time formating. An example - both for unformatted and formatted times: use Data::Dumper; |
wait_for | code | prev | next | Top |
Usage : $job->wait_forIt waits until a previously started execution of this job finishes. |
created | description | prev | next | Top |
shift->throw_not_implemented();}
elapsed | description | prev | next | Top |
shift->throw_not_implemented();}
ended | description | prev | next | Top |
shift->throw_not_implemented();}
id | description | prev | next | Top |
shift->throw_not_implemented();}
last_event | description | prev | next | Top |
shift->throw_not_implemented();}
remove | description | prev | next | Top |
shift->throw_not_implemented();}
result | description | prev | next | Top |
shift->throw_not_implemented();}
results | description | prev | next | Top |
shift->throw_not_implemented();}
run | description | prev | next | Top |
shift->throw_not_implemented();}
started | description | prev | next | Top |
shift->throw_not_implemented();}
status | description | prev | next | Top |
shift->throw_not_implemented();}
terminate | description | prev | next | Top |
shift->throw_not_implemented();}
times | description | prev | next | Top |
shift->throw_not_implemented();}
wait_for | description | prev | next | Top |
shift->throw_not_implemented();}
Module Bio::AnalysisI::JobI | Top |
create_job (returning a prepared job)
run (returning a running job)
wait_for (returning a finished job)