[Bio] / FortyEight / batch_rast.pl Repository:
ViewVC logotype

Diff of /FortyEight/batch_rast.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5, Tue Jan 12 20:25:59 2010 UTC revision 1.6, Tue Jan 12 20:29:47 2010 UTC
# Line 103  Line 103 
103    
104  if ($phase{4})  if ($phase{4})
105  {  {
106      &run("$FIG_Config::bin/rp_postproc_sims", $job->dir, $sims_nr_len, $sims_peg_synonyms, $sims_keep_count);      &do_sims_postprocess($job);
107      &do_bbhs($job);      &do_bbhs($job);
108      &do_auto_assign($job);      &do_auto_assign($job);
109      &do_glue_contigs($job);      &do_glue_contigs($job);
# Line 197  Line 197 
197          die "Tasks not found";          die "Tasks not found";
198      }      }
199    
200        for my $task ($task_start .. $task_end)
201        {
202            $ENV{SGE_TASK_ID} = $task;
203            &run("$FIG_Config::bin/rp_compute_sims", $job->dir);
204        }
205    }
206    
207    sub do_sims_postprocess
208    {
209        my($job) = @_;
210    
211      my $sims_nr_len = $sims_nr;      my $sims_nr_len = $sims_nr;
212      if (-f "$sims_nr-len.btree")      if (-f "$sims_nr-len.btree")
213      {      {
214          $sims_nr_len = "$sims_nr-len.btree";          $sims_nr_len = "$sims_nr-len.btree";
215      }      }
216    
217      for my $task ($task_start .. $task_end)      &run("$FIG_Config::bin/rp_postproc_sims", $job->dir, $sims_nr_len, $sims_peg_synonyms, $sims_keep_count);
     {  
         $ENV{SGE_TASK_ID} = $task;  
         &run("$FIG_Config::bin/rp_compute_sims", $job->dir);  
     }  
218  }  }
219    
220  sub do_bbhs  sub do_bbhs

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3