Todd Harris > Bio-GMOD > Bio::GMOD::Util::CheckVersions::WormBase

Download:
Bio-GMOD-0.028.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Bio::GMOD::Util::CheckVersions::WormBase - Versioning code for WormBase

SYNOPSIS ^

  use Bio::GMOD::Util::CheckVersions;
  my $gmod   = Bio::GMOD::Util::CheckVersions->new(-mod => 'WormBase');
  my $live   = $gmod->live_version();
  my $dev    = $gmod->development_version();
  my $local  = $gmod->local_version();

DESCRIPTION ^

Bio::GMOD::Util::CheckVersions::WormBase implements a single method for checking the locally installed version of WormBase. The generic live_version and development_version provided by the CheckVersions parent class are used to check the current versions on the live and developement sites.

PUBLIC METHODS ^

$mod->local_version()

Fetch the locally installed version of AceDB. This script attempts to read the symlink located at /usr/local/acedb/elegans, parsing out the WSXXX version:

      elegans -> elegans_WS129

As with the other version checks, local_version() returns the WSXXX when called in scalar context, or a hash containing status, title, site, version, and released keys.

The -acedb_path option can be used to override the default path if you store your databases in a different location.

If your installation does not symlink elegans to the installed version of the database, this subroutine may fail.

PRIVATE METHODS

None.

BUGS ^

None reported.

SEE ALSO ^

Bio::GMOD

AUTHOR ^

Todd Harris <harris@cshl.edu>.

Copyright (c) 2003-2005 Cold Spring Harbor Laboratory.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: