From: Don Armstrong Date: Mon, 25 Feb 2008 23:19:23 +0000 (+0000) Subject: update function2gene to allow uniprot X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=commitdiff_plain;h=3f759318c3a4c283f19113827dbaf206cb0f0252 update function2gene to allow uniprot git-svn-id: file:///srv/svn/function2gene/trunk@34 a0738b58-4706-0410-8799-fb830574a030 --- diff --git a/bin/function2gene b/bin/function2gene index a892072..66b02bb 100755 --- a/bin/function2gene +++ b/bin/function2gene @@ -130,7 +130,7 @@ $ERRORS.="restart-at must be one of get, parse or combine\n" if $ERRORS.="unknown database(s)" if @{$options{databases}} and - grep {$_ !~ /^(?:ncbi|genecard|harvester|ensembl)$/i} @{$options{databases}}; + grep {$_ !~ /^(?:ncbi|genecard|harvester|ensembl|uniprot)$/i} @{$options{databases}}; if (not length $options{results}) { $ERRORS.="results directory not specified"; @@ -142,7 +142,7 @@ elsif (not -d $options{results} or not -w $options{results}) { pod2usage($ERRORS) if length $ERRORS; if (not @{$options{databases}}) { - $options{databases} = [qw(ncbi genecard harvester ensembl)] + $options{databases} = [qw(ncbi genecard harvester ensembl uniprot)] } $DEBUG = $options{debug};