@outfile = outfile
@options = options
@command = []
@outfile = outfile
@options = options
@command = []
-
- @command << "--rev" if @options[:comp]
end
# Method that calls Uclusts sorting for sorting a FASTA file
end
# Method that calls Uclusts sorting for sorting a FASTA file
# The command is composed of bits from the @command variable.
def execute
@command.unshift "nice -n 19"
# 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)
@command << "> /dev/null 2>&1" unless @options[:verbose]
command = @command.join(" ")
system(command)