From: cmzmasek@gmail.com Date: Thu, 28 Nov 2013 00:26:48 +0000 (+0000) Subject: inprogress X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=90d29ca20f3e7c5007a21e9e8ca7f44d57b4ce67;p=jalview.git inprogress --- diff --git a/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb b/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb index ed085a1..b435566 100644 --- a/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb +++ b/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb @@ -43,6 +43,7 @@ module Evoruby def initialize() @file_to_msa = Hash.new + @seqs = 0 end def run() @@ -549,8 +550,10 @@ module Evoruby rescue Exception => e Util.fatal_error( PRG_NAME, "error: " + e.to_s ) end - if @file_to_msa.size < 500 && msa.get_number_of_seqs <= 50000 + if @seqs <= 10000000 @file_to_msa[ input ] = msa + @seqs += msa.get_number_of_seqs + puts "total seqs in memory: " + @seqs.to_str end msa end