Bio::Graphics::Browser2::Util3pm
Usage
use Bio::Graphics::Browser2::Util;my $r = modperl_request();
Overview
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
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.