Sha256: 0f2f103bb62d3aa25e55522c5beb5ee35b320affda2036d63b8598a8e4ddc548
Contents?: true
Size: 607 Bytes
Versions: 2
Compression:
Stored size: 607 Bytes
Contents
## # FINALLY, CLUSTER! # module Lederhosen class CLI desc "cluster", "cluster a fasta file using UCLUST" method_option :input, :type => :string, :required => true method_option :output, :type => :string, :required => true method_option :identity, :type => :numeric, :required => true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lederhosen-0.1.6 | lib/lederhosen/tasks/cluster.rb |
lederhosen-0.1.5 | lib/lederhosen/tasks/cluster.rb |