[Bio] / FigKernelPackages / ProtSims.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/ProtSims.pm

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

revision 1.11, Wed Feb 17 19:34:10 2010 UTC revision 1.12, Sat Mar 6 23:54:11 2010 UTC
# Line 41  Line 41 
41  }  }
42    
43  sub blastP {  sub blastP {
44      my($q,$db,$min_hits) = @_;      my($q,$db,$min_hits,$use_blast) = @_;
45    
46      my(@q,@db);      my(@q,@db);
47    
# Line 91  Line 91 
91      }      }
92    
93      my $tmpF = "/tmp/sim.out.$$";      my $tmpF = "/tmp/sim.out.$$";
94      my $cmd = "$blat_cmd $dbF $qF -prot -out=blast8 $tmpF > /dev/null";      my $cmd = $use_blast ? "touch $tmpF" : "$blat_cmd $dbF $qF -prot -out=blast8 $tmpF > /dev/null";
95      #print STDERR "$cmd\n";      #print STDERR "$cmd\n";
96      my $rc = system $cmd;      my $rc = system $cmd;
97      if ($rc != 0)      if ($rc != 0)

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3