X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Ffunction2gene;h=ed9a38ca23a3b948c7c07913c62efde34d1949a5;hb=76def23cfaf543f2a55dcb2a57b40cecae71687a;hp=07dd2aed5f40500c9c7fc59fbae01c8d58444b28;hpb=0486e6434cd182e8b30ba008d98ad3d3f008d2ab;p=function2gene.git diff --git a/bin/function2gene b/bin/function2gene index 07dd2ae..ed9a38c 100755 --- a/bin/function2gene +++ b/bin/function2gene @@ -56,7 +56,8 @@ databases.] =item B<--restart-at> If you need to restart the process at a particular state (which has -already been completed) specify this option. +already been completed) specify this option. Valid values are get, +parse, or combine. =item B<--debug, -d> @@ -78,6 +79,10 @@ Display this manual. echo 'transferrin' > keywords.txt function2gene --keywords keywords.txt --results keyword_results + # reparse the results + function2gene --keywords keywords.txt --results keyword_results \ + --restart-at parse + =cut @@ -287,7 +292,11 @@ if ($actions{combine}) { $state{done_keywords}{combined}{$db}{$keyword} = 1; } save_state(\%state); - ADVISE("Finished; results in $options{results}/combined_results"); + write_command_to_file('combined_results_table.txt', + "$base_dir/results_to_table", + 'combined_results.txt', + ); + ADVISE("Finished; results in $options{results}/combined_results.txt"); } else { ADVISE('Nothing to do. [Perhaps you wanted --restart-at?]');