Module: ViennaRna

Defined in:
lib/vienna_rna/package/mfpt.rb,
lib/vienna_rna.rb,
lib/vienna_rna/global/rna.rb,
lib/vienna_rna/graphing/r.rb,
lib/vienna_rna/package/base.rb,
lib/vienna_rna/package/eval.rb,
lib/vienna_rna/package/fold.rb,
lib/vienna_rna/package/heat.rb,
lib/vienna_rna/package/plot.rb,
lib/vienna_rna/package/xbor.rb,
lib/vienna_rna/global/parser.rb,
lib/vienna_rna/package/fftbor.rb,
lib/vienna_rna/package/rnabor.rb,
lib/vienna_rna/package/subopt.rb,
lib/vienna_rna/package/fft_mfpt.rb,
lib/vienna_rna/package/fftbor2d.rb,
lib/vienna_rna/package/spectral.rb,
lib/vienna_rna/package/kinwalker.rb,
lib/vienna_rna/package/rna2dfold.rb,
lib/vienna_rna/package/tabu_path.rb,
lib/vienna_rna/package/ffthairpin.rb,
lib/vienna_rna/package/population.rb,
lib/vienna_rna/package/fftmultiloop.rb,
lib/vienna_rna/global/rna_extensions.rb,
lib/vienna_rna/global/run_extensions.rb,
lib/vienna_rna/package/energy_grid_2d.rb,
lib/vienna_rna/global/chain_extensions.rb

Overview

Maybe add something like flagsets so that common option groups can be combined together. Also, add a rerun feature.

Defined Under Namespace

Modules: Global, Graphing, Package

Constant Summary collapse

RT =

kcal / K / mol @ 37C

1e-3 * 1.9872041 * (273.15 + 37)

Class Method Summary collapse

Class Method Details

.debugObject



49
50
51
# File 'lib/vienna_rna.rb', line 49

def self.debug
  @debug
end

.debug=(value) ⇒ Object



53
54
55
# File 'lib/vienna_rna.rb', line 53

def self.debug=(value)
  @debug = value
end

.debuggerObject



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

def self.debugger
  STDERR.puts yield if ViennaRna.debug
end

.deserialize(string) ⇒ Object



41
42
43
# File 'lib/vienna_rna.rb', line 41

def self.deserialize(string)
  YAML.load(File.exist?(string) ? File.read(string) : string)
end