Class: ViennaRna::Package::FftMfpt

Inherits:
Base
  • Object
show all
Defined in:
lib/vienna_rna/package/fft_mfpt.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#data, #flags, #response, #runtime

Instance Method Summary collapse

Methods inherited from Base

bootstrap, #debugger, #initialize, #inspect, #serialize

Methods included from Global::ChainExtensions

included

Methods included from Global::RunExtensions

included

Constructor Details

This class inherits a constructor from ViennaRna::Package::Base

Instance Attribute Details

#mfptObject (readonly)

Returns the value of attribute mfpt.



9
10
11
# File 'lib/vienna_rna/package/fft_mfpt.rb', line 9

def mfpt
  @mfpt
end

Instance Method Details

#post_processObject



19
20
21
# File 'lib/vienna_rna/package/fft_mfpt.rb', line 19

def post_process
  @mfpt = response.to_f
end

#run_command(flags) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/vienna_rna/package/fft_mfpt.rb', line 11

def run_command(flags)      
  "%s %s %s" % [
    exec_name, 
    stringify_flags(flags), 
    data.temp_fa_file!
  ]
end