Bio::GMOD::Util::CheckVersions::WormBase - Versioning code for WormBase
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();
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.
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.
Todd Harris <email@example.com>.
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.