Sha256: 3433d0f899597bafcd2ebfd1b18191e0420a313902af019daab4729158952cb7

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

##
# SORT JOINED READS BY LENGTH
#

module Lederhosen
  class CLI

    desc "sort",
         "--input=joined.fasta --output=sorted.fasta"

    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

2 entries across 2 versions & 1 rubygems

Version Path
lederhosen-0.1.4 lib/lederhosen/tasks/sort.rb
lederhosen-0.1.3 lib/lederhosen/tasks/sort.rb