Sha256: ad11f847285820dae8aa950d6d60656a04adc6c362fa51135aa66cc323f8685a

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 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]
      `uclust --mergesort #{input} --output #{output}`
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lederhosen-0.1.7 lib/lederhosen/tasks/sort.rb
lederhosen-0.1.6 lib/lederhosen/tasks/sort.rb
lederhosen-0.1.5 lib/lederhosen/tasks/sort.rb