[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.13, Tue Jun 23 21:31:50 2009 UTC revision 1.19, Wed Sep 29 16:21:04 2010 UTC
# Line 120  Line 120 
120  #  #
121    
122  my $tmp = "tmprp.job$job.$$";  my $tmp = "tmprp.job$job.$$";
123  my $tmpdir = "/scratch/$tmp";  #my $tmpdir = "/scratch/$tmp";
124    my $tmpdir = "$FIG_Config::temp/$tmp";
125    
126  &FIG::verify_dir("$jobdir/rp");  &FIG::verify_dir("$jobdir/rp");
127    
# Line 187  Line 188 
188      $meta->set_metadata($key, 0);      $meta->set_metadata($key, 0);
189  }  }
190    
191  @cmd = ("$FIG_Config::bin/rapid_propagation", "--errdir", $errdir,  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,
197                                   rapid_propagation2 => 1,
198                                   rapid_propagation3 => 1,
199                                   rapid_propagation4 => 1,
200                                  );
201    
202    if (!$valid_rapid_propagation{$rp_script})
203    {
204        $rp_script = "rapid_propagation";
205    }
206    
207    $meta->add_log_entry($0, "Processing using rapid propagation script '$rp_script'");
208    @cmd = ("$FIG_Config::bin/$rp_script", "--errdir", $errdir,
209          @keep_genecalls_flag,          @keep_genecalls_flag,
210          "--code", $genetic_code,          "--code", $genetic_code,
211          "--meta", $meta_file,          "--meta", $meta_file,

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3