Class: Bio::Velvet::Result
- Inherits:
-
Object
- Object
- Bio::Velvet::Result
- Defined in:
- lib/bio-velvet/runner.rb
Instance Attribute Summary collapse
-
#result_directory ⇒ Object
Returns the value of attribute result_directory.
-
#velvetg_stderr ⇒ Object
Returns the value of attribute velvetg_stderr.
-
#velvetg_stdout ⇒ Object
Returns the value of attribute velvetg_stdout.
-
#velveth_stderr ⇒ Object
Returns the value of attribute velveth_stderr.
-
#velveth_stdout ⇒ Object
Returns the value of attribute velveth_stdout.
Instance Method Summary collapse
-
#contigs_path ⇒ Object
Path to the contigs.fa output from velvetg.
-
#last_graph(options = nil) ⇒ Object
Return a Bio::Velvet::Graph object built from the LastGraph file.
-
#last_graph_path ⇒ Object
Path to the LastGraph output from velvetg.
-
#stats_path ⇒ Object
Path to the stats.txt output from velvetg.
Instance Attribute Details
#result_directory ⇒ Object
Returns the value of attribute result_directory.
118 119 120 |
# File 'lib/bio-velvet/runner.rb', line 118 def result_directory @result_directory end |
#velvetg_stderr ⇒ Object
Returns the value of attribute velvetg_stderr.
117 118 119 |
# File 'lib/bio-velvet/runner.rb', line 117 def velvetg_stderr @velvetg_stderr end |
#velvetg_stdout ⇒ Object
Returns the value of attribute velvetg_stdout.
117 118 119 |
# File 'lib/bio-velvet/runner.rb', line 117 def velvetg_stdout @velvetg_stdout end |
#velveth_stderr ⇒ Object
Returns the value of attribute velveth_stderr.
116 117 118 |
# File 'lib/bio-velvet/runner.rb', line 116 def velveth_stderr @velveth_stderr end |
#velveth_stdout ⇒ Object
Returns the value of attribute velveth_stdout.
116 117 118 |
# File 'lib/bio-velvet/runner.rb', line 116 def velveth_stdout @velveth_stdout end |
Instance Method Details
#contigs_path ⇒ Object
Path to the contigs.fa output from velvetg
126 127 128 |
# File 'lib/bio-velvet/runner.rb', line 126 def contigs_path File.join result_directory, 'contigs.fa' end |
#last_graph(options = nil) ⇒ Object
Return a Bio::Velvet::Graph object built from the LastGraph file. The options for parsing are as per Bio::Velvet::Graph#parse_from_file
137 138 139 |
# File 'lib/bio-velvet/runner.rb', line 137 def last_graph(=nil) Bio::Velvet::Graph.parse_from_file(last_graph_path, ) end |
#last_graph_path ⇒ Object
Path to the LastGraph output from velvetg
121 122 123 |
# File 'lib/bio-velvet/runner.rb', line 121 def last_graph_path File.join result_directory, 'LastGraph' end |
#stats_path ⇒ Object
Path to the stats.txt output from velvetg
131 132 133 |
# File 'lib/bio-velvet/runner.rb', line 131 def stats_path File.join result_directory, 'stats.txt' end |