Sha256: 685d461e8f39eddf535bb2c795ea01586a438d63835a6840362396e2ac1a748e
Contents?: true
Size: 1.84 KB
Versions: 3
Compression:
Stored size: 1.84 KB
Contents
require "quorum/engine" require "quorum/helpers" require "quorum/sequence" require "quorum/version" require "resque" require "resque/server" require "resque-result" require "net/ssh" require "workers/system" module Quorum ## Supported Algorithms ## BLAST_ALGORITHMS = ["blastn", "blastx", "blastp", "tblastn"].freeze SUPPORTED_ALGORITHMS = [BLAST_ALGORITHMS] SUPPORTED_ALGORITHMS.flatten! mattr_accessor :max_sequence_size, :blast_remote, :blast_ssh_host, :blast_ssh_user, :blast_ssh_options, :blast_bin, :blast_log_dir, :blast_tmp_dir, :blast_db, :tblastn, :blastp, :blastn, :blastx, :blast_threads class << self ## General ## # Max input sequence size. def max_sequence_size @@max_sequence_size || 50.kilobytes end ## Blast ## # Execute remotely. def blast_remote @@blast_remote || false end # Net::SSH host. def blast_ssh_host @@blast_ssh_host || nil end # Net::SSH user. def blast_ssh_user @@blast_ssh_user || nil end # Net::SSH options. def blast_ssh_options @@blast_ssh_options || {} end # Blast bin path. def blast_bin @@blast_bin || nil end # Blast log dir path. def blast_log_dir @@blast_log_dir || nil end # Blast tmp dir path. def blast_tmp_dir @@blast_tmp_dir || nil end # Blast database path. def blast_db @@blast_db || nil end # tblastn directories. def tblastn @@tblastn || [] end # blastp directories. def blastp @@blastp || [] end # blastn directories. def blastn @@blastn || [] end # blastx directories. def blastx @@blastx || [] end # Number of Blast threads. def blast_threads @@blast_threads || 1 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quorum-0.8.2 | lib/quorum.rb |
quorum-0.8.1 | lib/quorum.rb |
quorum-0.8.0 | lib/quorum.rb |