Module: ViennaRna

Defined in:
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/mfpt.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/fftbor2d.rb,
lib/vienna_rna/package/rna2dfold.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

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