X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=blobdiff_plain;f=bin%2Ffunction2gene;fp=bin%2Ffunction2gene;h=962be188411a6a59d31b893001924bcedba161ec;hp=66b02bb51ca6e48ed400a5e40abc3b7f325761fb;hb=757a79394267bc9c18f0eebeb7016cf2e07f0c8d;hpb=9f0f6eec847fd0588d95463ee2eb54f6567b46f1 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;