]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed bug in uclust_seq
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 18 Nov 2010 12:40:10 +0000 (12:40 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 18 Nov 2010 12:40:10 +0000 (12:40 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1167 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/uclust_seq

index 0d194c4e7d6b2fc25984c8dbc8a85b43faede327..75caf94d461d7881fea606228edb4faa5d90a538 100755 (executable)
@@ -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)