From 8fc4a8f9bcb16397d40217074b85f16233fe036b Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 20 Dec 2011 14:55:52 +0000 Subject: [PATCH] fixed --rev swith in usearch.rb git-svn-id: http://biopieces.googlecode.com/svn/trunk@1714 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/usearch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_ruby/lib/maasha/usearch.rb b/code_ruby/lib/maasha/usearch.rb index 75da3f7..129cfce 100644 --- a/code_ruby/lib/maasha/usearch.rb +++ b/code_ruby/lib/maasha/usearch.rb @@ -67,6 +67,7 @@ class Usearch # Method to execute clustering de novo. def cluster @command << "usearch --cluster #{@infile} --uc #{@outfile} --id #{@options[:identity]}" + @command << "--rev" if @options[:comp] execute end @@ -138,7 +139,6 @@ class Usearch # The command is composed of bits from the @command variable. def execute @command.unshift "nice -n 19" - @command << "--rev" if @options[:comp] @command << "> /dev/null 2>&1" unless @options[:verbose] command = @command.join(" ") system(command) -- 2.39.5