]> git.donarmstrong.com Git - function2gene.git/commitdiff
update function2gene to allow uniprot
authorDon Armstrong <don@donarmstrong.com>
Mon, 25 Feb 2008 23:19:23 +0000 (23:19 +0000)
committerDon Armstrong <don@donarmstrong.com>
Mon, 25 Feb 2008 23:19:23 +0000 (23:19 +0000)
git-svn-id: file:///srv/svn/function2gene/trunk@34 a0738b58-4706-0410-8799-fb830574a030

bin/function2gene

index a89207267a9d19473d37fa243f9feacc211e5905..66b02bb51ca6e48ed400a5e40abc3b7f325761fb 100755 (executable)
@@ -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};