]> git.donarmstrong.com Git - function2gene.git/blobdiff - bin/function2gene
* Finish addition of ensembl support
[function2gene.git] / bin / function2gene
index b6810e2be8c8ed4eab05cedd73ca50b99e3d6719..a89207267a9d19473d37fa243f9feacc211e5905 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)$/i} @{$options{databases}};
+     grep {$_ !~ /^(?:ncbi|genecard|harvester|ensembl)$/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)]
+     $options{databases} = [qw(ncbi genecard harvester ensembl)]
 }
 
 $DEBUG = $options{debug};