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

Diff of /FortyEight/rp_rapid_propagation.pl

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

revision 1.15, Wed Apr 14 16:16:29 2010 UTC revision 1.19, Wed Sep 29 16:21:04 2010 UTC
# Line 188  Line 188 
188      $meta->set_metadata($key, 0);      $meta->set_metadata($key, 0);
189  }  }
190    
191  my $rp_script = $FIG_Config::rapid_propagation_script;  my $user = &FIG::file_head("$jobdir/USER");
192    chomp $user;
193    
194    my $rp_script = $FIG_Config::rapid_propagation_script{$user};
195    $rp_script = $FIG_Config::rapid_propagation_script if $rp_script eq '';
196  my %valid_rapid_propagation = (rapid_propagation => 1,  my %valid_rapid_propagation = (rapid_propagation => 1,
197                                 rapid_propagation2 => 1);                                 rapid_propagation2 => 1,
198                                   rapid_propagation3 => 1,
199                                   rapid_propagation4 => 1,
200                                  );
201    
202  if (!$valid_rapid_propagation{$rp_script})  if (!$valid_rapid_propagation{$rp_script})
203  {  {
204      $rp_script = "rapid_propagation";      $rp_script = "rapid_propagation";
205  }  }
206    
207  $meta->add_log_entry("Processing using rapid propagation script '$rp_script'");  $meta->add_log_entry($0, "Processing using rapid propagation script '$rp_script'");
208  @cmd = ("$FIG_Config::bin/$rp_script", "--errdir", $errdir,  @cmd = ("$FIG_Config::bin/$rp_script", "--errdir", $errdir,
209          @keep_genecalls_flag,          @keep_genecalls_flag,
210          "--code", $genetic_code,          "--code", $genetic_code,

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.19

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3