From: martinahansen Date: Thu, 18 Nov 2010 12:40:10 +0000 (+0000) Subject: fixed bug in uclust_seq X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9f30ce7e23b49f00c6f1b1fdeaf257c20a252296;p=biopieces.git fixed bug in uclust_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@1167 74ccb610-7750-0410-82ae-013aeee3265d --- 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)