Skip to content

Commit

Permalink
Merge pull request #86 from andrewjpage/increase_memory_blastp
Browse files Browse the repository at this point in the history
increase blastp min memory to 3gb from 100
  • Loading branch information
andrewjpage committed Jan 21, 2015
2 parents 054f19c + 19937e2 commit 3a0d494
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Bio/PanGenome/ParallelAllAgainstAllBlast.pm
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ sub _build__memory_required_in_mb
{
my ($self) = @_;
my $filename = $self->fasta_file;
my $file_size = 1000;
my $file_size = 3000;
if(-e $filename)
{
$file_size = -s $filename;
$file_size *=10;
$file_size *=12;
$file_size = int($file_size/1000000);
$file_size = 100 if($file_size < 100);
$file_size = 3000 if($file_size < 3000);
}

return $file_size;
Expand Down

0 comments on commit 3a0d494

Please sign in to comment.