iprscan_wrapper.pl - wrapper for InterProScan.
iprscan_wrapper.pl < parameter-file
Parameter file should contain parameters written with Dispatcher::Tool writeParamFile function.
$Id: iprscan_wrapper.html,v 1.1.1.1 2005/08/18 13:18:26 hunter Exp $
Copyright (c) European Bioinformatics Institute 2002
Ville Silventoinen <vsi@ebi.ac.uk> Emmanuel Quevillon <tuco@ebi.ac.uk>
Description: Convenience method that reports the error and exits. This method also writes errors to the $efile so the CGI can show errors to the end-user. Arguments: $tool Dispatcher::Tool object. $msg Error message. $efile InterProScan error file (optional). $jfile Job error file (optional). $addinfo 1: add contact details, 0: does not Returns: exits
Description: Checks status of the jobs untill they are finished. Then parses results, creates raw and xml files in each chunks.
Arguments: $tool Dispatcher::Tool object. $h_chunk Hash table containing info about jobs in chunks. $chunk Chunk number to run supervise on (optional). If no variable is given, supervise run on every chunks. Returns: 1, '' on success 0, message on error
Description: Method to create raw result for a specific chunk when all the jobs are done in this particular chunk. Arguments: $tool Reference to a Dispatcher::Tool object. $h_chunk Reference to hash containing info of chunks. $chunk Number of chunk to work with. Returns: 1, '' on success. 0, msg on error.
Description: Convenience method that returns the job IDs that are not finished. Arguments: $h_chunk Reference to hash containing info of chunks. $chunk Number of chunk to work with (optional). If $chunk not given, run on every chunks. Returns: modified $h_chunk in consequences.