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.
86 87 88 |
# File 'lib/bio-velvet/runner.rb', line 86 def result_directory @result_directory end |
#velvetg_stderr ⇒ Object
Returns the value of attribute velvetg_stderr.
85 86 87 |
# File 'lib/bio-velvet/runner.rb', line 85 def velvetg_stderr @velvetg_stderr end |
#velvetg_stdout ⇒ Object
Returns the value of attribute velvetg_stdout.
85 86 87 |
# File 'lib/bio-velvet/runner.rb', line 85 def velvetg_stdout @velvetg_stdout end |
#velveth_stderr ⇒ Object
Returns the value of attribute velveth_stderr.
84 85 86 |
# File 'lib/bio-velvet/runner.rb', line 84 def velveth_stderr @velveth_stderr end |
#velveth_stdout ⇒ Object
Returns the value of attribute velveth_stdout.
84 85 86 |
# File 'lib/bio-velvet/runner.rb', line 84 def velveth_stdout @velveth_stdout end |
Instance Method Details
#contigs_path ⇒ Object
Path to the contigs.fa output from velvetg
94 95 96 |
# File 'lib/bio-velvet/runner.rb', line 94 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
105 106 107 |
# File 'lib/bio-velvet/runner.rb', line 105 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
89 90 91 |
# File 'lib/bio-velvet/runner.rb', line 89 def last_graph_path File.join result_directory, 'LastGraph' end |
#stats_path ⇒ Object
Path to the stats.txt output from velvetg
99 100 101 |
# File 'lib/bio-velvet/runner.rb', line 99 def stats_path File.join result_directory, 'stats.txt' end |