Sha256: 56510d07b44944ba5297392307c127c59e4604c4431c5bd9c69af15dab6935cd
Contents?: true
Size: 656 Bytes
Versions: 5
Compression:
Stored size: 656 Bytes
Contents
## # FINALLY, CLUSTER! # module Lederhosen class CLI desc "cluster fasta file", "--input=sorted.fasta --identity=0.80 --output=clusters.uc" method_option :input, :type => :string, :default => 'sorted.fasta' method_option :output, :type => :string, :default => 'clusters.uc' method_option :identity, :type => :numeric, :default => 0.8 def cluster identity = options[:identity] output = options[:output] input = options[:input] cmd = [ 'uclust', "--input #{input}", "--uc #{output}", "--id #{identity}", ].join(' ') exec cmd end end end
Version data entries
5 entries across 5 versions & 1 rubygems