X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=blobdiff_plain;f=bin%2Ffunction2gene;fp=bin%2Ffunction2gene;h=66b02bb51ca6e48ed400a5e40abc3b7f325761fb;hp=a89207267a9d19473d37fa243f9feacc211e5905;hb=3f759318c3a4c283f19113827dbaf206cb0f0252;hpb=1e24111af3bd3cb2b5795a64756c8b2fb05be8b5 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};