Sha256: 69c4b1d88118f31baff9c03709b43d907e7ca2694029ac2aa083a311366ec7fa

Contents?: true

Size: 473 Bytes

Versions: 12

Compression:

Stored size: 473 Bytes

Contents

##
# SORT JOINED READS BY LENGTH
#

module Lederhosen
  class CLI

    desc "sort",
         "sort reads by length in descending order (pre-requisite for UCLUST)"

    method_option :input,  :type => :string, :required => true
    method_option :output, :type => :string, :required => true

    def sort
      input = options[:input]
      output = options[:output]
      @shell.mute {
        run "uclust --mergesort #{input} --output #{output}"
      }
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lederhosen-0.2.9 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.8 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.7 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.6 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.5 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.4 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.3 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.2 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.1 lib/lederhosen/tasks/sort.rb
lederhosen-0.2.0 lib/lederhosen/tasks/sort.rb
lederhosen-0.1.9 lib/lederhosen/tasks/sort.rb
lederhosen-0.1.8 lib/lederhosen/tasks/sort.rb