Module: Quorum

Defined in:
lib/quorum.rb,
lib/quorum/engine.rb,
lib/quorum/helpers.rb,
lib/quorum/version.rb,
lib/quorum/sequence.rb,
app/models/quorum/job.rb,
app/models/quorum/job_data.rb,
app/models/quorum/blastn_job.rb,
app/models/quorum/blastp_job.rb,
app/models/quorum/blastx_job.rb,
app/models/quorum/tblastn_job.rb,
lib/generators/templates/blast.rb,
lib/generators/templates/logger.rb,
app/models/quorum/job_fetch_data.rb,
app/models/quorum/job_serializer.rb,
lib/tasks/blastdb/build_blast_db.rb,
lib/generators/templates/blast_db.rb,
app/models/quorum/blastn_job_report.rb,
app/models/quorum/blastp_job_report.rb,
app/models/quorum/blastx_job_report.rb,
app/models/quorum/job_queue_service.rb,
app/models/quorum/tblastn_job_report.rb,
app/helpers/quorum/application_helper.rb,
app/models/quorum/job_report_searcher.rb,
lib/generators/quorum/views_generator.rb,
app/controllers/quorum/jobs_controller.rb,
lib/generators/quorum/images_generator.rb,
lib/generators/quorum/styles_generator.rb,
app/observers/quorum/job_queue_observer.rb,
lib/generators/quorum/install_generator.rb,
app/controllers/quorum/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, FetchTools, Generators, Helpers, JobReportSearcher, JobSerializer, SearchTools, Sequence Classes: ApplicationController, BlastnJob, BlastnJobReport, BlastpJob, BlastpJobReport, BlastxJob, BlastxJobReport, BuildBlastDB, Engine, Job, JobData, JobFetchData, JobQueueObserver, JobQueueService, JobsController, Logger, TblastnJob, TblastnJobReport

Constant Summary collapse

BLAST_ALGORITHMS =

Supported Algorithms ##

["blastn", "blastx", "blastp", "tblastn"].freeze
SUPPORTED_ALGORITHMS =
[BLAST_ALGORITHMS]
VERSION =
"0.8.2"

Class Method Summary collapse

Class Method Details

.blast_binObject

Blast bin path.



55
56
57
# File 'lib/quorum.rb', line 55

def blast_bin
  @@blast_bin || nil
end

.blast_dbObject

Blast database path.



70
71
72
# File 'lib/quorum.rb', line 70

def blast_db
  @@blast_db || nil
end

.blast_log_dirObject

Blast log dir path.



60
61
62
# File 'lib/quorum.rb', line 60

def blast_log_dir
  @@blast_log_dir || nil
end

.blast_remoteObject

Execute remotely.



35
36
37
# File 'lib/quorum.rb', line 35

def blast_remote
  @@blast_remote || false
end

.blast_ssh_hostObject

Net::SSH host.



40
41
42
# File 'lib/quorum.rb', line 40

def blast_ssh_host
  @@blast_ssh_host || nil
end

.blast_ssh_optionsObject

Net::SSH options.



50
51
52
# File 'lib/quorum.rb', line 50

def blast_ssh_options
  @@blast_ssh_options || {}
end

.blast_ssh_userObject

Net::SSH user.



45
46
47
# File 'lib/quorum.rb', line 45

def blast_ssh_user
  @@blast_ssh_user || nil
end

.blast_threadsObject

Number of Blast threads.



95
96
97
# File 'lib/quorum.rb', line 95

def blast_threads
  @@blast_threads || 1
end

.blast_tmp_dirObject

Blast tmp dir path.



65
66
67
# File 'lib/quorum.rb', line 65

def blast_tmp_dir
  @@blast_tmp_dir || nil
end

.blastnObject

blastn directories.



85
86
87
# File 'lib/quorum.rb', line 85

def blastn
  @@blastn || []
end

.blastpObject

blastp directories.



80
81
82
# File 'lib/quorum.rb', line 80

def blastp
  @@blastp || []
end

.blastxObject

blastx directories.



90
91
92
# File 'lib/quorum.rb', line 90

def blastx
  @@blastx || []
end

.max_sequence_sizeObject

Max input sequence size.



28
29
30
# File 'lib/quorum.rb', line 28

def max_sequence_size
  @@max_sequence_size || 50.kilobytes
end

.tblastnObject

tblastn directories.



75
76
77
# File 'lib/quorum.rb', line 75

def tblastn
  @@tblastn || []
end