Sha256: ec74402c967f1c728c51045894f3447ec0f4cf356c93c3623a6453ce6a6502ab

Contents?: true

Size: 718 Bytes

Versions: 2

Compression:

Stored size: 718 Bytes

Contents

##
# IDENTIFY CLUSTERS IN A TAXCOLLECTOR DATABASE
#

module Lederhosen
  class CLI

    desc "name",
         "identify representative reads in a TaxCollector database using BLAT"

    method_option :reps,     :type => :string, :required => true
    method_option :database, :type => :string, :required => true
    method_option :output,   :type => :string, :required => true

    def name
      reps     = options[:reps]
      database = options[:database]
      output   = options[:output]

      # run blat/blast
      cmd = [
        'blat',
        database,
        reps,
        '-t=dna',
        '-q=dna',
        '-out=blast8',
        output      
      ]
      
      exec cmd.join(' ')

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lederhosen-0.1.6 lib/lederhosen/tasks/name.rb
lederhosen-0.1.5 lib/lederhosen/tasks/name.rb