Bio::EnsEMBL::Analysis::Config::GeneBuild ExamineGeneSets
SummaryPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::Analysis::Config::GeneBuild::OrthologueEvaluator
Package variables
No package variables defined.
Synopsis
    Bio::EnsEMBL::Analysis::Config::GeneBuild::OrthologueEvaluator
Description
OrthologueEvaluator - Configuration
This is the main configuration file for OrthologueEvaluator, a perl
module which uses information from an Ensembl Compara database to
compare and assess gene predictions.
The parameters to connect to various databases are defiend in
  - modules/Bio/EnsEMBL/Analysis/Config/GeneBuild/Databases.pm 
- modules/Bio/EnsEMBL/Analysis/Config/OrthologueEvaluator.pm
The general function of this config file is to import a number of
standard global variables into the calling package. Without arguments
all the standard variables are set, and with a list, only those variables
whose names are provided are set. The module will die if a variable
which doesn\'t appear in its %Config hash is asked to be set.
The variables can also be references to arrays or hashes.
Edit %Config to add or alter variables.
All the variables are in capitals, so that they resemble environment
variables.
Methods
import
No description
Code
Methods description
None available.
Methods code
importdescriptionprevnextTop
sub import {
    my ($callpack) = caller(0); 
    my $pack = shift; 
    my @vars = @_ ? @_ : keys(%Config);
    return unless @vars;
    eval "package $callpack; use vars qw("
         . join(' ', map { '$'.$_ } @vars) . ")";
    die $@ if $@;
    foreach (@vars) {
	if (defined $Config{ $_ }) {
            no strict 'refs';
	    *{"${callpack}::$_"} =\$ Config{ $_ };
	} else {
	    die "Error: Config: $_ not known\n";
	}
    }
}
1;
}
General documentation
CONTACTTop
ensembl-dev@ebi.ac.uk