From 9f30ce7e23b49f00c6f1b1fdeaf257c20a252296 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 18 Nov 2010 12:40:10 +0000 Subject: [PATCH] fixed bug in uclust_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@1167 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/uclust_seq | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bp_bin/uclust_seq b/bp_bin/uclust_seq index 0d194c4..75caf94 100755 --- a/bp_bin/uclust_seq +++ b/bp_bin/uclust_seq @@ -40,8 +40,6 @@ class Uclust @outfile = outfile @options = options @command = [] - - @command << "--rev" if @options[:comp] end # Method that calls Uclusts sorting for sorting a FASTA file @@ -124,6 +122,7 @@ class Uclust # 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