Provided by: gbrowse_2.56+dfsg-12build3_all bug

NAME

       Bio::Graphics::Browser2::Util -- Exported utilities

SYNOPSIS

         use Bio::Graphics::Browser2::Util;

         my $r = modperl_request();

DESCRIPTION

       This package provides functions that support the Generic Genome Browser.  It is not
       currently designed for external use.

   FUNCTIONS
       my $r = modperl_request()
           Return an Apache2::Request or an Apache::Request object, depending on whichever
           version of Apache is running.

       error('message')
           Prints an error message

       url_label($yucky_url)
           Creates a label.alias for URL strings starting with 'http' or 'ftp'.  The last word
           (following a '/') in the url is used for the label.  Returns a string "url:label".

       citation(DataSource, 'label, [Language])
           Returns a track citation

       $id = generate_id
           Generate a new md5 hash of a random value for use in various IDs.

       $string = segment_str($segment)
           Returns a nicely formatted string in the format chr:start..stop with commas

SEE ALSO

       Bio::Graphics::Browser, Bio::Graphics::Panel, Bio::Graphics::Glyph,
       Bio::Graphics::Feature, Bio::Graphics::FeatureFile

AUTHOR

       Lincoln Stein <lstein@cshl.org>.

       Copyright (c) 2003 Cold Spring Harbor Laboratory

       This package and its accompanying libraries is free software; you can redistribute it
       and/or modify it under the terms of the GPL (either version 1, or at your option, any
       later version) or the Artistic License 2.0.  Refer to LICENSE for the full license text.
       In addition, please see DISCLAIMER.txt for disclaimers of warranty.