From: Don Armstrong Date: Wed, 27 Feb 2008 22:36:27 +0000 (+0000) Subject: * Default back to ncbi genecards and harvester, but indicate that ensembl and unipro... X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=commitdiff_plain;h=757a79394267bc9c18f0eebeb7016cf2e07f0c8d * Default back to ncbi genecards and harvester, but indicate that ensembl and uniprot are also supported git-svn-id: file:///srv/svn/function2gene/trunk@37 a0738b58-4706-0410-8799-fb830574a030 --- diff --git a/bin/function2gene b/bin/function2gene index 66b02bb..962be18 100755 --- a/bin/function2gene +++ b/bin/function2gene @@ -53,8 +53,8 @@ the system =item B<--database> Databases to search, can be specified multiple times. [Defaults to -NCBI, GeneCards and Harvester, the only currently supported -databases.] +NCBI, GeneCards and Harvester, but ensembl and uniprot are also +supported currently.] =item B<--restart-at> @@ -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 uniprot)] + $options{databases} = [qw(ncbi genecard harvester)] } $DEBUG = $options{debug}; @@ -297,6 +297,9 @@ for my $keyword (@{$state{keywords}}) { } } +$SIG{INT} = sub { + save_state(\%state); +}; for my $state (qw(get parse)) { my %databases;