Module: NeuroHmmerApp::RunNeuroHmmer
- Extended by:
- Forwardable
- Defined in:
- lib/neurohmmerapp/neurohmmer.rb
Overview
Module that runs NeuroHmmer
Defined Under Namespace
Classes: ArgumentError, RuntimeError
Class Attribute Summary collapse
-
.gv_dir ⇒ Object
readonly
Returns the value of attribute gv_dir.
-
.input_file ⇒ Object
readonly
Returns the value of attribute input_file.
-
.params ⇒ Object
readonly
Returns the value of attribute params.
-
.raw_seq ⇒ Object
readonly
Returns the value of attribute raw_seq.
-
.unique_id ⇒ Object
readonly
Returns the value of attribute unique_id.
-
.xml_file ⇒ Object
readonly
Returns the value of attribute xml_file.
Class Method Summary collapse
-
.init(_base_url, params) ⇒ Object
Setting the scene.
-
.run ⇒ Object
Runs genevalidator & Returns parsed JSON, or link to JSON/results file.
Class Attribute Details
.gv_dir ⇒ Object (readonly)
Returns the value of attribute gv_dir.
27 28 29 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 27 def gv_dir @gv_dir end |
.input_file ⇒ Object (readonly)
Returns the value of attribute input_file.
27 28 29 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 27 def input_file @input_file end |
.params ⇒ Object (readonly)
Returns the value of attribute params.
27 28 29 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 27 def params @params end |
.raw_seq ⇒ Object (readonly)
Returns the value of attribute raw_seq.
27 28 29 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 27 def raw_seq @raw_seq end |
.unique_id ⇒ Object (readonly)
Returns the value of attribute unique_id.
27 28 29 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 27 def unique_id @unique_id end |
.xml_file ⇒ Object (readonly)
Returns the value of attribute xml_file.
27 28 29 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 27 def xml_file @xml_file end |
Class Method Details
.init(_base_url, params) ⇒ Object
Setting the scene
30 31 32 33 34 35 36 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 30 def init(_base_url, params) create_unique_id create_run_dir @params = params validate_params # @url = produce_result_url_link(base_url) end |
.run ⇒ Object
Runs genevalidator & Returns parsed JSON, or link to JSON/results file
39 40 41 42 |
# File 'lib/neurohmmerapp/neurohmmer.rb', line 39 def run write_seqs_to_file run_neurohmmer end |