

$path = $source->userdata(@path_components) Returns a path to somewhere in the tmp file system for the indicated userdata.
$setting = $source->global_setting('option')
Like code_setting() except that it is only for 'general' options. If the option is not found in the datasource config file, then looks in the global file.
Returns "open" "closed" or "off" for the named section. Named sections are:
instructions search overview details tracks display upload_tracks
This is called at initialization time to add track configs for the automatic "scale" (arrow) tracks for details, overview and regionview
Return all named databases from [name:database] tracks.
Given a database named by ['databasename':database], return its adaptor and arguments.
Return the adaptor and arguments suitable for the database identified by the given track label. If no track label is given then the "general" default database is used.
Return the database handle specified by the given track label or 'general' if not given. The databases are cached and so it is ok to call repeatedly.
Given a database handle, return all dbids that correspond to that database. In a scalar context, returns just the first dbid that uses it. It is less confusing to call in a scalar context.
Empty out our cache of database settings and fetch anew from config file
($url,$path) = generate_image($gd);
Given a GD::Image object, this method calls its png() or gif() methods (depending on GD version), stores the output into the temporary "images" subdirectory of the directory given by the "tmp_base" option in the configuration file. It returns a two element list consisting of the URL to the image and the physical path of the image.
This adds a new method called gbrowse_dbid() to a feature. Do not call it if the method is already in the feature's class. The hashref should be populated by feature memory locations (overload::StrVal($feature)) as keys and database symbolic IDs as values.
Search through all stanzas for those with a matching "data source" option. Data sources look like this:
[stanzaLabel1] data source = FlyBase [stanzaLabel2] data source = FlyBase
Now searching for $source->data_source_to_label('FlyBase') will return "stanzaLabel1" and "stanzaLabel2" along with others that match. A track may have several data sources, separated by spaces.
Search through all stanzas for those with a matching "track source" option. Track sources look like this:
[stanzaLabel] track source = UCSC EBI NCBI
Now searching for $source->track_source_to_label('UCSC','EBI') will return "stanzaLabel" along with others that match. A track may have several space-delimited track sources.