NAME
Bio::VertRes::Config::CommandLine::StudyNameSearch - Prevent a study name from being registered in two different databases
VERSION
version 1.133090
SYNOPSIS
Prevent a study name from being registered in two different databases. use Bio::VertRes::Config::CommandLine::StudyNameSearch;
my $obj = Bio::VertRes::Config::CommandLine::StudyNameSearch->new(
default_database_name => 'pathogen_rnd_track',
config_base => $destination_directory,
study_name => 'Unseen study'
);
$obj->get_study_database_name_or_default_if_not_found;
METHODS
get_study_database_name_or_default_if_not_found
Lookup the study name in all the standard databases. If its found then return that database. If its a new study return the default.
AUTHOR
Andrew J. Page <ap13@sanger.ac.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007