]> git.donarmstrong.com Git - function2gene.git/blobdiff - bin/function2gene
* Fix genecard and harvester parsers
[function2gene.git] / bin / function2gene
index 07dd2aed5f40500c9c7fc59fbae01c8d58444b28..ed9a38ca23a3b948c7c07913c62efde34d1949a5 100755 (executable)
@@ -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?]');