NAME

 wget.pl - Retrieve entries from indexed file or display status of indexed files


SYNOPSIS

Command line only
wget.pl -cli [-s] [-f <indexed file>]
[-t <toolname>] [-e <entry>] [-d <db name>]
[-o <output file>] [-i] [-n] [-h]


DESCRIPTION

 Used to query interpro.xml datafile and check the status of the indexed datafiles.


VERSIONS

 $Id: wget.html,v 1.1.1.1 2005/08/18 13:18:26 hunter Exp $
 Copyright (c) European Bioinformatics Institute 2002


AUTHORS / ACKNOWLEDGEMENTS

 Emmanuel Quevillon <tuco@ebi.ac.uk>

displayInx

 Description: Display the status of the indexed flat files (indexed or not).
 Arguments:   $iprscan   InterProScan tool object.
              $html      CGI usage?
 Returns:     1, ''      on success.
              0, message on error

dorequest

 Description: Perform a request in InterPro datafile based on InterPro accesion number
              or members database ID.
 Arguments:  $tool   InterProScan tool object.
             $dbname Datafile to search (Perl module to use).
             $query  Accession number or ID to search.
             $insens   Case insensitive?
 Returns:    1, ''      on success.
             0, message on error

weberror Description: Display an error page and exit. Arguments: $msg message to display. $html CGI usage? $name action page to go back $usage displays usage for command line only. Returns: HTML code.

displayQueryForm

    Description: Display page to query datafiles.
    Arguments:   $iprscan Refrence to a Dispatcher::Tool::InterProScan object
    Returns:     1, '' on success
                 0, message on error

getLinkedInfo

   Description: Method used to create a http link to the member database home page using the entry id.
   Arguments:   $entry  entry id.
   Returns:     The HTML code.

getTitle

  Description: Returns a title for HMTL or TEXT version
  Arguments:   $entry Entry name to be displayed in the title.
               $html Is it used by CGI?
  Returns:     string with the title formatted for HMTL or TEXT output.

getBanner

    Description: Returns a banner with a text inside.
    Arguments:   Text to print.
    Returns:     The banner.

usage

    Description: Prints usage on the standard output and exit
    Arguments:   $msg An error message to display before the usage.
    Returns:     Usage & help.